summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorkujiu <kujiu@users.noreply.github.com>2017-07-25 13:43:37 +0200
committerged-odoo <ged@odoo.com>2017-07-25 13:43:37 +0200
commit2771b23a35c27165b54904a9e433202a5cd226af (patch)
tree0f876d657f17b18f80400bb504853b3fa3f33d0f /addons/web/static/src/xml
parent044b8b1240e6b294d26df10fa4518b97ae4879f0 (diff)
[FIX] web: do not delete records for one2many with widget=many2many
Some one2many fields are called with a many2many widget to unlink records instead of delete them. But this behavior was modified with the new views and the records were deleted anyway. In this commit, we restore the previous behavior, and create a FORGET command in basic model to do that. Note that the widget='many2many' is a hack, and a better way to accomplish this is to use a new custom option. But this would be a fix for master (PR #18413)
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions