summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/components/thread_view/thread_view.xml
diff options
context:
space:
mode:
authorHarpritsinh Sisodiya <hsi@odoo.com>2020-08-11 13:56:21 +0000
committerJeremy Kersten <jke@odoo.com>2020-10-06 16:09:30 +0000
commit731b3eb2c5a45fcd7cb80625ddf9f30f4feb9848 (patch)
tree37b3e797e14f4b7b40a2dbb2ad757054ba85c9e0 /addons/mail/static/src/components/thread_view/thread_view.xml
parent03e0c53f40ef30589ebea36b954b6966fe45e3e5 (diff)
[FIX] web_editor: fix oe_structure view that are not in extention mode
Issue occurs due to the way we compute the default value in base ir ui view. The method _compute_defaults don't set extention mode under some condition even if we provide an inherit_id view. This commit double fix it, we use now self.env['ir.ui.view'] to create the new view and so always compute the mode based on 'if inherit id or not'. Second fixes is to explicitely set mode manually as 'extention'. before commit: when you drop snippet to blog sidebar and click save button. The changes of user is not visible in sidebar because view created in mode 'normal' and not 'extention' task-2311520 closes odoo/odoo#55908 closes odoo/odoo#59313 X-original-commit: a944ce9beaaf984a7b1282785d03d4bfc8220f18 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com> Co-authored-by: jpr-odoo <jpr@openerp.com>
Diffstat (limited to 'addons/mail/static/src/components/thread_view/thread_view.xml')
0 files changed, 0 insertions, 0 deletions