odoo/addons/web
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
..
controllers [FIX] http: do not allow passing spaces around db in URL param 2016-09-09 09:28:10 +02:00
doc [FIX] doc: Research -> Search 2016-06-17 09:48:47 +02:00
i18n [I18N] Update translation terms from Transifex 2016-09-11 03:04:01 +02:00
static [FIX] web: keep m2m value in list view 2016-09-14 15:52:48 +02:00
tests [FIX] web: re-enable test_menu.py without the mock-menu test 2014-10-10 18:12:59 +02:00
views [FIX] web: fix db manager layout in Chrome 50 2016-04-20 11:42:03 +02:00
.bowerrc [IMP] now uses bower for some libs 2013-07-31 15:17:31 +02:00
Gruntfile.js [IMP] Added compass compilation to grunt file 2013-07-31 12:20:37 +02:00
__init__.py [FIX] web: no need to initialize wsgi handler in postload anymore 2014-03-24 10:30:38 +01:00
__openerp__.py [MERGE] Forward-port latest saas-3 bugfixes, up to c9b690f6b6 2015-01-29 13:54:13 +01:00
bower.json bowered qweb 2013-07-31 15:55:31 +02:00
package.json [IMP] Added compass compilation to grunt file 2013-07-31 12:20:37 +02:00