diff --git a/addons/account/product_view.xml b/addons/account/product_view.xml index 5f417825032..4d64af3e154 100644 --- a/addons/account/product_view.xml +++ b/addons/account/product_view.xml @@ -14,8 +14,8 @@ - - + + diff --git a/addons/event_sale/event_sale_view.xml b/addons/event_sale/event_sale_view.xml index c37956d4e39..174f82f9b6b 100644 --- a/addons/event_sale/event_sale_view.xml +++ b/addons/event_sale/event_sale_view.xml @@ -6,10 +6,10 @@ product.product - +
+
diff --git a/addons/hr_expense/hr_expense_view.xml b/addons/hr_expense/hr_expense_view.xml index 388e5262f6e..397ca83066b 100644 --- a/addons/hr_expense/hr_expense_view.xml +++ b/addons/hr_expense/hr_expense_view.xml @@ -195,10 +195,10 @@ product.product - +
+
diff --git a/addons/product/product.py b/addons/product/product.py index 20f75181f57..6bf26a45d24 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -294,7 +294,6 @@ class product_template(osv.osv): help="Standard Price: the cost price is fixed and recomputed periodically (usually at the end of the year), Average Price: the cost price is recomputed at each reception of products."), 'warranty': fields.float('Warranty'), 'sale_ok': fields.boolean('Can be Sold', help="Determines if the product can be visible in the list of product within a selection from a sale order line."), - '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."), 'state': fields.selection([('',''), ('draft', 'In Development'), ('sellable','Normal'), @@ -309,9 +308,6 @@ class product_template(osv.osv): ' uos = uom * coeff'), 'mes_type': fields.selection((('fixed', 'Fixed'), ('variable', 'Variable')), 'Measure Type'), 'seller_ids': fields.one2many('product.supplierinfo', 'product_id', 'Partners'), - 'loc_rack': fields.char('Rack', size=16), - 'loc_row': fields.char('Row', size=16), - 'loc_case': fields.char('Case', size=16), 'company_id': fields.many2one('res.company', 'Company', select=1), } @@ -353,7 +349,6 @@ class product_template(osv.osv): 'cost_method': lambda *a: 'standard', 'standard_price': lambda *a: 0.0, 'sale_ok': lambda *a: 1, - 'sale_delay': lambda *a: 7, 'produce_delay': lambda *a: 1, 'purchase_ok': lambda *a: 1, 'uom_id': _get_uom_id, diff --git a/addons/product/product_data.xml b/addons/product/product_data.xml index 9808fa732e9..0d519190e86 100644 --- a/addons/product/product_data.xml +++ b/addons/product/product_data.xml @@ -197,7 +197,6 @@ parameter) will see those record just disappear. Service service - diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index cc2b2b9fb63..32d6711d386 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -12,9 +12,7 @@ - - @@ -73,8 +71,6 @@
@@ -142,13 +138,7 @@ - - - - - - - + @@ -158,10 +148,6 @@ -