From 7edf7aa42071d658d4f960493819f54ee57281be Mon Sep 17 00:00:00 2001 From: "pankita shah (Open ERP)" Date: Tue, 9 Oct 2012 12:08:14 +0530 Subject: [PATCH] [IMP] hide label when click in 'based on' except 'other pricelist' and improve 'Other Pricelist' bzr revid: shp@tinyerp.com-20121009063814-qm2kh936zfssojck --- addons/product/pricelist.py | 2 +- addons/product/pricelist_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index 3bc6e6d6814..f5c69c7acf7 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -410,7 +410,7 @@ class product_pricelist_item(osv.osv): 'min_quantity': fields.integer('Min. Quantity', required=True, help="The rule only applies if the partner buys/sells equal to or more than this quantity."), 'sequence': fields.integer('Sequence', required=True, help="Gives the order in which the pricelist items will be checked. The evaluation gives highest priority to lowest sequence and stops as soon as a matching item is found."), 'base': fields.selection(_price_field_get, 'Based on', required=True, size=-1, help="The mode for computing the price for this rule."), - 'base_pricelist_id': fields.many2one('product.pricelist', 'If Other Pricelist'), + 'base_pricelist_id': fields.many2one('product.pricelist', 'Other Pricelist'), 'price_surcharge': fields.float('Price Surcharge', digits_compute= dp.get_precision('Product Price'), help='Specify the fixed amount to add or substract(if negative) to the amount calculated with the discount.'), diff --git a/addons/product/pricelist_view.xml b/addons/product/pricelist_view.xml index 01cb4dc54eb..a1b996b891b 100644 --- a/addons/product/pricelist_view.xml +++ b/addons/product/pricelist_view.xml @@ -92,7 +92,7 @@ - +