summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
AgeCommit message (Collapse)Author
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-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.
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-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
2016-06-14[FIX] website: t-att-*** display empty string attributeChristophe Matthieu
Remove attribute only if the result is False or None
2016-06-13[REM] web: Remove GTK icons and replace them by Font-awesomeJainik Patel
2016-06-07[FIX] web: set title on Many2Many tagsNicolas Martinelli
When the content of a Many2Many tag is too large, it is truncated. This is an issue since there is no easy way to see it. The fix adds a title on the tag with the content. X-port of commit odoo/enterprise@bd3bfe04221b685d4e4eb7dbf000c4cd8b0b9d69
2016-05-26[MERGE] forward port of branch saas-10 up to 57944dbChristophe Simonis
2016-05-26[MERGE] forward port of branch saas-9 up to 413ba94Christophe Simonis
2016-05-26[MERGE] forward port of branch 9.0 up to 24eebbdChristophe Simonis
2016-05-25[FIX] web: chardomain, don't allow to edit the input when not in edit mode.Jeremy Kersten
2016-05-24[MERGE] forward port of branch saas-10 up to fac4cc7Christophe Simonis
2016-05-24[MERGE] forward port of branch saas-9 up to f8e6bb7Christophe Simonis
2016-05-23[FIX] web,base: m2o empty name resultsqsm-odoo
M2O use the autocomplete lib to display its content. The problem is that if a result is empty (or only composed of whitespaces), a divider is displayed in the dropdown. Commit 1d9f7d279a74aaf6aaf25f91e2313b23b4122827 was fixing this by only displaying non-empty name results... but it did not work as many models implement the name_search method the wrong way. The new solution is to add a default display for record values which are empty strings, at the right places in the webclient components.
2016-05-20[MERGE] Forwardport of 9.0 up to 3b234a23cMartin Trigaux
2016-05-19[FIX] web: download file and editor firefox bugNicolas Lempereur
When we download a file (as can be done with attachments in Odoo), firefox is opening the link in current window but cancel the action once it is aware the resource is to be downloaded. But this get firefox into a corrupt state for some contenteditable features, for example document.queryCommandState which is needed for the editor will after downloading a file throw an error consistently instead of working as expected. It can be reproduced on firefox (at least from version 32 to 46) with the following snippet: https://jsfiddle.net/s246u3ay/3/ The issue is probably linked to the following reported issue since 2005: https://bugzilla.mozilla.org/show_bug.cgi?id=297494 This commit avoid the bug by opening attachments download links in a new window instead of the current one. closes #12109 opw-676918
2016-05-04[REF] mail,web: unique Spinner template in base.xmlAaron Bohy
2016-04-27[IMP] web: Shortcuts easier to use (lowercase)Yannick Tivisse
By putting the shortcuts lowercase, it is easier to remember and to user. Instead of Alt + Shift + letter, we have Alt + letter for Windows and Linus users Instead of Control + Alt + Shift + letter, we have Control + Alt + letter for mac users The combinations Alt + d and Alt + e are reserved to the browsers, so other letters are chosen for these actions
2016-04-27[REF] web: base.xml: remove unused templateAaron Bohy
Also clean the 'UserMenu.about' template (remove unnecessary classnames), and fix version name.
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-19[MERGE] forward port of branch 9.0 up to 7c04420Christophe Simonis
2016-04-15[FIX] web: don't display view metadata for new recordJeremy Kersten
Close #11584
2016-03-09[FIX] web, web_kanban: visible default color on tagsMartin Geubelle
The default comportement of tags has been changed. The default color is now visible on kanban. The 10th color is now invisible.
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-24[FIX] web: target=new forms buttonsqsm-odoo
Launching a form view in a dialog thanks to target=new did not display the action buttons (save, discard, ...). This is because the action_buttons flag is set to false by default and the only way to start an action with a different value is thanks to JS code (i.e. the debug manager modals). Now, action buttons are also rendered if the flag footer_to_buttons is set to true (only happens when launching an action in a modal) and that the formview does not have any footer tag with buttons to add (so that wizard form keep replacing the action buttons by these footer buttons).
2016-02-17[IMP] web: remove spin lib and replace by an image with css to spinChristophe Matthieu
2016-02-02[MERGE] forward port of branch 9.0 up to f0a63e5Christophe Simonis
2016-02-02[MERGE] forward port of branch saas-6 up to 9ca7ad8Christophe Simonis
2016-02-02[MERGE] forward port of branch 8.0 up to 3ac46eeChristophe Simonis
2016-01-29[FIX] make m2m checkbox labels clickablexmo-odoo
2016-01-25[MERGE] forward port of branch 9.0 up to 6872aaeJulien Legros
2016-01-19[FIX] web,calendar: m2m attendee tag colorqsm-odoo
The colors for attendee tags were not used and were reset for all tags each time the color was changed for a single tag.
2016-01-13[MERGE] Forward-port 9.0 up to rev. 3be9d911c0d50cbe6e4e5768d40011849cc43972Olivier Dony