تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1942 أدوات العرض

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])

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
سبتمبر 24
1498
0
سبتمبر 24
824
1
مايو 23
2531
1
مايو 24
4132
2
مايو 24
1866