summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/tools/debug_manager_backend.js
AgeCommit message (Collapse)Author
2020-11-06[IMP] web: extract logic to update debug manager actionNicolas Galler
Small refactoring to allow calling the method to update the debug manager action independently from `current_action_updated`. Needed for 3d80ff9998dd402ac48d280e5d6b81aaf91b6180. opw-2365539 closes odoo/odoo#61489 X-original-commit: c4e1cfc527cf65fdad201b77e54bf7027b8dd6c2 Related: odoo/enterprise#14634 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-03-13[REF] web: Adapt views/actions to new control panelJulien Mougenot
Some web actions/controllers/viewsl have been adapted to properly instantiate the newly refactored control panel and update it accordingly. We needed to adapt the starting mechanism of actions and controllers to ensure that the control panel instantiation did not delay the loading of any widget. Part of task 2196029 Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2020-03-04[IMP] web: Add quick security access to debug menuLucas Lefèvre
PURPOSE Debugging access issues can quickly be a pain. The goal is to allow to easily debug an access rights issue from the debug tools. SPECIFICATION In the debug tools, add the following two new items: - View Access Rights - View Record Rules closes odoo/odoo#46906 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-15[IMP] uom: Remove parentheses on uom namesYannick Tivisse
Purpose ======= Parentheses in the label of units of measure sometimes make reading needlessly uncomfortable. Specification ============= Remove parentheses in the name of every standard uom.uom and hardcoded occurence on views/field names. TaskID: 2030444 closes odoo/odoo#34492 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-06-05[IMP] *: use new helper config.isDebug()Romain Derie
Before this commit, both config and session were aliases to odoo.debug. Now, config.isDebug() should be call, with possibility to pass a parameter to check if we are in a specific debug mode such as 'tests' or 'assets'. task-1934445 Coming with https://github.com/odoo/enterprise/pull/4281 Closes https://github.com/odoo/odoo/pull/33213
2019-06-05[IMP] *: add debug manager in frontendRomain Derie
Now that the debug mode is stored in session, we need a clear indication that debug mode is activated. In backend, the 'fa-bug' is doing the trick but in frontend there is no visible clue that debug mode is enabled. This commit separate the debug manager code/feature so we can instanciate it in frontend only with usefull options (such as enable assets, leave debug mode..). Now, in frontend, people having access to the navbar (o_main_navbar) will see the same 'fa-bug' icon with minimal options as mentioned above. Also, in the footer, there will be another 'fa-bug' icon without any options. It will be usefull when the navbar is not shown, typically the case for public user, or for portal (without website installed)). Clicking on it will simply leave debug mode as hinted in tooltip. task-1934445 Comes with https://github.com/odoo/enterprise/pull/4281 Closes #33213
2019-06-05[IMP] web: rename file to prepare changes on next commitRomain Derie
As this file will be split in 2 parts, this will minimize diff. task-1934445 Comes with odoo/enterprise#4281 Closes #33213