Daily updates from Odoo
Friday, March 28, 2025
1 change · master
Enhancements to existing features
This update streamlines how several Odoo screens reuse and adjust existing view settings. It makes future changes easier to maintain and reduces the chance that updates in a parent screen are missed in related screens.
Original PR description
This commit uses the `|` operator introduced in odoo/odoo#198551 to simplify fields' context and options in views. This improvement increases: - readability: as it is more obvious what keys are added/modified by the XPath, and - maintainability: as previously, any modifications to the parent view needed to be applied to the child views as well to have an effect.