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