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

Hello odoo folks,

Please someone could help me to call the following method correctly "

action_create_payments

":

models.execute_kw(db, uid, password, 'account.payment.register', 'action_create_payments', [])



Below is what I have already done above my issue and it works well :

invoice_id = models.execute_kw(db, uid, password, 'account.move', 'create', [invoice])

    r = models.execute_kw(db, uid, password, 'account.move', 'action_post', [invoice_id])

    payment_register = models.execute_kw(db, uid, password, 'account.move', 'action_register_payment', [invoice_id])

頭像
捨棄
最佳答案

Hi, please check this: https://youtu.be/Cmbo2iGuTBY 
Hope it helps.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
7月 25
167
0
7月 23
2775
0
6月 22
2088
1
3月 20
4766
0
12月 24
603