summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorCédric Pigeon (ACSONE) <cedric.pigeon@acsone.eu>2017-10-10 15:53:09 +0200
committerRaphael Collet <rco@odoo.com>2017-10-10 15:53:09 +0200
commit4206d1c2a292a0934b548d83fc0e33ddbdec6c47 (patch)
tree361cc9a5789ec40252ec254a61bf0fff78cd5640 /addons/web/static/src/js/views/basic/basic_controller.js
parentcae506f0ed26625f99ab1614f90e45e7ac72c205 (diff)
[FIX] models: in `create`, add translations after setting x2many fields. (#19348)
Otherwise if a record rule is defined on a x2many field on the model, the creation will fail because ir.translation creation check access rules on the model and in this case, the x2many relation are not set yet.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions