Daily updates from Odoo
Wednesday, July 17, 2024
3 changes
Code cleanup and technical improvements
This change removes an obsolete testing setting that is no longer used in guided web tour steps. It simplifies maintenance across several Odoo apps without changing day-to-day user functionality.
Original PR description
Until 6dbdc8c69eab2aaa6e9652a70254458fe466f791, allowDisabled key in step tour structure is no longer used. In this commit, we remove dead code. task~3974087 https://github.com/odoo/odoo/pull/173198
This update simplifies how guided tour steps are defined in several Odoo modules by removing an alternative trigger field and using standard selectors instead. It is an internal cleanup that should make future maintenance easier without changing the user experience.
Original PR description
In this commit, we remove the alt_trigger key from the structure of a tour step. For all cases in codebase, only adding a comma to selector is enough. task~3974087 https://github.com/odoo/odoo/pull/173096
This update prepares automated business workflow tests for a simpler way to identify pop-up windows. It reduces duplicated test configuration across several apps without changing the user-facing behavior of those apps.
Original PR description
In order to simplify the structure of a tour step, it was decided to remove the "in_modal" key. The purpose of this key is to search for the trigger in a modal element. But actually you just need to add ".modal" to the selector. This functionality therefore really has little added value. That's why we're removing it. In this commit, we prepare the ground to be able to remove this functionality by adding .modal to the selectors and forcing the fact of not looking in a modal (in_modal: false) otherwise that would be duplicative. task~3974087 https://github.com/odoo/odoo/pull/172081