Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4095 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď

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()

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
6
úno 24
11889
1
čvc 25
403
2
čvc 25
584
1
čvc 25
1656
3
dub 25
1709