summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2017-08-09 15:38:29 +0200
committerChristophe Matthieu <chm@odoo.com>2017-08-30 14:38:29 +0200
commit6cf98c4c87d644928897a76b9985947ab2ebc607 (patch)
treefed1b52989b4b6731926ba080b790d0c222050ac /addons/web/static/src/js/views/basic/basic_model.js
parent7e3f8f2140fb174c7dcd3b970862966690de4252 (diff)
[IMP] models: in `onchange`, keep track of virtual ids of new records
The x2many "create" command is now like: `(0, ref, vals)`, where `ref` is an arbitrary reference that may be used to identify a new line in the relation. The reference is returned in a similar command by the method `onchange`. `onchange` now supports self-modifying x2many fields.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions