Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4074 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
6
feb. 24
11887
1
jul. 25
333
2
jul. 25
524
1
jul. 25
1572
3
apr. 25
1649