Skip to content

Commit

Permalink
[FIX] base: deprecated 'install_mode_data'
Browse files Browse the repository at this point in the history
Firstly bd49f9f did some fixes that removed a bunch of code containing 'install_mode_data'. Later, 627292f replaced 'install_mode_data' for 'install_filename'. Finally, 43dd9ec reverted bd49f9f (including 'install_mode_data' remnant).

closes odoo#40027

X-original-commit: 0c3d925
Signed-off-by: Yannick Tivisse (yti) <[email protected]>
  • Loading branch information
MiquelRForgeFlow authored and fw-bot committed Nov 8, 2019
1 parent 78f45a4 commit 99a0347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odoo/addons/base/models/res_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ def _update_user_groups_view(self):
xml_content = etree.tostring(xml, pretty_print=True, encoding="unicode")

new_context = dict(view._context)
new_context.pop('install_mode_data', None) # don't set arch_fs for this computed view
new_context.pop('install_filename', None) # don't set arch_fs for this computed view
new_context['lang'] = None
view.with_context(new_context).write({'arch': xml_content})

Expand Down

0 comments on commit 99a0347

Please sign in to comment.