Monday, December 27, 2021
2 changes · master
Resolved issues and error corrections
This update changes how Odoo imports records with nested line items so existing linked lines are not unnecessarily removed and recreated. It helps prevent important tax report tags from being wiped during module updates, reducing the risk of incorrect tax and journal item data after localization updates.
Original PR description
if there is the child then write vals is created like {'field_o2m_name': None} so it removes lines and adds them again by sub_records
so in this commit, we do not add f_name in vals if there is a child of o2m
this give a big effect on account.tax.report to check just update any localization module where account.tax.report is there, after the update all tag is removed from taxes and journal items(account.move.line)
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThe journal filter has been restored on accounting reports after it was accidentally removed. This lets users narrow report results by journal again, helping finance teams review the right transactions more easily.
Original PR description
This filter has been wrongly removed by https://github.com/odoo/enterprise/commit/16c3de3e123e622143f2e53479d48db93d6b2621