summaryrefslogtreecommitdiff
path: root/addons/web/static/src
AgeCommit message (Collapse)Author
2016-06-14[IMP] web: 'Not Archived' becomes 'Active', 'Not published' becomes ↵Foram Shah
'Unpublished' Another reason why it’s better to change ‘not archived’ into ‘active’ is because ‘active’ is the functional name of this field in the filter list in list view. For the rest, it’s just a better en_US way of saying it.
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-08[MERGE] forward port of branch saas-11 up to ac50230Christophe Simonis
2016-06-08[MERGE] forward port of branch saas-10 up to 2f948c7Christophe Simonis
2016-06-07[MERGE] forward port of branch saas-9 up to 3ed483cChristophe Simonis
2016-06-07[MERGE] forward port of branch 9.0 up to fa4a371Christophe Simonis
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-06-07[FIX] web: prevent search dropdowns to close on click insideDenis Ledoux
In the Filters, Group By and Favorites dropdowns, when clicking outside the `li` elements but still inside the dropdown menu itself (like on the dividers, or next to the advanced search `Apply` button), the dropdowns was closed. This behavior was annoying when doing an advanced search with a field using the datetime picker, as, to close the datetime picker, you have to click outside it, and when you did, it closed automatically the filter dropdown... So you had to open it again to finally apply the filter. opw-674310
2016-06-03[MERGE] forward port of branch saas-9 up to 30864b6Christophe Simonis
2016-06-03[FIX] web: data_manager: load_action: return deep copy of actionAaron Bohy
The action object, and in particular its context, is modified by the Action Manager and by some views (e.g. sales_team_dashboard Kanban). So, as the action is stored in cache, the same object was returned each time the action was requested, and previous modifications of its context still applied. This produced a bug with the sales_team_dashboard when following those steps: - click on the link to today's activities, it opens an action with 'search_default_today' in the context, - come back to the dashboard - click on the link to this week's activities, it opens an action with 'search_default_this_week' in the context, but the formerly added key 'search_default_today' is still there as well, so the domain is wrong.
2016-06-03[IMP] web: Navigation improvement in editable list view (v2)Yannick Tivisse
1/ On create new record focus field should select already existing value of field, So user doesn't have to remove the old value first and then enter new value. 2/ Forget about it
2016-06-03[REVERT] revert web: Navigation improvement in editable list view"Géry Debongnie
This reverts commit c43a97f353b76e211cad939a1c02c06e8ee724b7. If you use a setTimeout in your js code, you might want to have a serious look at what you are doing. You are almost certainly doing it wrong. If you chain a deferred with the number returned from a setTimeout, you definitely don't know what you are doing. If you try to fix editable list view by magically adding timeout, potentially inversing the order of execution, and without understanding how deferred works, it is clear that you are just changing stuff until your particular bug disappear in your particular case, and that you have no idea what other bugs you just introduced. Please study how deferred works, how the basic JS methods works, learn what setTimeout returns. Also, you might want to have a basic understanding of how and when expressions are evaluated. For example, if you cannot explain why a if statement cannot be replaced by a function, you might want to stop what you are doing and educate yourself.
2016-06-02[IMP] web: Navigation improvement in editable list viewRavi Gadhia
1/ On create new record focus field should select already existing value of field, So user doesn't have to remove the old value first and then enter new value. 2/ Avoid the double empty line creation when pressing enter step to produce 1 Menu Point of Sale > Configuration > Point of Sale switch to form view 2 Tick the box "Cash Control" , the one2many field will be visible 3 Press the "Tab" from keybord , control jumps to "Add an item" button 4 Press "Enter" from keyboad 5 You will see one extra line will be added..
2016-06-02[MERGE] forward port of branch 9.0 up to 928bc26Christophe 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-06-02[MERGE] forward port of branch saas-6 up to 589751cChristophe Simonis
2016-05-31[ADD] web: add 'is between' operation for dates in search filtersAdrien Dieudonne
- Add two datepickers to specify a range of date/datetime
2016-05-30[FIX] web: enterprise navbar toggle button -> aqsm-odoo
This commit is a fix of the forward-port of an enterprise commit. https://github.com/odoo/enterprise/commit/b0f309bc4ea79ff3ae2fe7d890dd60b0b414bd05
2016-05-30[FIX] web: incorrect reference to openerpGéry Debongnie
I assume the problem was introduced by a forward port. But whatever the case, we should not ever use the variable 'openerp' in jsland.
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-30[IMP] web: remove rpc call to get module listGéry Debongnie
It is already in the web client page source (or more precisely, in the assets_backent bundle)
2016-05-30[IMP] web: move currency rpc to session_infoGéry Debongnie
2016-05-30[REF] point_of_sale,web(site): move session info into page sourceGéry Debongnie
This commit introduces a mechanism to add information into the session from a different module, without having to fetch it manually with a rpc. This is intended to be used with small pieces of info required at the start of the web client, such as currency informations. To add information to the session, one can simply inherit from ir.http and modify the session_info method.
2016-05-30[IMP] web: start session service as soon as possibleGéry Debongnie
2016-05-27[REF] web: move dom_utils to its own fileGéry Debongnie
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-27[FIX] web: minimum marginNicolas Martinelli
Make sure to define a minimum margin large enough. opw-678645
2016-05-26[MERGE] forward port of branch saas-11 up to e4500d0Christophe Simonis
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-26[FIX] web: graph numbersNicolas Martinelli
Backport of commit 68b127797e717ee71b5b0552d69f0f4b4e083f03 opw-678645
2016-05-26[MERGE] forward port of branch 8.0 up to 6622196Christophe Simonis
2016-05-25[FIX] web: fix backport #4c7a9bdJeremy Kersten
2016-05-25[FIX] web: raise a warning for bad domainGoffin Simon
When a user wrote a wrong value in char_domain field it should raise a warning message instead of a traceback. Backport of b3a88b6ed846a13c0cd07cc25ea49bccbdf84aa8 opw:676783
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-11 up to bb442fdChristophe Simonis
2016-05-24[MERGE] forward port of branch saas-10 up to fac4cc7Christophe Simonis
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-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-23[FIX] web: better blur handling in m2m in wizardsGéry Debongnie
Before this commit, many2many list views in wizards did not handle the blur event at all, which means that the last edited line was ignored. This is quite a large bug, but not really visible in our standard install, because we had no many2many in wizards. This commit add naive support for blur events. This is only intended to help the MRP team. A complete solution would probably involve moving most of the code in One2ManyListView to X2ManyListView.
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-19[FIX] web, pos: Lato font assetsqsm-odoo
A fonts.less file which contains the definition of Lato was created in saas-11 and placed in the backend assets. It should have replaced the lato/stylesheet.css in the common assets. Also adapt point_of_sale assets to use the same file.
2016-05-18[FIX] web: form_view: new record and FieldBinaryImageAaron Bohy
Form views with a FieldBinaryImage produced a traceback (only visible in the server-side logs) when creating a new record from an existing one, because the fields were re-rendered before being updated (in this case reset to their defaults). In the case of the FieldBinaryImage, as the field wasn't reset yet, we tried to load the image of a null id, which produced the traceback. This rev. ensures that the fields are updated before being re-rendered when switching to another (possibly new) record. Note: this is spaghetti code, several re-rendering are triggered when switching between records (e.g., when updating the fields value, when actualizing form view mode). This should definitely be refactored/simplified.
2016-05-18[FIX] web: data_manager: invalidate cache on RPC failAaron Bohy
Before this rev., if an error occured during an RPC handled by the data_manager, the RPC result was stored in cache anyway, and there was thus no other way than refreshing the page to get correct result for that RPC.
2016-05-17[FIX] web: left margin of graphNicolas Martinelli
The left margin of the graph doesn't take into account the width of the maximum Y-axis value. In case the values are high (> 10^7), they are cropped. The fix is to adapt the left margin as a function of the size of the maximum value. opw-676538
2016-05-17[FIX] web: Y-axis formattingNicolas Martinelli
In case of a line graph, the values of the Y axis are not formatted as numbers, although they are on the bar graph.