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

when i want to change the quantity of an invoice line in draft invoice from python , I got the error Message 

User Error

×

Cannot create unbalanced journal entry. Ids: [20] Differences debit - credit: [16085.19]

Please Help

頭像
捨棄
最佳答案

Hi,

After changing the quantity from python, just trigger this function:  _recompute_dynamic_lines

Trigger this function will resolve your issue.

Thanks

頭像
捨棄

Thanks @Raphy !