From 3cf3519e82efe735f5228bc83bced6366ec895af Mon Sep 17 00:00:00 2001 From: Darshan Kalola Date: Wed, 24 Jul 2013 19:15:48 +0530 Subject: [PATCH] [IMP]improve help of setting/configuration menus bzr revid: darshankalola@gmail.com-20130724134548-jmgot5zt3xpcx1ct --- addons/account/res_config.py | 36 +++++++------- addons/base_setup/res_config.py | 21 ++++---- addons/crm/res_config.py | 4 +- addons/hr_recruitment/res_config.py | 8 ++-- addons/hr_timesheet_sheet/res_config.py | 4 +- addons/knowledge/res_config.py | 14 +++--- addons/marketing/res_config.py | 14 +++--- addons/mrp/res_config.py | 64 ++++++++++++------------- addons/project/res_config.py | 34 ++++++------- addons/purchase/res_config.py | 28 +++++------ addons/sale/res_config.py | 42 ++++++++-------- addons/sale_stock/res_config.py | 8 ++-- addons/stock/res_config.py | 26 +++++----- 13 files changed, 151 insertions(+), 152 deletions(-) diff --git a/addons/account/res_config.py b/addons/account/res_config.py index 89d238b16e9..edb34f54be2 100644 --- a/addons/account/res_config.py +++ b/addons/account/res_config.py @@ -81,31 +81,31 @@ class account_config_settings(osv.osv_memory): 'purchase_refund_sequence_next': fields.related('purchase_refund_journal_id', 'sequence_id', 'number_next', type='integer', string='Next supplier credit note number'), 'module_account_check_writing': fields.boolean('Pay your suppliers by check', - help="""This allows you to check writing and printing. - This installs the module account_check_writing."""), + help='This allows you to check writing and printing.\n' + 'This installs the module account_check_writing.'), 'module_account_accountant': fields.boolean('Full accounting features: journals, legal statements, chart of accounts, etc.', help="""If you do not check this box, you will be able to do invoicing & payments, but not accounting (Journal Items, Chart of Accounts, ...)"""), 'module_account_asset': fields.boolean('Assets management', - help="""This allows you to manage the assets owned by a company or a person. - It keeps track of the depreciation occurred on those assets, and creates account move for those depreciation lines. - This installs the module account_asset. If you do not check this box, you will be able to do invoicing & payments, - but not accounting (Journal Items, Chart of Accounts, ...)"""), + help='This allows you to manage the assets owned by a company or a person.\n' + 'It keeps track of the depreciation occurred on those assets, and creates account move for those depreciation lines.\n' + 'This installs the module account_asset. If you do not check this box, you will be able to do invoicing & payments, ' + 'but not accounting (Journal Items, Chart of Accounts, ...)'), 'module_account_budget': fields.boolean('Budget management', - help="""This allows accountants to manage analytic and crossovered budgets. - Once the master budgets and the budgets are defined, - the project managers can set the planned amount on each analytic account. - This installs the module account_budget."""), + help='This allows accountants to manage analytic and crossovered budgets. ' + 'Once the master budgets and the budgets are defined, ' + 'the project managers can set the planned amount on each analytic account.\n' + 'This installs the module account_budget.'), 'module_account_payment': fields.boolean('Manage payment orders', - help="""This allows you to create and manage your payment orders, with purposes to - * serve as base for an easy plug-in of various automated payment mechanisms, and - * provide a more efficient way to manage invoice payments. - This installs the module account_payment."""), + help='This allows you to create and manage your payment orders, with purposes to \n' + '* serve as base for an easy plug-in of various automated payment mechanisms, and \n' + '* provide a more efficient way to manage invoice payments.\n' + 'This installs the module account_payment.' ), 'module_account_voucher': fields.boolean('Manage customer payments', - help="""This includes all the basic requirements of voucher entries for bank, cash, sales, purchase, expense, contra, etc. - This installs the module account_voucher."""), + help='This includes all the basic requirements of voucher entries for bank, cash, sales, purchase, expense, contra, etc.\n' + 'This installs the module account_voucher.'), 'module_account_followup': fields.boolean('Manage customer payment follow-ups', - help="""This allows to automate letters for unpaid invoices, with multi-level recalls. - This installs the module account_followup."""), + help='This allows to automate letters for unpaid invoices, with multi-level recalls.\n' + 'This installs the module account_followup.'), 'group_proforma_invoices': fields.boolean('Allow pro-forma invoices', implied_group='account.group_proforma_invoices', help="Allows you to put invoices in pro-forma state."), diff --git a/addons/base_setup/res_config.py b/addons/base_setup/res_config.py index 6b8578bbf47..82828e5f30d 100644 --- a/addons/base_setup/res_config.py +++ b/addons/base_setup/res_config.py @@ -64,18 +64,17 @@ class sale_config_settings(osv.osv_memory): 'module_crm': fields.boolean('CRM'), 'module_sale' : fields.boolean('SALE'), 'module_plugin_thunderbird': fields.boolean('Enable Thunderbird plug-in', - help="""The plugin allows you archive email and its attachments to the selected - OpenERP objects. You can select a partner, or a lead and - attach the selected mail as a .eml file in - the attachment of a selected record. You can create documents for CRM Lead, - Partner from the selected emails. - This installs the module plugin_thunderbird."""), + help='The plugin allows you archive email and its attachments to the selected ' + 'OpenERP objects. You can select a partner, or a lead and ' + 'attach the selected mail as a .eml file in ' + 'the attachment of a selected record. You can create documents for CRM Lead, ' + 'Partner from the selected emails.\n' + 'This installs the module plugin_thunderbird.'), 'module_plugin_outlook': fields.boolean('Enable Outlook plug-in', - help="""The Outlook plugin allows you to select an object that you would like to add - to your email and its attachments from MS Outlook. You can select a partner, - or a lead object and archive a selected - email into an OpenERP mail message with attachments. - This installs the module plugin_outlook."""), + help='The Outlook plugin allows you to select an object that you would like to add ' + 'to your email and its attachments from MS Outlook. You can select a partner, ' + 'or a lead object and archive a selected email into an OpenERP mail message with attachments.\n' + 'This installs the module plugin_outlook.'), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm/res_config.py b/addons/crm/res_config.py index ea37c24fe06..622af04ef75 100644 --- a/addons/crm/res_config.py +++ b/addons/crm/res_config.py @@ -58,8 +58,8 @@ class crm_configuration(osv.TransientModel): implied_group='crm.group_fund_raising', help="""Allows you to trace and manage your activities for fund raising."""), 'module_crm_claim': fields.boolean("Manage Customer Claims", - help="""Allows you to track your customers/suppliers claims and grievances. - This installs the module crm_claim."""), + help='Allows you to track your customers/suppliers claims and grievances.\n' + 'This installs the module crm_claim.'), 'module_crm_helpdesk': fields.boolean("Manage Helpdesk and Support", help="""Allows you to communicate with Customer, process Customer query, and provide better help and support. This installs the module crm_helpdesk."""), 'group_multi_salesteams': fields.boolean("Organize Sales activities into multiple Sales Teams", diff --git a/addons/hr_recruitment/res_config.py b/addons/hr_recruitment/res_config.py index ac53bf74ff3..a15ae541e7f 100644 --- a/addons/hr_recruitment/res_config.py +++ b/addons/hr_recruitment/res_config.py @@ -27,11 +27,11 @@ class hr_applicant_settings(osv.osv_memory): _columns = { 'module_document_ftp': fields.boolean('Allow the automatic indexation of resumes', - help="""Manage your CV's and motivation letter related to all applicants. - This installs the module document_ftp. This will install the knowledge management module in order to allow you to search using specific keywords through the content of all documents (PDF, .DOCx...)"""), + help='Manage your CV\'s and motivation letter related to all applicants.\n' + 'This installs the module document_ftp. This will install the knowledge management module in order to allow you to search using specific keywords through the content of all documents (PDF, .DOCx...)'), 'fetchmail_applicants': fields.boolean('Create applicants from an incoming email account', fetchmail_model='hr.applicant', fetchmail_name='Incoming HR Applications', - help ="""Allow applicants to send their job application to an email address (jobs@mycompany.com), - and create automatically application documents in the system."""), + help ='Allow applicants to send their job application to an email address (jobs@mycompany.com), ' + 'and create automatically application documents in the system.'), } diff --git a/addons/hr_timesheet_sheet/res_config.py b/addons/hr_timesheet_sheet/res_config.py index e767b4da8fa..f3ef5b8496a 100644 --- a/addons/hr_timesheet_sheet/res_config.py +++ b/addons/hr_timesheet_sheet/res_config.py @@ -28,8 +28,8 @@ class hr_timesheet_settings(osv.osv_memory): 'timesheet_range': fields.selection([('day','Day'),('week','Week'),('month','Month')], 'Validate timesheets every', help="Periodicity on which you validate your timesheets."), 'timesheet_max_difference': fields.float('Allow a difference of time between timesheets and attendances of (in hours)', - help="""Allowed difference in hours between the sign in/out and the timesheet - computation for one sheet. Set this to 0 if you do not want any control."""), + help='Allowed difference in hours between the sign in/out and the timesheet ' + 'computation for one sheet. Set this to 0 if you do not want any control.'), } def get_default_timesheet(self, cr, uid, fields, context=None): diff --git a/addons/knowledge/res_config.py b/addons/knowledge/res_config.py index fddbb5ebdc3..fd033772133 100644 --- a/addons/knowledge/res_config.py +++ b/addons/knowledge/res_config.py @@ -28,15 +28,15 @@ class knowledge_config_settings(osv.osv_memory): 'module_document_page': fields.boolean('Create static web pages', help="""This installs the module document_page."""), 'module_document': fields.boolean('Manage documents', - help="""This is a complete document management system, with: user authentication, - full document search (but pptx and docx are not supported), and a document dashboard. - This installs the module document."""), + help='This is a complete document management system, with: user authentication, ' + 'full document search (but pptx and docx are not supported), and a document dashboard.\n' + 'This installs the module document.'), 'module_document_ftp': fields.boolean('Share repositories (FTP)', - help="""Access your documents in OpenERP through an FTP interface. - This installs the module document_ftp."""), + help='Access your documents in OpenERP through an FTP interface.\n' + 'This installs the module document_ftp.'), 'module_document_webdav': fields.boolean('Share repositories (WebDAV)', - help="""Access your documents in OpenERP through WebDAV. - This installs the module document_webdav."""), + help='Access your documents in OpenERP through WebDAV.\n' + 'This installs the module document_webdav.'), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/marketing/res_config.py b/addons/marketing/res_config.py index 3c161c4d0d6..3d8eaf71fe6 100644 --- a/addons/marketing/res_config.py +++ b/addons/marketing/res_config.py @@ -26,15 +26,15 @@ class marketing_config_settings(osv.osv_memory): _inherit = 'res.config.settings' _columns = { 'module_marketing_campaign': fields.boolean('Marketing campaigns', - help="""Provides leads automation through marketing campaigns. - Campaigns can in fact be defined on any resource, not just CRM leads. - This installs the module marketing_campaign."""), + help='Provides leads automation through marketing campaigns. ' + 'Campaigns can in fact be defined on any resource, not just CRM leads.\n' + 'This installs the module marketing_campaign.'), 'module_marketing_campaign_crm_demo': fields.boolean('Demo data for marketing campaigns', - help="""Installs demo data like leads, campaigns and segments for Marketing Campaigns. - This installs the module marketing_campaign_crm_demo."""), + help='Installs demo data like leads, campaigns and segments for Marketing Campaigns.\n' + 'This installs the module marketing_campaign_crm_demo.'), 'module_crm_profiling': fields.boolean('Track customer profile to focus your campaigns', - help="""Allows users to perform segmentation within partners. - This installs the module crm_profiling."""), + help='Allows users to perform segmentation within partners.\n' + 'This installs the module crm_profiling.'), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/mrp/res_config.py b/addons/mrp/res_config.py index 22a14addcd1..7f54999e15b 100644 --- a/addons/mrp/res_config.py +++ b/addons/mrp/res_config.py @@ -28,48 +28,48 @@ class mrp_config_settings(osv.osv_memory): _columns = { 'module_mrp_repair': fields.boolean("Manage repairs of products ", - help="""Allows to manage all product repairs. - * Add/remove products in the reparation - * Impact for stocks - * Invoicing (products and/or services) - * Warranty concept - * Repair quotation report - * Notes for the technician and for the final customer. - This installs the module mrp_repair."""), + help='Allows to manage all product repairs.\n' + '* Add/remove products in the reparation\n' + '* Impact for stocks\n' + '* Invoicing (products and/or services)\n' + '* Warranty concept\n' + '* Repair quotation report\n' + '* Notes for the technician and for the final customer.\n' + 'This installs the module mrp_repair.'), 'module_mrp_operations': fields.boolean("Allow detailed planning of work order", - help="""This allows to add state, date_start,date_stop in production order operation lines (in the "Work Centers" tab). - This installs the module mrp_operations."""), + help='This allows to add state, date_start,date_stop in production order operation lines (in the "Work Centers" tab).\n' + 'This installs the module mrp_operations.'), 'module_mrp_byproduct': fields.boolean("Produce several products from one manufacturing order", - help="""You can configure by-products in the bill of material. - Without this module: A + B + C -> D. - With this module: A + B + C -> D + E. - This installs the module mrp_byproduct."""), + help='You can configure by-products in the bill of material.\n' + 'Without this module: A + B + C -> D.\n' + 'With this module: A + B + C -> D + E.\n' + 'This installs the module mrp_byproduct.'), 'module_mrp_jit': fields.boolean("Generate procurement in real time", - help="""This allows Just In Time computation of procurement orders. - All procurement orders will be processed immediately, which could in some - cases entail a small performance impact. - This installs the module mrp_jit."""), + help='This allows Just In Time computation of procurement orders.\n' + 'All procurement orders will be processed immediately, which could in some ' + 'cases entail a small performance impact.\n' + 'This installs the module mrp_jit.'), 'module_stock_no_autopicking': fields.boolean("Manage manual picking to fulfill manufacturing orders ", - help="""This module allows an intermediate picking process to provide raw materials to production orders. - For example to manage production made by your suppliers (sub-contracting). - To achieve this, set the assembled product which is sub-contracted to "No Auto-Picking" - and put the location of the supplier in the routing of the assembly operation. - This installs the module stock_no_autopicking."""), + help='This module allows an intermediate picking process to provide raw materials to production orders.\n' + 'For example to manage production made by your suppliers (sub-contracting).\n' + 'To achieve this, set the assembled product which is sub-contracted to "No Auto-Picking" ' + 'and put the location of the supplier in the routing of the assembly operation.\n' + 'This installs the module stock_no_autopicking.'), 'group_mrp_routings': fields.boolean("Manage routings and work orders ", implied_group='mrp.group_mrp_routings', - help="""Routings allow you to create and manage the manufacturing operations that should be followed - within your work centers in order to produce a product. They are attached to bills of materials - that will define the required raw materials."""), + help='Routings allow you to create and manage the manufacturing operations that should be followed ' + 'within your work centers in order to produce a product. They are attached to bills of materials ' + 'that will define the required raw materials.'), 'group_mrp_properties': fields.boolean("Allow several bill of materials per products using properties", implied_group='product.group_mrp_properties', help="""The selection of the right Bill of Material to use will depend on the properties specified on the sales order and the Bill of Material."""), 'module_product_manufacturer': fields.boolean("Define manufacturers on products ", - help="""This allows you to define the following for a product: - * Manufacturer - * Manufacturer Product Name - * Manufacturer Product Code - * Product Attributes. - This installs the module product_manufacturer."""), + help='This allows you to define the following for a product:\n' + '* Manufacturer\n' + '* Manufacturer Product Name\n' + '* Manufacturer Product Code\n' + '* Product Attributes.\n' + 'This installs the module product_manufacturer.'), } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project/res_config.py b/addons/project/res_config.py index ddf98582ef3..a8b8af3b90b 100644 --- a/addons/project/res_config.py +++ b/addons/project/res_config.py @@ -28,30 +28,30 @@ class project_configuration(osv.osv_memory): _columns = { 'module_project_mrp': fields.boolean('Generate tasks from sale orders', - help ="""This feature automatically creates project tasks from service products in sale orders. - More precisely, tasks are created for procurement lines with product of type 'Service', - procurement method 'Make to Order', and supply method 'Manufacture'. - This installs the module project_mrp."""), + help ='This feature automatically creates project tasks from service products in sale orders. ' + 'More precisely, tasks are created for procurement lines with product of type \'Service\', ' + 'procurement method \'Make to Order\', and supply method \'Manufacture\'.\n' + 'This installs the module project_mrp.'), 'module_pad': fields.boolean("Use integrated collaborative note pads on task", - help="""Lets the company customize which Pad installation should be used to link to new pads - (for example: http://ietherpad.com/). - This installs the module pad."""), + help='Lets the company customize which Pad installation should be used to link to new pads ' + '(for example: http://ietherpad.com/).\n' + 'This installs the module pad.'), 'module_project_timesheet': fields.boolean("Record timesheet lines per tasks", - help="""This allows you to transfer the entries under tasks defined for Project Management to - the timesheet line entries for particular date and user, with the effect of creating, - editing and deleting either ways. - This installs the module project_timesheet."""), + help='This allows you to transfer the entries under tasks defined for Project Management to ' + 'the timesheet line entries for particular date and user, with the effect of creating, ' + 'editing and deleting either ways.\n' + 'This installs the module project_timesheet.'), 'module_project_long_term': fields.boolean("Manage resources planning on gantt view", - help="""A long term project management module that tracks planning, scheduling, and resource allocation. - This installs the module project_long_term."""), + help='A long term project management module that tracks planning, scheduling, and resource allocation.\n' + 'This installs the module project_long_term.'), 'module_project_issue': fields.boolean("Track issues and bugs", - help="""Provides management of issues/bugs in projects. - This installs the module project_issue."""), + help='Provides management of issues/bugs in projects.\n' + 'This installs the module project_issue.'), 'time_unit': fields.many2one('product.uom', 'Working time unit', required=True, help="""This will set the unit of measure used in projects and tasks."""), 'module_project_issue_sheet': fields.boolean("Invoice working time on issues", - help="""Provides timesheet support for the issues/bugs management in project. - This installs the module project_issue_sheet."""), + help='Provides timesheet support for the issues/bugs management in project.\n' + 'This installs the module project_issue_sheet.'), 'group_tasks_work_on_tasks': fields.boolean("Log work activities on tasks", implied_group='project.group_tasks_work_on_tasks', help="Allows you to compute work on tasks."), diff --git a/addons/purchase/res_config.py b/addons/purchase/res_config.py index f5f2dfcdda5..930ee5f9f29 100644 --- a/addons/purchase/res_config.py +++ b/addons/purchase/res_config.py @@ -34,8 +34,8 @@ class purchase_config_settings(osv.osv_memory): ], 'Default invoicing control method', required=True, default_model='purchase.order'), 'group_purchase_pricelist':fields.boolean("Manage pricelist per supplier", implied_group='product.group_purchase_pricelist', - help="""Allows to manage different prices based on rules per category of Supplier. - Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), + help='Allows to manage different prices based on rules per category of Supplier.\n' + 'Example: 10% for retailers, promotion of 5 EUR on this product, etc.'), 'group_uom':fields.boolean("Manage different units of measure for products", implied_group='product.group_uom', help="""Allows you to select and maintain different units of measure for products."""), @@ -43,19 +43,19 @@ class purchase_config_settings(osv.osv_memory): implied_group='product.group_costing_method', help="""Allows you to compute product cost price based on average cost."""), 'module_warning': fields.boolean("Alerts by products or supplier", - help="""Allow to configure notification on products and trigger them when a user wants to purchase a given product or a given supplier. -Example: Product: this product is deprecated, do not purchase more than 5. - Supplier: don't forget to ask for an express delivery."""), + help='Allow to configure notification on products and trigger them when a user wants to purchase a given product or a given supplier.\n' + 'Example: Product: this product is deprecated, do not purchase more than 5.\n' + 'Supplier: don\'t forget to ask for an express delivery.'), 'module_purchase_double_validation': fields.boolean("Force two levels of approvals", - help="""Provide a double validation mechanism for purchases exceeding minimum amount. - This installs the module purchase_double_validation."""), + help='Provide a double validation mechanism for purchases exceeding minimum amount.\n' + 'This installs the module purchase_double_validation.'), 'module_purchase_requisition': fields.boolean("Manage purchase requisitions", - help="""Purchase Requisitions are used when you want to request quotations from several suppliers for a given set of products. - You can configure per product if you directly do a Request for Quotation - to one supplier or if you want a purchase requisition to negotiate with several suppliers."""), + help='Purchase Requisitions are used when you want to request quotations from several suppliers for a given set of products.\n' + 'You can configure per product if you directly do a Request for Quotation ' + 'to one supplier or if you want a purchase requisition to negotiate with several suppliers.'), 'module_purchase_analytic_plans': fields.boolean('Use multiple analytic accounts on purchase orders', - help ="""Allows the user to maintain several analysis plans. These let you split lines on a purchase order between several accounts and analytic plans. - This installs the module purchase_analytic_plans."""), + help ='Allows the user to maintain several analysis plans. These let you split lines on a purchase order between several accounts and analytic plans.\n' + 'This installs the module purchase_analytic_plans.'), 'group_analytic_account_for_purchases': fields.boolean('Analytic accounting for purchases', implied_group='purchase.group_analytic_accounting', help="Allows you to specify an analytic account on purchase orders."), @@ -77,8 +77,8 @@ class account_config_settings(osv.osv_memory): _inherit = 'account.config.settings' _columns = { 'module_purchase_analytic_plans': fields.boolean('Use multiple analytic accounts on orders', - help ="""Allows the user to maintain several analysis plans. These let you split lines on a purchase order between several accounts and analytic plans. - This installs the module purchase_analytic_plans."""), + help ='Allows the user to maintain several analysis plans. These let you split lines on a purchase order between several accounts and analytic plans.\n' + 'This installs the module purchase_analytic_plans.'), 'group_analytic_account_for_purchases': fields.boolean('Analytic accounting for purchases', implied_group='purchase.group_analytic_accounting', help="Allows you to specify an analytic account on purchase orders."), diff --git a/addons/sale/res_config.py b/addons/sale/res_config.py index bfbaa5f0a6f..d570dfc8183 100644 --- a/addons/sale/res_config.py +++ b/addons/sale/res_config.py @@ -34,15 +34,15 @@ class sale_configuration(osv.osv_memory): implied_group='sale.group_invoice_so_lines', help="To allow your salesman to make invoices for sales order lines using the menu 'Lines to Invoice'."), 'timesheet': fields.boolean('Prepare invoices based on timesheets', - help = """For modifying account analytic view to show important data to project manager of services companies. - You can also view the report of account analytic summary user-wise as well as month wise. - This installs the module account_analytic_analysis."""), + help = 'For modifying account analytic view to show important data to project manager of services companies.' + 'You can also view the report of account analytic summary user-wise as well as month wise.\n' + 'This installs the module account_analytic_analysis.'), 'module_account_analytic_analysis': fields.boolean('Use contracts management', - help = """Allows to define your customer contracts conditions: invoicing - method (fixed price, on timesheet, advance invoice), the exact pricing - (650€/day for a developer), the duration (one year support contract). - You will be able to follow the progress of the contract and invoice automatically. - It installs the account_analytic_analysis module."""), + help = 'Allows to define your customer contracts conditions: invoicing ' + 'method (fixed price, on timesheet, advance invoice), the exact pricing ' + '(650€/day for a developer), the duration (one year support contract).\n' + 'You will be able to follow the progress of the contract and invoice automatically.\n' + 'It installs the account_analytic_analysis module.'), 'time_unit': fields.many2one('product.uom', 'The default working time unit for services is'), 'group_sale_pricelist':fields.boolean("Use pricelists to adapt your price per customers", implied_group='product.group_sale_pricelist', @@ -58,22 +58,22 @@ Example: 10% for retailers, promotion of 5 EUR on this product, etc."""), implied_group='product.group_product_variant', help="""Allow to manage several variants per product. As an example, if you sell T-Shirts, for the same "Linux T-Shirt", you may have variants on sizes or colors; S, M, L, XL, XXL."""), 'module_warning': fields.boolean("Allow configuring alerts by customer or products", - help="""Allow to configure notification on products and trigger them when a user wants to sell a given product or a given customer. -Example: Product: this product is deprecated, do not purchase more than 5. - Supplier: don't forget to ask for an express delivery."""), + help='Allow to configure notification on products and trigger them when a user wants to sell a given product or a given customer.\n' + 'Example: Product: this product is deprecated, do not purchase more than 5.\n' + 'Supplier: don\'t forget to ask for an express delivery.'), 'module_sale_margin': fields.boolean("Display margins on sales orders", - help="""This adds the 'Margin' on sales order. - This gives the profitability by calculating the difference between the Unit Price and Cost Price. - This installs the module sale_margin."""), + help='This adds the \'Margin\' on sales order.\n' + 'This gives the profitability by calculating the difference between the Unit Price and Cost Price.\n' + 'This installs the module sale_margin.'), 'module_sale_journal': fields.boolean("Allow batch invoicing of delivery orders through journals", - help="""Allows you to categorize your sales and deliveries (picking lists) between different journals, - and perform batch operations on journals. - This installs the module sale_journal."""), + help='Allows you to categorize your sales and deliveries (picking lists) between different journals, ' + 'and perform batch operations on journals.\n' + 'This installs the module sale_journal.'), 'module_analytic_user_function': fields.boolean("One employee can have different roles per contract", - help="""Allows you to define what is the default function of a specific user on a given account. - This is mostly used when a user encodes his timesheet. The values are retrieved and the fields are auto-filled. - But the possibility to change these values is still available. - This installs the module analytic_user_function."""), + help='Allows you to define what is the default function of a specific user on a given account.\n' + 'This is mostly used when a user encodes his timesheet. The values are retrieved and the fields are auto-filled. ' + 'But the possibility to change these values is still available.\n' + '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. diff --git a/addons/sale_stock/res_config.py b/addons/sale_stock/res_config.py index 4c3b92f1d33..ae81989aa52 100644 --- a/addons/sale_stock/res_config.py +++ b/addons/sale_stock/res_config.py @@ -33,10 +33,10 @@ class sale_configuration(osv.osv_memory): implied_group='sale_stock.group_invoice_deli_orders', help="To allow your salesman to make invoices for Delivery Orders using the menu 'Deliveries to Invoice'."), 'task_work': fields.boolean("Prepare invoices based on task's activities", - help="""Lets you transfer the entries under tasks defined for Project Management to - the Timesheet line entries for particular date and particular user with the effect of creating, editing and deleting either ways - and to automatically creates project tasks from procurement lines. - This installs the modules project_timesheet and project_mrp."""), + help='Lets you transfer the entries under tasks defined for Project Management to ' + 'the Timesheet line entries for particular date and particular user with the effect of creating, editing and deleting either ways ' + 'and to automatically creates project tasks from procurement lines.\n' + 'This installs the modules project_timesheet and project_mrp.'), 'default_order_policy': fields.selection( [('manual', 'Invoice based on sales orders'), ('picking', 'Invoice based on deliveries')], 'The default invoicing method is', default_model='sale.order', diff --git a/addons/stock/res_config.py b/addons/stock/res_config.py index d0b0563875c..4da23389214 100644 --- a/addons/stock/res_config.py +++ b/addons/stock/res_config.py @@ -27,12 +27,12 @@ class stock_config_settings(osv.osv_memory): _columns = { 'module_claim_from_delivery': fields.boolean("Allow claim on deliveries", - help="""Adds a Claim link to the delivery order. - This installs the module claim_from_delivery."""), + help='Adds a Claim link to the delivery order.\n' + 'This installs the module claim_from_delivery.'), 'module_stock_invoice_directly': fields.boolean("Create and open the invoice when the user finish a delivery order", - help="""This allows to automatically launch the invoicing wizard if the delivery is - to be invoiced when you send or deliver goods. - This installs the module stock_invoice_directly."""), + help='This allows to automatically launch the invoicing wizard if the delivery is ' + 'to be invoiced when you send or deliver goods.\n' + 'This installs the module stock_invoice_directly.'), 'module_product_expiry': fields.boolean("Expiry date on serial numbers", help="""Track different dates on products and serial numbers. The following dates can be tracked: @@ -42,17 +42,17 @@ The following dates can be tracked: - alert date. This installs the module product_expiry."""), 'module_stock_location': fields.boolean("Create push/pull logistic rules", - help="""Provide push and pull inventory flows. Typical uses of this feature are: - manage product manufacturing chains, manage default locations per product, - define routes within your warehouse according to business needs, etc. - This installs the module stock_location."""), + help='Provide push and pull inventory flows. Typical uses of this feature are: ' + 'manage product manufacturing chains, manage default locations per product, ' + 'define routes within your warehouse according to business needs, etc.\n' + 'This installs the module stock_location.'), 'group_uom': fields.boolean("Manage different units of measure for products", implied_group='product.group_uom', help="""Allows you to select and maintain different units of measure for products."""), 'group_uos': fields.boolean("Invoice products in a different unit of measure than the sales order", implied_group='product.group_uos', - help="""Allows you to sell units of a product, but invoice based on a different unit of measure. - For instance, you can sell pieces of meat that you invoice based on their weight."""), + help='Allows you to sell units of a product, but invoice based on a different unit of measure.\n' + 'For instance, you can sell pieces of meat that you invoice based on their weight.'), 'group_stock_packaging': fields.boolean("Allow to define several packaging methods on products", implied_group='product.group_stock_packaging', help="""Allows you to create and manage your packaging dimensions and types you want to be maintained in your system."""), @@ -67,8 +67,8 @@ This installs the module product_expiry."""), help="""Allows to configure inventory valuations on products and product categories."""), 'group_stock_multiple_locations': fields.boolean("Manage multiple locations and warehouses", implied_group='stock.group_locations', - help="""This allows to configure and use multiple stock locations and warehouses, - instead of having a single default one."""), + help='This allows to configure and use multiple stock locations and warehouses, ' + 'instead of having a single default one.'), 'decimal_precision': fields.integer('Decimal precision on weight', help="As an example, a decimal precision of 2 will allow weights like: 9.99 kg, whereas a decimal precision of 4 will allow weights like: 0.0231 kg."), }