From 27255d1a44ffb90f0c312f489675721ab5412fa8 Mon Sep 17 00:00:00 2001 From: "ron@tinyerp.com" <> Date: Wed, 23 Mar 2011 17:38:18 +0530 Subject: [PATCH] [FIX]product:the same field twice in _defaults of project.template lp bug: https://launchpad.net/bugs/740858 fixed bzr revid: ron@tinyerp.com-20110323120818-49l3m94rw35pcwhj --- addons/product/product.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/product/product.py b/addons/product/product.py index a085e4d15ed..bab6b5f5cc1 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -325,7 +325,6 @@ class product_template(osv.osv): _defaults = { 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'product.template', context=c), - 'type': lambda *a: 'product', 'list_price': lambda *a: 1, 'cost_method': lambda *a: 'standard', 'supply_method': lambda *a: 'buy',