summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/data_export.js
diff options
context:
space:
mode:
authorXavier ALT <xal@odoo.com>2019-09-11 21:15:34 +0000
committerRaphael Collet <rco@odoo.com>2019-09-20 12:23:09 +0000
commitc5fa4771fcec91c06a26d5103126a1373f962f0b (patch)
treeaa5c556e8812632e47b6146aaa0d58194bc48846 /addons/web/static/src/js/widgets/data_export.js
parent1a3dcfeae658bf3d6411662cbb2c8c340c34f07f (diff)
[FIX] fields: default to ondelete='cascade' for required m2o fields on transient
TransientModel (wizards) can be annoying because if they have required many2one fields, those fields will default to `ondelete='restrict'`, preventing user to delete the comodel records without deleting the transient model records first. To improve such case, we default to `ondelete='cascade'` for required many2one field on a TransientModel (unless specified otherwise) closes odoo/odoo#36738 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
0 files changed, 0 insertions, 0 deletions