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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
5028
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Nov 23
|
531 | ||
|
4
Dec 22
|
20430 | ||
|
2
May 21
|
9624 | ||
|
0
Oct 24
|
134 | ||
|
3
Dec 19
|
6727 |