[MERGE] forward port branch saas-15 up to d649cab7b9
This commit is contained in:
@@ -169,10 +169,10 @@ class IrUiView(models.Model):
|
|||||||
if called_view not in views_to_return:
|
if called_view not in views_to_return:
|
||||||
views_to_return += self._views_get(called_view, options=options, bundles=bundles)
|
views_to_return += self._views_get(called_view, options=options, bundles=bundles)
|
||||||
|
|
||||||
extensions = view.inherit_children_ids
|
|
||||||
if not options:
|
if not options:
|
||||||
# only active children
|
return views_to_return
|
||||||
extensions = view.inherit_children_ids.filtered(lambda view: view.active)
|
|
||||||
|
extensions = view.inherit_children_ids
|
||||||
|
|
||||||
# Keep options in a deterministic order regardless of their applicability
|
# Keep options in a deterministic order regardless of their applicability
|
||||||
for extension in extensions.sorted(key=lambda v: v.id):
|
for extension in extensions.sorted(key=lambda v: v.id):
|
||||||
|
|||||||
Reference in New Issue
Block a user