Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4094 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
6
feb 24
11889
1
lug 25
400
2
lug 25
581
1
lug 25
1648
3
apr 25
1705