summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/debug_manager.js
AgeCommit message (Collapse)Author
2016-09-28[IMP] web: trigger event when changing actionMartin Geubelle
This comportement was added in the DebugManager to trigger an event. As this event could be useful in other situations (e.g. studio), we trigger the event directly in the ActionManager. By default, the WebClient does not use this event but an handler is added to be overwritten. This handler is overwritten in some widgets (DebugManager, Studio, etc.) that requires the Systray items instances so we add them in ´widgets´ in the Systray Menu. As the module dashboard uses multiple ActionManager, the event bubbling should be avoided in this case.
2016-09-02[IMP] web, website: adapt tour launching to new systemqsm-odoo
* The debug manager contains a feature to launch tours, adapt it to new web_tour.tour system * The website help menu allowed to relaunch tutorial tour in debug mode. This feature is not adapted to new tour system and was useless in the first place (debug mode in frontend is barely used anyway). -> remove the website help menu and the feature
2016-07-15[MERGE] forward port branch saas-11 up to a62b8cfChristophe Simonis
2016-07-12[FIX] web: debug_manager: update when coming back with breadcrumbsAaron Bohy
Before this rev., the debug manager's state was only updated when pushing a new action but not when coming back to a previous action using the breadcrumbs. So when the latter case happened, the debug manager was desynchronized with the action manager and it allowed to edit an action that wasn't the current action.
2016-06-16[ADD] web: is_admin key of session_info into page sourceAaron Bohy
2016-05-09[FIX] web: fix bug introduced by fwp of #8aee65 and merge web clientJeremy Kersten
2016-04-25[MERGE] forward port of branch saas-10 up to bb8f0f1Christophe Simonis
2016-04-21[REF] web: stop duplicating webAaron Bohy
Avoid duplicating web addon in enterprise by extracting a common basis. Enterprise features stay in enterprise, but use that common basis. Mainly: - JS refactoring and linting - Conversion of .sass into .less split into multiple files - Templates cleaning and DOM simplification - Re-generation of web.pot, and update of .po files
2016-04-15[FIX] web: don't display view metadata for new recordJeremy Kersten
Close #11584
2016-03-09[IMP] base,openerp,web: add debug mode === 'assets' and don't split assets ↵Géry Debongnie
by default This is a rather large change for developers: from this commit on, we need to use debug=assets instead of just debug to split assets. The About menu has been slightly improved as well (the link does not appear when we are already in debug mode), and an option has been added in the debugging menu to activate the assets debugging mode.
2016-01-20[FIX] web: technical translations menuMartin Trigaux
The action "Technical Translations" was not retrieving the correct translations. Since 9.0, the translations names no longer contains the name of the model (in the form "field:<model>,<name>") but are records on ir.model.fields (in the form "model:ir.model.fields,field_description:<model>_<name>"). The translations of type selection are style a different type (type 'selection'). Create a method that will find the linked fields and retrieve the correct translations. Fixes tw:reis_pt/status/687419541199187969
2015-08-17[FIX] web: debug manager: view metadataAaron Bohy
the modal content should now be given in the options
2015-06-17[IMP] web, web_*, mail, board : New modals and dialogsqsm-odoo
2015-04-17[FIX] *: correct previous forward portChristophe Simonis
Due to files renaming, some patched should be applied manually to the correct files. Forgot to `git add` these files when committing the forward port...
2015-03-20[REF] Web: Actions, ActionManager, ViewManager, Controlpanel refactoringAaron Bohy
Big refactoring of Action, WidgetAction and ViewManagerAction to clean their API. Mainly, renamming from State to Action and removal of unused functions (or functions that are only used by the DebugManager, for which we tolerate introspection). Some logic has also been moved from the ActionManager to the Actions themselves. The specific behavior of each type of Action is now handled in the implementation of those Actions. In ActionManager, this.states is renammed to this.action_stack to be consistent with view_stack in ViewManager. The setup_search_view() and render_switch_buttons() functions have been moved from ControlPanel to ViewManager as it was before, since actual design allows it and it makes more sense. The ControlPanel API has also been simplified as some functions were not used anymore. The ControlPanel is now updated directly by the widgets using it, bypassing the ActionManager. The control panel elements are stored by the widgets themselves to allow restoring them later.
2015-03-20[IMP] Web: views.js, view_editor.js: DebugManagerAaron Bohy
Creation of a widget for the DebugManager and move it from the ControlPanel to the Systray. Refactoring of the widget to improve/facilitate the way of adding options in the DebugManager as the view_editor does. Add a do_action() function in the WebClient that forwards the action to the main ActionManager so that widget that are not in the scope of the ActionManager (e.g. Menu) can performed actions as well. Note: The DebugManager is currently in the Systray but it will finally be moved to a dedicated spot above the ControlPanel.