summaryrefslogtreecommitdiff
path: root/addons/l10n_es
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-09-16 10:53:12 +0000
committerXavier Morel <xmo@odoo.com>2020-09-16 10:53:12 +0000
commit7a1dc71186d00ece21cede205a045fa93cd6dcfb (patch)
tree490fee723cc2f23581d82a03ab57af547aa5bcd5 /addons/l10n_es
parent57d595e87642fa6f7bec62cbb88a39c35cc72589 (diff)
[IMP] auth_totp: reliability of tour
On runbot the tour shows transient failures related to race conditions. The issue here is that when a user updates their own TOTP status, if hr is not installed this will close the Preferences dialog requiring reopening the dialog in order to check that everything worked. However if hr is installed there is no dialog ("My Profile" opens as a full action, which will not disappear on TOTP updates). We still reopen the My Profile action, but if the server is a bit too slow the tour may see the "old" version of "My Profile" which has not been unloaded, click the tab to go to the next step, but because it's already there the action has no effect, the next step is triggered when "My Profile" finally (re)loads at which point we're back on the first tab while the tour believes it should be on the second, and the tour breaks. Fix this by forcing a full reload of the action: between updating TOTP status and checking for the status change, navigate to the Discuss application then back to the preferences / profile screen. closes odoo/odoo#57826 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/l10n_es')
0 files changed, 0 insertions, 0 deletions