Tuesday, May 11, 2021
2 changes · master
Resolved issues and error corrections
Purchase orders now use the correct statuses for visual highlighting in list views. This fixes misleading or missing color cues, helping users more easily identify draft and sent purchase orders.
Original PR description
Trivial patch.
Set correct ``decoration-info`` attribute on ``purchase.order`` tree view, replacing unexisting states ``('wait','confirmed')`` by existing ones ``('draft','sent')``
See list of valid states : https://github.com/odoo/odoo/blob/master/addons/purchase/models/purchase.py#L97
Note : this bug is present since at least V12.0
CC : @Yenthe666, @quentindupont
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis change supports a broader effort to reduce the memory used by Odoo's internal registry, helping the system run more efficiently. It fixes how document field links are stored so the documents app remains compatible with that optimization without changing user-facing workflows.
Original PR description
Companion of https://github.com/odoo/odoo/pull/70402