summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/user_menu.js
AgeCommit message (Collapse)Author
2017-04-11[REF] web, *: redesign all JS viewsGéry Debongnie
This commit introduce a full redesign of all JS views. We started basically from scratch. The goal was to unify all the various views under a common framework, to make them testable, to make then usable in different conditions (in studio, or in the frontend), and to make our lives easier. Some important points are: - we introduced new coding guidelines (camelCase, 80 chars width, ...) - we have a brand new testing framework (still QUnit based) - kanban view moved to the web addon - calendar view (formerly web_calender) moved to web as well - the tree view was removed - all new code should be documented We hope that this code is the start of a new era for the Odoo web client, we want to have a high quality codebase, well documented, well tested, well designed. Work done by the framework team: mostly aab, ged, chm, dmo, qsm
2017-01-03[REF] ir_config_parameter: remove `group_ids` and simplifyRaphael Collet
Add `sudo()` to call `get_param` where necessary, and make the web client use a controller instead of directly accessing parameters.
2016-08-22[IMP] web,web_settings_dashboard: Move 'About' menu to settings dashboardYannick Tivisse
Fp request: In the user preferences menu, remove "About Us" and put the version number in the Settings dashboard somewhere, as well as the link to switch to developer mode. Odoo is not a desktop application anymore.
2016-08-17Revert "[IMP] web,web_settings_dashboard: Move 'About' menu to settings ↵Yannick Tivisse
dashboard" This reverts commit 328af5dc8608172505fa6761190bf349e7656d89.
2016-08-17[IMP] web,web_settings_dashboard: Move 'About' menu to settings dashboardYannick Tivisse
Fp request: In the user preferences menu, remove "About Us" and put the version number in the Settings dashboard somewhere, as well as the link to switch to developer mode. Odoo is not a desktop application anymore.
2016-05-30[IMP] web: remove useless rpc by user_menuGéry Debongnie
The UserMenu widget needs the user name, but it is available in the session informations.
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-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-02-08[ADD] web: Company swicher button on systrayYannick Tivisse
If the user has multicompany rights and more than one allowed companies, the full company name is displayed in the topbar. When you click on it, there is a dropdown with the name of the other companies. Clicking on another company name makes you switch on it and reload the page
2015-12-24[IMP] web(_planner),website: navbars & menus mergeqsm-odoo
Merge appswitcher navbar and app navbar. Merge planner menu and user menu.
2015-09-24[IMP] web, web_planner: move 'Help' in systrayMartin Geubelle
* 'Help' has now its own dropdown, directly accessible in the systray, instead of being hidden in the Administrator dropdown * 'About' has been moved there also * We can access the planner through this dropdown, even if the planner is hidden (complete)
2015-08-21[IMP] web: create generic controller '/web/content' and '/web/image'Christophe Matthieu
Replace deprecate controllers like /web/binary/image, /web/binary/saveas... Use ETag for all content with 'unique' option to cache the content if the content is never changed.
2015-07-10[IMP] web: split model.js into model.js and data_model.js. Web js modules ↵Christophe Matthieu
must call web.DataModel.
2015-07-01[IMP] web,mail: use of Modals to confirm changes discardAaron Bohy
instead of the browser confirm dialogs, for the sake of uniformity.
2015-06-17[IMP] web, web_*, mail, board : New modals and dialogsqsm-odoo
2015-05-28[MERGE] forward port of branch saas-6 up to bf1e999Christophe Simonis
2015-03-18[IMP] web+addons: improvement to module systemGéry Debongnie
The module system needs to know the dependencies of a given module before executing the function. This is why the dependencies were defined once in an array, and then were described one more times in the call to require. But a trick can simplify this: the boot function can parse the string representation of the module and extract the calls to require from it. It is more work for the processor, but it leads to simpler module definitions.
2015-03-18[REF] web: add module system to the web clientGéry Debongnie
This commit introduces a new module system for the javascript code. Instead of using global (namespaced) variables everywhere (like openerp.web.whatever, ...), each file declare one (or more) module with its dependencies. Each module will be loaded after its dependencies, and will be given a reference to the return values. This change is a massive departure from the way the client worked previously. It will sadly break some/most history, but I am sure that the future git ecosystem will allow you to easily browse the history past this revision (one can dream). This commit feature: * main namespace is now odoo instead of openerp * a way to define modules and dependencies (inspired by requirejs) * many files have been splitted in simpler subfiles * basic support for debugging in odoo.__DEBUG__ * no global variable (i.e. nothing in window.openerp) * many bug fixes, many new bugs Future vision: this modularization should simplify future code development, simplify debugging and will allow a serious testing effort