Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1382 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

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

Trigger this function will resolve your issue.

Thanks

Avatar
Abbandona

Thanks @Raphy !