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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
when i want to change the quantity of an invoice line in draft invoice from python , I got the error Message
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 !
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.