diff --git a/addons/product/product.py b/addons/product/product.py index 6acf1ac526b..3e5a65925f0 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -288,7 +288,7 @@ class product_template(osv.osv): 'rental': fields.boolean('Can be Rent'), 'categ_id': fields.many2one('product.category','Category', required=True, change_default=True, domain="[('type','=','normal')]" ,help="Select category for the current product"), 'list_price': fields.float('Sale Price', digits_compute=dp.get_precision('Product Price'), help="Base price for computing the customer price. Sometimes called the catalog price."), - 'standard_price': fields.float('Cost', required=True, digits_compute=dp.get_precision('Product Price'), help="Product's cost for accounting stock valuation. It is the base price for the supplier price.", groups="base.group_user"), + 'standard_price': fields.float('Cost', digits_compute=dp.get_precision('Product Price'), help="Product's cost for accounting stock valuation. It is the base price for the supplier price.", groups="base.group_user"), 'volume': fields.float('Volume', help="The volume in m3."), 'weight': fields.float('Gross Weight', digits_compute=dp.get_precision('Stock Weight'), help="The gross weight in Kg."), 'weight_net': fields.float('Net Weight', digits_compute=dp.get_precision('Stock Weight'), help="The net weight in Kg."), @@ -354,7 +354,7 @@ class product_template(osv.osv): 'list_price': lambda *a: 1, 'cost_method': lambda *a: 'standard', 'supply_method': lambda *a: 'buy', - 'standard_price': lambda *a: 1, + 'standard_price': lambda *a: 0.0, 'sale_ok': lambda *a: 1, 'sale_delay': lambda *a: 7, 'produce_delay': lambda *a: 1, diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 8d77a9844b0..702fa98060b 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -85,8 +85,6 @@ - - @@ -109,6 +107,8 @@ + +