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])
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1945
Vues
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
2
sept. 24
|
1498 | ||
|
0
sept. 24
|
824 | ||
|
1
mai 23
|
2532 | ||
|
1
mai 24
|
4136 | ||
|
2
mai 24
|
1873 |