I am trying to update the debit and credit values of a cancelled journal entry via python. When I update the journal item values, I run into the error "Cannot create unbalanced journal entry", as Odoo isn't updating my journal items at the same time. Not sure how to write to multiple journal items simultaneously within Odoo.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
6173
Vistes
Hello Mr. Alex,
Pass check_move_validity=False as a context while updating move.
Thanks,
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
0
de nov. 23
|
1535 | ||
|
4
de des. 22
|
22403 | ||
|
2
de maig 21
|
11257 | ||
|
0
d’oct. 24
|
189 | ||
|
3
de des. 19
|
8623 |