From 13b4cdd52097687d0e0439fd3a514c4eb3e3cae5 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Thu, 21 Aug 2008 19:03:07 +0200 Subject: [PATCH] Small improvement in product state bzr revid: fp@tinyerp.com-20080821170307-oc3599xwzj61s5ah --- addons/product/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/product/product.py b/addons/product/product.py index 77878dcfb93..a2cf5cd338c 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -262,7 +262,7 @@ class product_template(osv.osv): 'purchase_ok': fields.boolean('Can be Purchased', help="Determine if the product is visible in the list of products within a selection from a purchase order line."), 'uom_id': fields.many2one('product.uom', 'Default UOM', required=True), 'uom_po_id': fields.many2one('product.uom', 'Purchase UOM', required=True), - 'state': fields.selection([('draft', 'In Development'),('sellable','In Production'),('end','End of Lifecycle'),('obsolete','Obsolete')], 'Status', help="Tells the user if he can use the product or not."), + 'state': fields.selection([('',''),('draft', 'In Development'),('sellable','In Production'),('end','End of Lifecycle'),('obsolete','Obsolete')], 'Status', help="Tells the user if he can use the product or not."), 'uos_id' : fields.many2one('product.uom', 'Unit of Sale', help='Keep empty to use the default UOM'), 'uos_coeff': fields.float('UOM -> UOS Coeff', digits=(16,4),