summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
AgeCommit message (Collapse)Author
2017-06-26[MERGE] forward port branch saas-14 up to 3bac72ba741Christophe Simonis
2017-06-21[FIX] web: remove "Edit Workflow"Nicolas Martinelli
Since all workflows have been removed, remove the menu to edit it, since it generates a traceback and confuse users.
2017-06-09[MERGE] forward port branch saas-14 up to b6c7d718995Christophe Simonis
2017-06-09[MERGE] forward port branch 10.0 up to cd1a8f62527Christophe Simonis
2017-06-08[FIX] web: CrashManager can crash if trying to show an empty messagexmo-odoo
If `d.message` is an empty string, `!!d.message` is false and the crashmanager will try to display `d.error.data.message`… which does not exist as it's a warning with an empty message not an upstream error. That causes the crashmanager itself to crash, and even the warning name/title to be lost.
2017-03-01[MERGE] forward port branch saas-14 up to eddefc9948bChristophe Simonis
2017-02-23[MERGE] forward port branch 10.0 up to 387b2acfcbfChristophe Simonis
2017-02-23[MERGE] forward port branch saas-11 up to 1730dca1016Christophe Simonis
2017-02-14[FIX] web: set max width for image field in form viewAdrien Dieudonne
Before this commit, wide images were larger than the form view.
2017-02-10[MERGE] forward port branch saas-14 up to be9dfb331f9Christophe Simonis
2017-02-09[IMP] web: Separate personal and shared favorite filters in search viewMohammed Shekha
Purpose ======= When there are lots of shared filters then its difficult to differentiate personal and shared filters Specification ========== - Show all personal filters first as user will prefer his own filters to come first in list - Show all shared filters after personal filter in list - Add separator line between personal and shared filter
2017-02-07[FIX] web: simplify the datepicker templatefwi-odoo
The library needs to have a 'relative' positioned parent to place the datetimepicker correctly. We don't do that in the template anymore because it was not working in all the cases. The template which instantiates the datepicker should define a parent in position 'relative'.
2017-02-03[FIX] web: handle field selector closing/opening correctlyqsm-odoo
Ironically, clicking on the dropdown arrow of the field selector was the only way which was not opening the dropdown. It was indeed added as pure design element. This commit handles the opening and closing of the dropdown in a more robust way... while simplyfing the code too.
2017-02-02[MERGE] forward port branch 10.0 up to 8a0151b4bcdChristophe Simonis
2017-01-31[IMP] web: add options to field selector to filter the fieldsqsm-odoo
Before this commit, the field selector had an unique option to filter the fields it displays: filters.searchable, which tells the widget to only display the searchable fields (which is the default). Now there are two more options: - fields: an explicit list of the fields to use (if null, let the widget get the fields itself (this is the default)) - followRelations: a boolean which is true if the user can follow relation to build a field chain (default to true) These options are needed by Web Studio in enterprise where domain construction for form view attrs can only use fields which are in the view and do not follow relations.
2017-01-30[REF] web: update bootstrap-datetimepicker lib and adapt datepicker widgetfwi-odoo
from 3.0.3 to 4.17.42
2017-01-27[MERGE] forward port branch saas-11 up to e86983112ebChristophe Simonis
2017-01-27[MERGE] forward port branch 9.0 up to 838beb12de3Christophe Simonis
2017-01-27[FIX] web: provide correct autofill browser hintsOlivier Dony
Modern browser implement the autofill specs as described at https://html.spec.whatwg.org/multipage/forms.html#autofill This means that there is now a way to tell the browser when a password field is supposed to be filled with the user's own password (e.g. on a login field), and when it's supposed to be used to input a new secret value (e.g. when changing someone else's password). This can be distinguished by setting the autocomplete attribute to `current-password` or `new-password`. In addition, many browsers have decided to entirely disregard the autocomplete='off' attribute value, because it is felt that using a secure password manager (as provided by those browsers) is a net gain for security, allowing users to pick stron passwords. See also https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion Based on this, the framework should generally consider that password fields in the backend are meant to be used for *setting* new values (autocomplete="new-password", i.e. no autocompletion!), whereas the password field on the login page can indeed be autofilled with the user's current password (autocomplete="current-password"). In addition to making the above changes, this patch also lets developer specify their own `autocomplete` attribute on text input fields.
2017-01-23[MERGE] forward port branch saas-14 up to 6c4389df41fChristophe Simonis
2017-01-12[FIX] web: better align domain selector elementsqsm-odoo
Mixing the use of btn-xs and btn-sm was not good for design. This commit use btn-xs for "add a filter" and "edit domain" buttons to improve elements alignment.
2017-01-12[FIX] web: handle the case of a field domain without set modelqsm-odoo
Some domain fields are initialized with a model which depends of another form field value. Sometimes, this value is False and the domain selector cannot be used during that time (and was even performing useless RPC). Now, in this case, the field domain is fully replaced by a message which explains that a model have to be set. If you don't want this message to be shown, you still have the possibility to not show the field domain when there is no model thanks to the "invisible" attrs.
2017-01-10[MERGE] forward port branch saas-14 up to 557feb950cbChristophe Simonis
2017-01-09[IMP] web: allow to upload multiple files in `many2many_binary` widgetYannick Tivisse
2017-01-06[IMP] web: add a dialog option to the FieldDomainqsm-odoo
Now, the form FieldDomain has an option "dialog" which allows to force the domain *edition* in a new dialog. This allows the field to be positioned in smaller area of the form view in some contexts.
2017-01-06[IMP] web: FieldDomain panel at top right instead of belowqsm-odoo
The FieldDomain is composed of a DomainSelector widget and a button which allows to see the records which match the domain (or an error message if the domain is wrong). The button was placed below the domain selector. Now, in edit mode, it is placed at the top-right of the domain selector, saving some vertical space.
2017-01-03[IMP] web, *: add new Domain and Field selection widgetsqsm-odoo
* base_action_rule, gamification, mass_mailing 1) Create the independant DomainSelector widget - Allow to build a prefix char domain 2) Replace old FieldCharDomain with a new FieldDomain which uses the new DomainSelector widget 3) Create the independant ModelFieldSelector widget - Allow to build a valid field chain for a specific model (e.g 'partner_id.name' for a 'res.users') - Used by DomainSelector widget --- The DomainSelector widget uses a tree-like representation with user-friendly buttons (ALL/ANY/+/-/...). Any domain can be built, except those containing the "!" (not) operator or some operators like "like", "child_of" (@see DomainSelector). However, if the user enters these in the debug input, the widget can handle them. Note: these widgets had to do unusual stuff the widget API does not allow to handle efficiently right now but it will be adapted to the new widget/field API in a further update. Note2: the widgets also have possibility of other improvements like supporting m2o input instantiation in DomainLeaf, etc. --- This work is an adaptation of the original code made by @pga-odoo.
2017-01-02[IMP] web: allows styling of the pager countersLeonardo Rochael Almeida
Before this commit, the pager counters and buttons were at the same level, and could not be styled independently (with some rules such as nowrap). Close PR #14865
2016-12-05[REM] *: remove ir.needaction mixinJérome Maes
ir.needaction_mixin is not used anymore by the webclient. From 9.0, the concept has changed: this feature is now available in mail module, with the mail.thread mixin, and message_neeadction field. Remove all code handeling needaction bullet and counter on ir.ui.menu, knowing that since 9.0 webclient does not display the counter anymore. This code was, thus, useless and some RPC calls were done for nothing, and adapt accounting reconcialiation widget.
2016-11-09[IMP] web: show technical field name in export wizard by hover in debug modeKishan Gajjar
In export wizard on mouse hover display technical name of field in debug mode
2016-11-08[IMP] web: disable selected fields in pivot dropdownGéry Debongnie
In the pivot view, when the user select a new field to drill down, the previous dropdown menu displayed all the groupable fields as valid choice. This commit disables all the fields that have already been selected. It means that they will be greyed out, and inactive in the UI.
2016-11-02[IMP] web: improve traceback reportingqsm-odoo
* Do not assault the user with a full traceback on bug, but indicates an error occured and allow him to toggle the traceback * Automatically scroll the traceback to the end (better for python errors) * Propose the user to report the traceback by using a new "Copy" button which correctly copies the full error + traceback
2016-10-11[FIX] web: hide "Create" button for editable tree views with `create="false"`Ravi Gadhia
Make it such that the buttons "Save" and "Discard" are still visible.
2016-10-10[IMP] web: move "Activate Assets Debugging"Nicolas Martinelli
It is more logical to display it next to "Leave the Developer Tools"
2016-10-10[FIX] web: remove "Disable/Enable Technical Features"Nicolas Martinelli
This link was useful when the "Technical Features" group was not linked to the "?debug" parameter. This is not the case anymore, and this button has no effect.
2016-09-16[IMP] web: Remove tooltip on tags because it displays the same stringMansi Gandhi
2016-09-03[MERGE] forward port branch saas-12 up to 476cb5a0Christophe Simonis
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-08-30[IMP] attachment: binary does not need save as button in widgetJosse Colpaert
2016-08-23[IMP] web: add ace editor for xml and python editionChristophe Matthieu
* display all lines and don't display the scroll bar into ace editor * lazy read ace lib and add missing lib file * use not minified version of ace lib * Move ace lib from website to web * Added ace widget for webclient * XML mode for view text box * Python mode for server action text box * Removed web_ace_editor.xml, instead added template in base.xml itself * Added widget=ace_editor in compute field of ir.model.fields
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-07-15[MERGE] forward port branch saas-11 up to a62b8cfChristophe Simonis
2016-07-14[FIX] web: default many2many tags colorDenis Ledoux
When there is no `color` field on the model e.g. On invoice line taxes The color class to apply on the badge was set to `o_tag_color_undefined` which doesn't exist. It must be set from `o_tag_color_0` to `o_tag_color_10` in order have a color. Because of this, the taxes in the invoices lines were not visible, because they were written in white on a white background. This has been broken by the below revision: fe66472e2cf7844c21ec438921307330ae562668 removing the or statement (`||`) to set a default color for models not having a `color` field. We choose to set `10` as default value, so the color remains the same compared to the previous release (light grey). However, if the new behavior chosen by the usability is to have these in black, it should then be changed to `0` again.
2016-07-14[MERGE] forward port branch saas-10 up to 156dee2Christophe Simonis
2016-07-14[MERGE] forward port branch 9.0 up to fd9eb2eChristophe Simonis
2016-07-07[IMP] web: Quantity is very misleading in reporting views --> e.g. SO Line ↵Fabien Pinckaers
Quantity is perceived as Quantity of products, whereas it's the count of SO Lines. Renaming to Count
2016-06-28[MERGE] forward port of branch saas-11 up to 7153077Christophe Simonis
2016-06-28[IMP] web: visible default color on tags now visible in kanban viewChristophe Simonis
un-revert of fe66472e2cf7844c21ec438921307330ae562668 which have wrongly been reverted with 977db823c7c84e9edc7c8cf8384eb9cf47275b3a