Skip to Content
Menu
This question has been flagged
1 Reply
4284 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
6
Feb 24
12186
1
Jul 25
1074
2
Jul 25
1222
1
Jul 25
2323
3
Apr 25
2207