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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
2074
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 9 24
|
1652 | ||
|
0
thg 9 24
|
901 | ||
|
1
thg 5 23
|
2651 | ||
|
1
thg 5 24
|
4625 | ||
|
2
thg 5 24
|
2033 |