We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73c5015 + 3f00e2d commit 6422275Copy full SHA for 6422275
openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_ui_view.py
@@ -94,7 +94,7 @@ def _inverse_arch(self):
94
"""
95
if "install_filename" in self._context:
96
path_info = get_resource_from_path(self._context["install_filename"])
97
- if path_info[0] == "openupgrade_scripts":
+ if path_info and path_info[0] == "openupgrade_scripts":
98
self = self.with_context(
99
{k: v for k, v in self._context.items() if k != "install_filename"}
100
)
0 commit comments