From 168205b1b0c2b449fd69f7de60c5c19d756b21b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 23 Aug 2012 23:18:16 +0200 Subject: [PATCH] Add missing default value for consumable issue2755 review477002 (transplanted from 73af8be8415d414644f3656b3bf44dc3956b3222) --- product.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product.py b/product.py index 088d1868de..90114b152a 100644 --- a/product.py +++ b/product.py @@ -77,6 +77,9 @@ class Template(ModelSQL, ModelView): def default_type(self): return 'goods' + def default_consumable(self): + return False + def default_cost_price_method(self): return 'fixed'