Daily updates from Odoo
Friday, July 5, 2024
1 change · master
Code cleanup and technical improvements
This update prepares automated test tours for a simpler step format by replacing a special modal-search option with direct modal selectors. It is an internal cleanup that helps reduce maintenance complexity without changing day-to-day user behavior.
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/171709