FIX: add missing params on function apply_inheritance_specs

pull/2232/head
Carlos Lopez 2020-08-21 10:43:02 -05:00 committed by Ivàn Todorovich
parent b9ab5dfe92
commit 1c1a9c4a8e
1 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ class IrUiView(models.Model):
_inherit = "ir.ui.view" _inherit = "ir.ui.view"
@api.model @api.model
def apply_inheritance_specs(self, source, specs_tree, inherit_id): def apply_inheritance_specs(
self, source, specs_tree, inherit_id, pre_locate=lambda s: True
):
for specs, handled_by in self._iter_inheritance_specs(specs_tree): for specs, handled_by in self._iter_inheritance_specs(specs_tree):
source = handled_by(source, specs, inherit_id) source = handled_by(source, specs, inherit_id)
return source return source