Skip to Content
Menu
This question has been flagged

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. 

Avatar
Discard
Best Answer

Hello Mr. Alex,

Pass check_move_validity=False as a context while updating move.

Thanks,

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 23
1536
4
Dec 22
22408
2
May 21
11257
0
Oct 24
189
3
Dec 19
8625