diff --git a/trytond/trytond/ir/ui/view.py b/trytond/trytond/ir/ui/view.py index 6dc153b578..24c2df76dc 100644 --- a/trytond/trytond/ir/ui/view.py +++ b/trytond/trytond/ir/ui/view.py @@ -347,7 +347,7 @@ class View( position = element.get('position', 'inside') new_tree = getattr(cls, '_inherit_apply_%s' % position)( tree, element, target) - if new_tree: + if new_tree is not None: tree = new_tree return tree