Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4072 Widoki

Hi, I want to create/register invoice payment by coding on clicking by custom module button not from the "Register Payment" button on Invoice form view or from list view.How can it done by coding?

Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

    You can achieve this by calling the function for validate in register payment and passing the required arguments in action for your created button.

example for calling function of another model self.env['sale.order'].function_name()

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
6
lut 24
11886
1
lip 25
324
2
lip 25
516
1
lip 25
1561
3
kwi 25
1645