Ir al contenido
Menú
Se marcó esta pregunta

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
Descartar
Mejor respuesta

Hello Mr. Alex,

Pass check_move_validity=False as a context while updating move.

Thanks,

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
nov 23
1558
4
dic 22
22460
2
may 21
11285
0
oct 24
189
3
dic 19
8662