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

I have a module that create new tax tpinvoice for cash payment mode; it worked well on odoo15, but when i installed it on odoo16,  i got this error:

ValueError: Invalid field 'exclude_from_invoice_tab' on model 'account.move.line'

when i delete the line,

'exclude_from_invoice_tab': True,

the code worked normally, and the tax appears on the journal items, but the journal not balanced (the tax amount not added to account receivable), 

it seams exclud_from_invoice_tab is not exist in odoo 16, how to change; So, my code work corrctly

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 24
1839
1
يوليو 23
1250
4
مارس 15
11219
TAX 15% تم الحل
1
أبريل 24
2631
2
يوليو 24
2490