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

Hello,


Where i find the code that fill field line_ids (account.move) odoo 16


i need to change calculation of tax_base_amount


Thank you

الصورة الرمزية
إهمال
أفضل إجابة

Hi,


In Odoo 16, the line_ids field on the account.move model (used for invoices, bills, etc.) is a One2many relation to the account.move.line model. The field responsible for computing tax-related values, including tax_base_amount, is handled mainly in the accounting and tax engine, and is triggered during the creation or modification of invoice lines and taxes.


line_ids is defined like this in account.move:



Hope it helps

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 24
1201
0
يوليو 24
1138
1
مايو 25
1140
1
أبريل 25
136
0
نوفمبر 24
1661