Files
odoo_source/addons/account/models
Andrea Grazioso (agr-odoo) 64b9269b9b [FIX] account: no force lock date after deleting tax line
Open Accounting app, go to Accounting>"Lock Dates" and set a "Tax Lock
Date". Now create a Vendor Bill with invoice date prior to the tax lock
date, add a line, Odoo will display a warning. Remove the Tax from the
line, save.

The accounting date will be forced to tax_lock_date + 1 which should be
not the case since the order is without tax.

Adding a check to force the tax only when tax line ids are present.

opw-2115547

closes odoo/odoo#40570

X-original-commit: 8083f103287b7632351e06de6c48bf3ea32d90aa
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-11-20 15:00:41 +00:00
..
…