From 82d6ca2363af349d9a3b71a04863b53fadeae0df Mon Sep 17 00:00:00 2001 From: "Amit Bhavsar (Open ERP)" Date: Thu, 28 Nov 2013 11:51:51 +0530 Subject: [PATCH] [imp] add help,typo,improve search and change menu sequence. bzr revid: amb@tinyerp.com-20131128062151-1614s0dmll83i5q6 --- addons/product/product.py | 4 ++-- addons/product/product_view.xml | 17 +++++++++-------- addons/product/security/product_security.xml | 2 +- addons/stock/stock_view.xml | 8 +++++++- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/addons/product/product.py b/addons/product/product.py index ca808064e59..6f823b2cd23 100644 --- a/addons/product/product.py +++ b/addons/product/product.py @@ -683,8 +683,8 @@ class product_product(osv.osv): 'product_tmpl_id': fields.many2one('product.template', 'Product Template', required=True, ondelete="cascade", select=True), 'ean13': fields.char('EAN13 Barcode', size=13, help="International Article Number used for product identification."), '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')), + 'price_extra': fields.float('Variant Price Extra', digits_compute=dp.get_precision('Product Price'), help="Price Extra: Extra price for the variant on sale price. eg. 200 price extra, 1000 + 200 = 1200."), + 'price_margin': fields.float('Variant Price Margin', digits_compute=dp.get_precision('Product Price'), help="Price Margin: Margin in percentage on sale price for the variant. eg. 10% price margin, 1000 + 10% = 1100."), 'pricelist_id': fields.dummy(string='Pricelist', relation='product.pricelist', type='many2one'), 'name_template': fields.related('product_tmpl_id', 'name', string="Template Name", type='char', size=128, store={ 'product.template': (_get_name_template_ids, ['name'], 10), diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 2c143ede784..0d4145d14bc 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -23,7 +23,7 @@ - + @@ -37,7 +37,7 @@ - + @@ -297,8 +297,8 @@ - - + + Products @@ -395,7 +395,7 @@ action="product_category_action" id="product.menu_products_category" parent="base.menu_product" - sequence="0" groups="base.group_no_one"/> + sequence="1" groups="base.group_no_one"/> Product Categories ir.actions.act_window @@ -609,7 +609,7 @@ + action="product_ul_form_action" groups="product.group_stock_packaging" id="menu_product_ul_form_action" parent="prod_config_main" sequence="5"/> product.packaging.tree.view @@ -704,6 +704,7 @@ product.product + @@ -774,7 +775,7 @@ - + @@ -850,7 +851,7 @@ - + diff --git a/addons/product/security/product_security.xml b/addons/product/security/product_security.xml index 3cb54f84d47..b711720f49c 100644 --- a/addons/product/security/product_security.xml +++ b/addons/product/security/product_security.xml @@ -5,7 +5,7 @@ DO NOT CHANGE IT IN TRUNK --> - Product Variant (not supported) + Manage Product Variant diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index c48a7cf0f2b..f74a536ca19 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -23,9 +23,15 @@ + + + id="menu_product_packaging_stock_action" parent="stock.menu_product_in_config_stock" sequence="3"/>