Friday, May 28, 2021
1 change · master
Resolved issues and error corrections
The point of sale test was updated to match a recent change in how number entry popups handle empty values. This prevents the automated test from timing out and helps keep development checks reliable without changing customer-facing behavior.
Original PR description
A fix was made in https://github.com/odoo/odoo/pull/66466 to consider the situation where pin of employee is scanned using barcode. This results to a change in behaviour in the NumberPopup where it no longer accepts empty string as payload when it is confirmed. There are multiple ways to solve this issue, and the simplest is just to adapt the test following the behavior change. In this fix, we modify the starting value of the popup so that when confirmed, the popup successfully resolves. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr