Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
214 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 24
1153
0
lip 24
1103
1
maj 25
1088
1
kwi 25
136
0
lis 24
1621