summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/thread_windows/thread_window.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2019-08-27 08:42:37 +0000
committerAaron Bohy <aab@odoo.com>2019-08-27 10:21:00 +0000
commit906480093a75e54ddf7d212b61c1d10d7f9c55ca (patch)
treec8d81cd744d066f8a622efceb76381addf15e3b0 /addons/mail/static/src/js/thread_windows/thread_window.js
parent2899a9d1edaafce9b48f808d08c0b61202dcaa3e (diff)
[FIX] web: 'create' in context and non inline subviews
Let's assume an action with 'create': 0 in the context, and a non inline subview in the form view. Before this rev., the 'create': 0 was applied to both the form view and the subview. This rev. applies the same logic as what the server does for inline subviews: the rule is applied to the subview iff its model is the same as the one of the form view (with key 'base_model_name' set in the context). Task 2035653 closes odoo/odoo#36109 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
Diffstat (limited to 'addons/mail/static/src/js/thread_windows/thread_window.js')
0 files changed, 0 insertions, 0 deletions