(transplanted from 6b4def25e4a2dbda01cd83034f301912440dfc03)
This commit is contained in:
Cédric Krier committed 2012-12-17 23:52:07 +01:00
1 parent 91a4fb4520
commit 3bee5e052c
1 file changed
+1 -1
+1 -1
View File
@@ -416,7 +416,7 @@ class Production(Workflow, ModelSQL, ModelView):
move.save()
cost += Decimal(str(quantity)) * product.cost_price
if hasatttr(Product, 'cost_price'):
if hasattr(Product, 'cost_price'):
digits = Product.cost_price.digits
else:
digits = Template.cost_price.digits