diff --git a/production.py b/production.py index f0a2c08f08..b24e657c09 100644 --- a/production.py +++ b/production.py @@ -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