From 3bee5e052c2b39517c54affeaa8d1ea7b272bd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 17 Dec 2012 23:52:07 +0100 Subject: [PATCH] Fix typo (transplanted from 6b4def25e4a2dbda01cd83034f301912440dfc03) --- production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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