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
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
1929
Widoki
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
wrz 24
|
1491 | ||
|
0
wrz 24
|
809 | ||
|
1
maj 23
|
2520 | ||
|
1
maj 24
|
4090 | ||
|
2
maj 24
|
1819 |