Commit 37e003d9 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[views] UnitBusinessValueEntityView doesn't apply to Shape

since it does not have a unit.

Closes #17085681
parent 8e9585bcc97c
......@@ -311,7 +311,7 @@ class RelationshipReverseEntityView(view.EntityView):
class UnitBusinessValueEntityView(viewlib.BusinessValueEntityView):
__select__ = is_instance('SEDAWidth', 'SEDAHeight', 'SEDADepth', 'SEDAShape',
__select__ = is_instance('SEDAWidth', 'SEDAHeight', 'SEDADepth',
'SEDADiameter', 'SEDALength', 'SEDAThickness', 'SEDAWeight')
def entity_call(self, entity):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment