Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1511 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

Trigger this function will resolve your issue.

Thanks

Awatar
Odrzuć

Thanks @Raphy !