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 52f935a0760..ab7568d704e 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 d04f308bc4b..69522981abb 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -282,7 +282,6 @@ class product_template(osv.osv): 'description_sale': fields.text('Sale Description',translate=True), 'type': fields.selection([('product','Stockable Product'),('consu', 'Consumable'),('service','Service')], 'Product Type', required=True, help="Will change the way procurements are processed. Consumable are product where you don't manage stock."), 'supply_method': fields.selection([('produce','Manufacture'),('buy','Buy')], 'Supply Method', required=True, help="Produce will generate production order or tasks, according to the product type. Buy will trigger purchase orders when requested."), - 'sale_delay': fields.float('Customer Lead Time', help="This is the average delay in days between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."), 'produce_delay': fields.float('Manufacturing Lead Time', help="Average delay in days to produce this product. This is only for the production order and, if it is a multi-level bill of material, it's only for the level of this product. Different lead times will be summed for all levels and purchase orders."), 'procure_method': fields.selection([('make_to_stock','Make to Stock'),('make_to_order','Make to Order')], 'Procurement Method', required=True, help="'Make to Stock': When needed, take from the stock or wait until re-supplying. 'Make to Order': When needed, purchase or produce for the procurement request."), 'rental': fields.boolean('Can be Rent'), @@ -296,7 +295,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'), @@ -311,9 +309,6 @@ class product_template(osv.osv): ' uos = uom * coeff'), 'mes_type': fields.selection((('fixed', 'Fixed'), ('variable', 'Variable')), 'Measure Type', required=True), '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), } @@ -356,9 +351,7 @@ class product_template(osv.osv): 'supply_method': lambda *a: 'buy', '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, 'procure_method': lambda *a: 'make_to_stock', 'uom_id': _get_uom_id, 'uom_po_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 8c19aee026f..cedaa279991 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -12,9 +12,7 @@ - - @@ -73,8 +71,6 @@
@@ -144,13 +140,7 @@ - - - - - - - + @@ -160,10 +150,6 @@ -