From 6f28fde4ae74f368b9017b41d49c89f309a63021 Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Tue, 21 Aug 2012 12:07:18 +0530 Subject: [PATCH 01/12] [IMP]Renamed EAN13,supply method visible only when mrp is installed and suppliers tab comes when purchase is installed bzr revid: dhr@tinyerp.com-20120821063718-uobafa8ij65an5b0 --- addons/mrp/mrp_view.xml | 3 +++ addons/product/product.py | 2 +- addons/product/product_view.xml | 4 ---- addons/purchase/purchase_view.xml | 15 +++++++++++++++ 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index c394544574d..30480901b29 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -987,6 +987,9 @@ product.product + + + diff --git a/addons/product/product.py b/addons/product/product.py index ae99711a5ec..586d241d998 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -526,7 +526,7 @@ class product_product(osv.osv): 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the product without removing it."), 'variants': fields.char('Variants', size=64), 'product_tmpl_id': fields.many2one('product.template', 'Product Template', required=True, ondelete="cascade"), - 'ean13': fields.char('EAN13', size=13, help="The numbers encoded in EAN-13 bar codes are product identification numbers."), + 'ean13': fields.char('EAN13/Code', size=13, help="The numbers encoded in EAN-13 bar codes are product identification numbers."), 'packaging' : fields.one2many('product.packaging', 'product_id', 'Logistical Units', help="Gives the different ways to package the same product. This has no impact on the picking order and is mainly used if you use the EDI module."), 'price_extra': fields.float('Variant Price Extra', digits_compute=dp.get_precision('Product Price')), 'price_margin': fields.float('Variant Price Margin', digits_compute=dp.get_precision('Product Price')), diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 70651a0a795..871283791ef 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -87,7 +87,6 @@ - @@ -137,9 +136,6 @@ - - - diff --git a/addons/purchase/purchase_view.xml b/addons/purchase/purchase_view.xml index aec55bf93c2..f513e2a60e8 100644 --- a/addons/purchase/purchase_view.xml +++ b/addons/purchase/purchase_view.xml @@ -554,5 +554,20 @@ + + + + + product.normal.supplier.form.inherit + product.product + + + + + + + + + From 95517df97cddd164a80ebe3d0836a45d60a04c74 Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Tue, 21 Aug 2012 14:13:50 +0530 Subject: [PATCH 02/12] [IMP]Changes in event_sale_view and purchase_requisition as per changes in supply_method bzr revid: dhr@tinyerp.com-20120821084350-487odxa5rk2k9nze --- addons/event_sale/event_sale_view.xml | 2 +- addons/purchase_requisition/purchase_requisition_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/event_sale/event_sale_view.xml b/addons/event_sale/event_sale_view.xml index 82c1c05b714..53e8a4cc18f 100644 --- a/addons/event_sale/event_sale_view.xml +++ b/addons/event_sale/event_sale_view.xml @@ -9,7 +9,7 @@ - + diff --git a/addons/purchase_requisition/purchase_requisition_view.xml b/addons/purchase_requisition/purchase_requisition_view.xml index 188f81b6cbe..a1b270934e2 100644 --- a/addons/purchase_requisition/purchase_requisition_view.xml +++ b/addons/purchase_requisition/purchase_requisition_view.xml @@ -182,7 +182,7 @@ product.product - + From d1ef48537c2959b115a3133b7ed09c546b1c9b85 Mon Sep 17 00:00:00 2001 From: "Dharti Ratani (OpenERP)" Date: Tue, 21 Aug 2012 15:46:37 +0530 Subject: [PATCH 03/12] [IMP]Change made for procurement method and stock and expected variations section to appear only for stockable product bzr revid: dhr@tinyerp.com-20120821101637-o83hcputt5y3d9n9 --- addons/product/product_view.xml | 2 +- addons/stock/product_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 871283791ef..2559b127dda 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -86,7 +86,7 @@ - + diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index 1efc552bfa6..abad5b9ec21 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -98,7 +98,7 @@ - +