From bfebd3ff85694804bc45c05947e31304343b106c 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 d35524ff25..fdfada3e33 100644 --- a/production.py +++ b/production.py @@ -477,7 +477,7 @@ class Production(Workflow, ModelSQL, ModelView): move_obj.create(values) cost += Decimal(str(quantity)) * product.cost_price - if hasatttr(product_obj, 'cost_price'): + if hasattr(product_obj, 'cost_price'): digits = product_obj.cost_price.digits else: digits = template_obj.cost_price.digits