summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-07-25 16:11:39 +0200
committerChristophe Simonis <chs@odoo.com>2018-07-25 16:11:39 +0200
commitcd2ccc4110274e23607521c18309f07cca68476a (patch)
treed7a241e4c0ed2286c61acab9b0cc324169bb671d /addons/web/static/src/css
parente6928a6c976cf0f0f7b7b3280205516ad677b413 (diff)
[FIX] models: correct onchange on one2many fields
The method `convert_to_onchange` on one2many fields [1] makes a `copy()` of `subnames` before altering it. However during onchange management, we pass it a `PrefixTree` object that can't be copied. As we knows the object is empty, directly use a empty dict. [1] https://github.com/odoo/odoo/blob/e6928a6c976cf0f0f7b7b3280205516ad677b413/odoo/fields.py#L2221 Oversight of 2054b5928574affbb7efcd8a9ab146ee4fa34938
Diffstat (limited to 'addons/web/static/src/css')
0 files changed, 0 insertions, 0 deletions