Thursday, October 31, 2024
1 change · 18.0
Code cleanup and technical improvements
This update reorganizes how automated web tours handle their steps so the underlying automation system is easier to maintain. It also improves completion, error, and timeout handling, which should make automated guided flows and tests more reliable.
Original PR description
In this commit, we move the methods from tour_step_automatic to tour_automatique so that it better responds to the macro.js API. In the latter, we add an onComplete method and use the onError and onTimeout methods to handle errors that could occur in a tour. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr