跳至内容
菜单
此问题已终结
1 回复
4073 查看

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?

形象
丢弃
最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
6
2月 24
11886
1
7月 25
324
2
7月 25
516
1
7月 25
1561
3
4月 25
1645