Commit fbef98dd authored by Jérome Perrin's avatar Jérome Perrin

ERP5: fix returned value type of Transformation.getQuantity

This is just to make property type validity constraint happy
parent af5be6e1
......@@ -101,7 +101,7 @@ class Transformation(MappedValue, VariatedMixin, Amount, AmountGeneratorMixin):
def getQuantity(self, default=None):
# Used for amount generation
# (Transformation is defined for 1 unit of target resource)
return 1
return 1.
# Predicate Value implementation
# asPredicate takes into account the resource
......
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