Skip to Content
Menú
This question has been flagged
1 Respondre
4056 Vistes

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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
6
de febr. 24
11872
1
de jul. 25
228
2
de jul. 25
443
1
de jul. 25
1505
3
d’abr. 25
1583