跳至內容
選單
此問題已被標幟
1 回覆
4079 瀏覽次數

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
11888
1
7月 25
364
2
7月 25
552
1
7月 25
1616
3
4月 25
1677