odoo/addons/web/static/src/js
Nicolas Lempereur 1da79b872e [FIX] web: keep m2m value in list view
Currently, when rendering a list view cell with a many2many we would
empty the list of ids, and fill it again once a name_get is resolved.

But in some instance, the code could use the data when it has been
emptied out.

For example, if we set the tax_id field (inside the order_line list view
inside the sale.order form view) as requred, if we modify the order line
and save directly (without clicking outside of the list view) we can get
an incorrect error saying that the "Order Line" is not valid.

It has been reproduced when saving with CTRL + SHIFT + S on google
chrome and firefox, and there have been reports that for some
configuration it also happen when clicking on the "Save" button.

This commit change the behaviour so the value is kept whilst the name_get
is ongoing, and just use a default "false" value for the name during this
interval.

closes #13478
opw-668067
2016-09-14 15:52:48 +02:00
..
boot.js [IMP] Include openerpframework in common assets. Add module list in bundle 2014-05-12 17:18:12 +02:00
chrome.js [FIX] web: fix layout issue in Chrome 50 2016-04-18 14:43:50 +02:00
core.js [FIX] web: correctly retrieve exception from @serialize_exception 2015-01-21 17:03:54 +01:00
data.js [IMP] web: remove needless o2m onchange 2015-11-10 12:36:06 +01:00
data_export.js [FIX] web: conserve /id for saved export list 2016-01-28 17:27:18 +01:00
formats.js [FIX] web: Python-like rounding method 2015-11-04 13:14:59 +01:00
openerpframework.js [FIX] web: float seen as changed with digits set to 0 2015-04-03 16:37:28 +02:00
pyeval.js [FIX] web: backport datetime.toJSON() so we can return local datetimes in search domains 2015-04-23 14:05:56 +02:00
search.js [MERGE] forward port of branch saas-3 up to e552e09 2015-04-30 15:45:03 +02:00
test_support.js [IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons. 2013-08-06 14:50:22 +02:00
testing.js [IMP] Convered qunit test suite to template 2014-04-28 20:24:51 +02:00
tour.js [IMP] website: improved tours error message and race conditions 2015-04-29 10:25:20 +02:00
view_form.js [FIX] web: statusbar click 2016-09-02 10:27:41 +02:00
view_list.js [FIX] web: keep m2m value in list view 2016-09-14 15:52:48 +02:00
view_list_editable.js [FIX] web: context/domain in move line tree 2016-02-19 13:21:41 +01:00
view_tree.js [CHG] Fix task 7536 / PR #499 differently 2015-01-14 13:28:23 +01:00
views.js [ADD] web: prevent the propagation of context keys containing prefix show_ 2015-06-22 14:06:11 +02:00
watch.js [FIX] Add prototype watch in js object. That will allow to listen change on some library for example. It's used to know if jquery is overrided by an external script. 2014-04-14 16:58:02 +02:00