summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets
AgeCommit message (Collapse)Author
2016-06-08[MERGE] forward port of branch saas-11 up to ac50230Christophe Simonis
2016-06-02[FIX] web: fix actions in sidebar on second reloadGéry Debongnie
When the user visited a view for the second time, the extra actions in the sidebar were broken. The reason is that the sidebar code modified in place the fields_view information. Note: This was not a problem before, because the field_view_get call was done each time the view was loaded, but now it is cached.
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-05-27[REF] report,web(_editor): services extracted in their own filesGéry Debongnie
session_instance.js moved from framework/ to services/ and renamed into session.js, which required to change the bundles in report and web_editor addons.
2016-05-24[IMP] hr_timesheet,web: Improve the Progress (%) bar on the tasks time ↵Foram Shah
management 1. Rename "Progress (%)" into "Working Time Recorded" 2. Remove tooltip. 3. It should always indicate the exact percentage : a. if 2 hours planned and 2 hours consumed = 100% b. if 2 hours planned and 3 hours consumed= 150% c. in both cases the progression bar should simply stay full. 4. Consider sub task hours
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-25[MERGE] forward port of branch saas-9 up to 4d337f7Christophe 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-04-14[FIX] web: consistency between list and exportNicolas Martinelli
Following commit 8276fb585, the data exported should match the data displayed on the list view. Therefore, we need to make sure that the context used match the context of the list view. When a filter is applied in the list view, the context is evaluated thanks to pyeval (see the call to `/web/dataset/search_read`). The fix is to evaluate the context in a similar way. opw-674473
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-09[IMP] web: remove rpc call on SwitchCompany widget loadingYannick Tivisse
By setting the information returned by read_companies on the session information, we are able to remove the rpc call and the willStart method definition Also: Set a debounce on SwitchCompany widget to avoid multiple RPC
2016-02-08[FIX] web: avoid infinite pending state in case of RPC call failYannick Tivisse
If the RPC fails, the deferred is never resolved nor rejected, so the deferred given by willStart will stay in a 'pending' state As the deferred is expected to be resolved or rejected to launch the systray to continue, we have to catch this case too.
2016-02-08[FIX] web: Load SystrayMenu even if a systray's deferred is rejectedYannick Tivisse
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
2016-01-29[MERGE] forward port of branch saas-6 up to 2616defDenis Ledoux
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-12-24[IMP] web(_planner),website: navbars & menus mergeqsm-odoo
Merge appswitcher navbar and app navbar. Merge planner menu and user menu.
2015-12-22[FIX] web: client action change passwordDenis Ledoux
1. To change the page title, you now have to call `set_title` from `require('web.web_client')` 2. Without the `type="button"`, the `Change Password` button is regarded as a `type="submit"`, therefore submitting the form, on `web` on click, and `web` doesn't expect this POST request. The POST request must be done on `/web/session/change_password` only. opw-660567
2015-10-29[FIX] web: do not write twice when updating valueNicolas Martinelli
The issue occurs for example in the Sale dashboard, when the user changes the target amount. If the user changes the value, then directly clicks outside of the field, the method on_change_input will be called twice: the first time because of the event 'change input', the second time because of the event 'blur input'. This makes an unnecessary write, which can cause an error due to concurrent access. This prevents the execution of the write related to the event 'change input' in this case. If the user changes the value but clicks on 'Enter', the focus is still on the field so the update is done correctly. Courtesy of Quentin Smetz (qsm@odoo.com) opw-653086
2015-10-07[FIX] web: set the formatted date in the datepickerDanimar Ribeiro
Fixes #8867 Closes #8905
2015-09-30[FIX] web: reintroduce ChangePassword templateqsm-odoo
The template had been previously dropped by mistake. + the validation buttons were not correctly handled and so changing his password was not possible (these buttons must be in the modal footer).
2015-09-25[FIX] web : attachment controller got unexpected argsJérome Maes
On webclient, on 'Attachment(s)' dropdown (form view) when clicking on an attachment to download it, a request is sent to /web/content/ with a param 't' containing the current date. This param wasn't used neither before the new controller, but the old one accept additional kwargs. The new controller crashes, and since the t parameter is not used, removing it seems better.
2015-09-24 [REF] web: datepicker widgetqsm-odoo
(backport of enterprise version) * JS/XML refactoring * Allow user to override default options for the picker
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-09-23[MERGE] forward port of branch saas-6 up to a669433Christophe Simonis
2015-09-07[IMP] web: Rename 'More' button into 'Action'Yannick Tivisse
2015-09-01[REF] web: backport some classnames renamingAaron Bohy
oe_form_binary_form -> o_form_binary_form oe_form_binary_file -> o_form_input_file Required for new design compatibility (classnames accessed in addon mail)
2015-09-01[IMP] web: sidebar: generalize it for client actionsAaron Bohy
2015-08-26[FIX] web: add a default value for progressbarMartin Geubelle
Remove the value in the input leaded to a traceback.
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-08-17[FIX] web: debug manager: view metadataAaron Bohy
the modal content should now be given in the options
2015-08-03[IMP] web: New priority widget + form fieldqsm-odoo
2015-08-03[FIX] web: Progress bar value updateqsm-odoo
The progressbar formfield was not updated if its value was changed from the outside (on_change, ...)
2015-08-01[IMP] web: web 1.0 database managerAntony Lesuisse
Implement the database manager with plain HTML forms and HTTP controllers.
2015-07-24[IMP] web: modify notification.js like in enterpriseGéry Debongnie
The enterprise web client had to be modified to fix a crash. This crash does not occur in the community web client, but this commit makes sure that the semantics of the notification manager is the same as the enterprise version, to prevent future problems.
2015-07-23[IMP] web: New notification systemqsm-odoo
Backport of the Notification system
2015-07-17[IMP] web: use a classname to show/hide widgetsAaron Bohy
The problem of $el.show()/hide() is that calling show() on a jQuery element on which there is no display rule in the stylesheet automatically sets 'display: block'. However, when a jQuery element is not yet in the DOM, the rules defined on it are not yet applied, meaning that calling show() will set its display to block (in inline style), even if there is different a css rule (e.g. 'dislay: flex'). As the inline style takes the priority over the stylesheet, the correct display won't be applied, even when the widget will be appended in the DOM, resulting in a possibly broken layout.
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[FIX] ProgressBarqsm-odoo
Leaving edit mode was impossible if the value was not changed + Remove use of PropertiesMixin
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-18[IMP] web: pager: editable feature + documentationAaron Bohy
Pager's state can now be edited (mainly to change the limit, but the range of values as well).
2015-06-17[IMP] web, web_*, mail, board : New modals and dialogsqsm-odoo
2015-06-15[IMP] web: add pager widget to web clientGéry Debongnie
This pager is used by the kanban view. It could be used by the list view, the form view and some others (and it is, in the enterprise edition)
2015-06-10[FIX] web: datetime widget didn't detect all changesGéry Debongnie
The datetime widget use the "keypress" event to detect if it has been changed. Unfortunately, some keys, such as backspace, do not fire a keypress event. This commit listen instead on the 'change' event, which should fire when the input has changed.
2015-05-28[MERGE] forward port of branch saas-6 up to bf1e999Christophe Simonis
2015-05-22[IMP] web, web_kanban: progressbar widget can also edit max valueMartin Geubelle
2015-05-13[IMP] web: New generic progressbar widget + FieldProgressBar adaptationqsm-odoo
2015-05-13[FIX] web, web_kanban: Move Kanban ProgressBar out of webqsm-odoo