Ir al contenido
Menú
Se marcó esta pregunta
2120 Vistas

Via the External API we are able to add journal entries. We provide the tax ids in the lines, but Odoo doesn't automatically calculates the tax. In the journal entry in Odoo it shows the correct tax for each line. 
We tried by providing also the lines for tax, but that doesn't work either. 

Is there some sort of flag we need to send across in our code to do this?

The journal is created via this line:
je_id = models.execute_kw(account["odoo"]["dbname"], uid, account["odoo"]["password"], 'account.move', 'create', [journal])

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
sept 24
1719
0
sept 24
973
1
may 23
2705
1
may 24
4928
2
may 24
2139