Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1516 Zobrazení

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

Avatar
Zrušit
Nejlepší odpověď

Hi,

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

Trigger this function will resolve your issue.

Thanks

Avatar
Zrušit

Thanks @Raphy !