hungarodo / odoohu-plus

Odoo HU
https://hungarodo.hu/odoohu
Other
2 stars 0 forks source link

Item net price is incorrect when price_include=True in account.tax model #11

Open monolithonadmin opened 1 month ago

monolithonadmin commented 1 month ago

When the price_include field is set to True on the account.tax model, the calculated net price on the sale order/invoice line is incorrect and we got a warning message from NAV (3.0).

Screenshot (2) Screenshot (1) Screenshot (3)

gezzzan commented 1 month ago

NAV specification: image

gezzzan commented 1 month ago

Odoo 17.0: https://github.com/odoo/odoo/blob/300a20b880f407b8f2374fb3944197eed16adfbc/addons/l10n_hu_edi/models/account_move.py#L895

gezzzan commented 1 month ago

sample: image

gezzzan commented 1 month ago

Odoo issue: https://github.com/odoo/odoo/issues/181773