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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
998
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Sep 24
|
171 | ||
|
0
Sep 24
|
104 | ||
|
1
May 23
|
1226 | ||
|
1
May 24
|
1141 | ||
|
2
May 24
|
451 |