diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2016-03-03 16:59:09 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2016-03-04 15:32:54 +0100 |
| commit | 4706a0c9a20bcd33e19812c03c541fa4b8778884 (patch) | |
| tree | 0b616ffb6f564c84ce636054b5483a48c99be7c1 /addons/web/static/src/js/framework/session_instance.js | |
| parent | 62fc2571c001f57c4f68962e423ac029aed39d7f (diff) | |
[FIX] base: shield embedded view from action 'create'
With `92a3178` if a window action has `'create': False` in its context,
creating a record by one of the action view is disabled.
But this is also applied to eventual embedded views which is not wanted.
With this commit, a `'create': False` in the context is only applied on
root view model and not on embedded ones.
closes #11207
opw-660607
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
