From c0a72b34914436bcee627d829ac7e89f3cac87f9 Mon Sep 17 00:00:00 2001 From: Darshan Kalola Date: Thu, 25 Jul 2013 11:44:42 +0530 Subject: [PATCH] [IMP]improve help of sales and General-setting menus in setting/configuration bzr revid: darshankalola@gmail.com-20130725061442-kchwc3eattox148j --- addons/base_setup/res_config.py | 4 ++-- addons/sale/res_config.py | 4 ++-- addons/sale_stock/res_config.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/base_setup/res_config.py b/addons/base_setup/res_config.py index 82828e5f30d..c7f6d4245ec 100644 --- a/addons/base_setup/res_config.py +++ b/addons/base_setup/res_config.py @@ -26,8 +26,8 @@ class base_config_settings(osv.osv_memory): _inherit = 'res.config.settings' _columns = { 'module_multi_company': fields.boolean('Manage multiple companies', - help="""Work in multi-company environments, with appropriate security access between companies. - This installs the module multi_company."""), + help='Work in multi-company environments, with appropriate security access between companies.\n' + 'This installs the module multi_company.'), 'module_share': fields.boolean('Allow documents sharing', help="""Share or embbed any screen of openerp."""), 'module_portal': fields.boolean('Activate the customer portal', diff --git a/addons/sale/res_config.py b/addons/sale/res_config.py index d570dfc8183..fe81a7cc6d8 100644 --- a/addons/sale/res_config.py +++ b/addons/sale/res_config.py @@ -76,8 +76,8 @@ Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), 'This installs the module analytic_user_function.'), 'module_project': fields.boolean("Project"), 'module_sale_stock': fields.boolean("Trigger delivery orders automatically from sales orders", - help="""Allows you to Make Quotation, Sale Order using different Order policy and Manage Related Stock. - This installs the module sale_stock."""), + help='Allows you to Make Quotation, Sale Order using different Order policy and Manage Related Stock.\n' + 'This installs the module sale_stock.'), } def default_get(self, cr, uid, fields, context=None): diff --git a/addons/sale_stock/res_config.py b/addons/sale_stock/res_config.py index ae81989aa52..76cfbcb6fd3 100644 --- a/addons/sale_stock/res_config.py +++ b/addons/sale_stock/res_config.py @@ -42,9 +42,9 @@ class sale_configuration(osv.osv_memory): 'The default invoicing method is', default_model='sale.order', help="You can generate invoices based on sales orders or based on shippings."), 'module_delivery': fields.boolean('Allow adding shipping costs', - help ="""Allows you to add delivery methods in sales orders and delivery orders. - You can define your own carrier and delivery grids for prices. - This installs the module delivery."""), + help ='Allows you to add delivery methods in sales orders and delivery orders.\n' + 'You can define your own carrier and delivery grids for prices.\n' + 'This installs the module delivery.'), 'default_picking_policy' : fields.boolean("Deliver all at once when all products are available.", help = "Sales order by default will be configured to deliver all products at once instead of delivering each product when it is available. This may have an impact on the shipping price."), 'group_mrp_properties': fields.boolean('Product properties on order lines',