odoo icon indicating copy to clipboard operation
odoo copied to clipboard

[FIX] web: fix menus and user language mismatch

Open lade-odoo opened this issue 1 year ago • 1 comments

Steps to reproduce the issue:

  • Have 2 different authenticated browser (one as admin and one as demo)
  • With the demo browser, change your own language to French -> Reload the main menu page
  • With the admin browser, update the demo user language from the Settings to English
  • Reload the page on the demo browser, the menus will have stayed in French while the rest of the page is translated in English

Details:

  • Only the first query after the following step will have an issue, the problem corrects itself on the second refresh.
  • Could not reproduce on the runbot but could do it locally and on Odoo.SH (in 16.0) and on odoo.com free database (18.0).

This issue was already discussed more than a year ago (https://github.com/odoo/odoo/pull/110207) but was finally closed without being merged. The problem can now be fully reproduced while previously, it was a bit blurry.

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

lade-odoo avatar Oct 07 '24 14:10 lade-odoo

Pull request status dashboard

robodoo avatar Oct 07 '24 14:10 robodoo