diff options
| author | rco-odoo <rco@odoo.com> | 2017-12-06 15:05:15 +0100 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-03-22 09:59:47 +0100 |
| commit | 875f849018a4ff34390e7b34f7f8753b449c0f6b (patch) | |
| tree | d92fc7fe7301a5d8a2b15c33b2682dc10cf52392 /addons/web/static/src/js/views/basic | |
| parent | e8f630e44df6460a9027cc07fd79d2a4e11ce17c (diff) | |
[FIX] models: backport of 5f660cd
This fix avoids wild prefetching when serializing
onchange results.
We fell on a strange situation in method `onchange`, where
some data was missing from cache when serializing the
result. In that case, the prefetching overwrites so
many stuff in cache that the results of the onchanges
are lost.
Don't let that happen.
This is a backport of 5f660cd, with rco-odoo's blessing.
A use case this commit solve is
- Install the sale app.
- Create new quotation and assign new partner
- From inline editable listview add a new order line
(created the product inline) then directly save.
- Click on the order line (NOT IN EDIT MODE). This opens
the order line in a popup.
- Close the popup.
- Click edit again.
- Now change the order line description.
When unfocusing order line field, the description is reset
to previous one.
Closes #23276
Closes #23277
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
