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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
6199
Vistas
Hello Mr. Alex,
Pass check_move_validity=False as a context while updating move.
Thanks,
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
nov 23
|
1558 | ||
|
4
dic 22
|
22467 | ||
|
2
may 21
|
11288 | ||
|
0
oct 24
|
189 | ||
|
3
dic 19
|
8666 |