Thursday, February 20, 2025
1 change · 18.0
Code cleanup and technical improvements
This change streamlines how the web automation system handles failures by treating timeouts as a standard type of error. It reduces internal complexity and should make automated tours and related web behavior easier to maintain without changing day-to-day user workflows.
Original PR description
In this commit, we simplify the macro API by removing onTimeout() and keeping only onError(). Timeout is ultimately just one type of error that can happen in macro.js. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr