From 7328267a855ebcd422a6f0e1f763ddc538994846 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Fri, 30 Oct 2015 15:43:29 +0100 Subject: [PATCH] [IMP] all: missing spaces or line return in help message --- addons/crm/crm_stage.py | 2 +- addons/mail/models/mail_message.py | 2 +- addons/mass_mailing/models/mass_mailing.py | 4 ++-- addons/mass_mailing/models/mass_mailing_stats.py | 4 ++-- addons/purchase/res_config.py | 8 ++++---- addons/stock/res_config.py | 2 +- addons/website/models/ir_actions.py | 6 +++--- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/addons/crm/crm_stage.py b/addons/crm/crm_stage.py index 92fb1efa05d..c83461a9c0f 100644 --- a/addons/crm/crm_stage.py +++ b/addons/crm/crm_stage.py @@ -37,7 +37,7 @@ class crm_stage(osv.Model): 'Priority Management Explanation', translate=True, help='Explanation text to help users using the star and priority mechanism on stages or issues that are in this stage.'), 'fold': fields.boolean('Folded in Pipeline', - help='This stage is folded in the kanban view when' + help='This stage is folded in the kanban view when ' 'there are no records in that stage to display.'), 'type': fields.selection([('lead', 'Lead'), ('opportunity', 'Opportunity'), ('both', 'Both')], string='Type', required=True, diff --git a/addons/mail/models/mail_message.py b/addons/mail/models/mail_message.py index 22485056a9c..562a72a65b2 100644 --- a/addons/mail/models/mail_message.py +++ b/addons/mail/models/mail_message.py @@ -53,7 +53,7 @@ class Message(models.Model): 'ir.attachment', 'message_attachment_rel', 'message_id', 'attachment_id', string='Attachments', - help='Attachments are linked to a document through model / res_id and to the message' + help='Attachments are linked to a document through model / res_id and to the message ' 'through this field.') parent_id = fields.Many2one( 'mail.message', 'Parent Message', select=True, ondelete='set null', diff --git a/addons/mass_mailing/models/mass_mailing.py b/addons/mass_mailing/models/mass_mailing.py index 2518afab238..84151916a79 100644 --- a/addons/mass_mailing/models/mass_mailing.py +++ b/addons/mass_mailing/models/mass_mailing.py @@ -246,8 +246,8 @@ class MassMailingCampaign(osv.Model): ), 'unique_ab_testing': fields.boolean( 'AB Testing', - help='If checked, recipients will be mailed only once, allowing to send' - 'various mailings in a single campaign to test the effectiveness' + help='If checked, recipients will be mailed only once, allowing to send ' + 'various mailings in a single campaign to test the effectiveness ' 'of the mailings.'), 'color': fields.integer('Color Index'), 'clicks_ratio': fields.function( diff --git a/addons/mass_mailing/models/mass_mailing_stats.py b/addons/mass_mailing/models/mass_mailing_stats.py index 58ab233c4ae..586e1ff1f90 100644 --- a/addons/mass_mailing/models/mass_mailing_stats.py +++ b/addons/mass_mailing/models/mass_mailing_stats.py @@ -52,8 +52,8 @@ class MailMailStats(osv.Model): 'mail_mail_id': fields.many2one('mail.mail', 'Mail', ondelete='set null', select=True), 'mail_mail_id_int': fields.integer( 'Mail ID (tech)', - help='ID of the related mail_mail. This field is an integer field because' - 'the related mail_mail can be deleted separately from its statistics.' + help='ID of the related mail_mail. This field is an integer field because ' + 'the related mail_mail can be deleted separately from its statistics. ' 'However the ID is needed for several action and controllers.' ), 'message_id': fields.char('Message-ID'), diff --git a/addons/purchase/res_config.py b/addons/purchase/res_config.py index 3c60d04a31a..3eca1b6483d 100644 --- a/addons/purchase/res_config.py +++ b/addons/purchase/res_config.py @@ -31,9 +31,9 @@ class purchase_config_settings(osv.osv_memory): (0, 'Purchase propositions trigger draft purchase orders to a single supplier'), (1, 'Allow using call for tenders to get quotes from multiple suppliers (advanced)') ], "Calls for Tenders", - help="""Calls for tenders are used when you want to generate requests for quotations to several vendors for a given set of products. - You can configure per product if you directly do a Request for Quotation - to one vendor or if you want a Call for Tenders to compare offers from several vendors."""), + help="Calls for tenders are used when you want to generate requests for quotations to several vendors for a given set of products.\n" + "You can configure per product if you directly do a Request for Quotation " + "to one vendor or if you want a Call for Tenders to compare offers from several vendors."), 'group_advance_purchase_requisition': fields.selection([ (0, 'Simple call for tender (only choose from one RFQ)'), (1, 'Advanced call for tender (choose products from different RFQ)') @@ -44,7 +44,7 @@ class purchase_config_settings(osv.osv_memory): (0, 'Suppliers always deliver to your warehouse(s)'), (1, "Allow suppliers to deliver directly to your customers") ], "Dropshipping", - help='\nCreates the dropship Route and add more complex tests' + help='\nCreates the dropship Route and add more complex tests\n' '-This installs the module stock_dropshipping.'), 'group_manage_vendor_price': fields.selection([ (0, 'Manage vendor price on the product form'), diff --git a/addons/stock/res_config.py b/addons/stock/res_config.py index e4cb9ed8d6d..383c7540155 100644 --- a/addons/stock/res_config.py +++ b/addons/stock/res_config.py @@ -145,7 +145,7 @@ class stock_config_settings(osv.osv_memory): (0, 'Suppliers always deliver to your warehouse(s)'), (1, "Allow suppliers to deliver directly to your customers") ], "Dropshipping", - help='\nCreates the dropship route and add more complex tests' + help='\nCreates the dropship route and add more complex tests\n' '-This installs the module stock_dropshipping.'), 'module_stock_picking_wave': fields.selection([ (0, 'Manage pickings one at a time'), diff --git a/addons/website/models/ir_actions.py b/addons/website/models/ir_actions.py index f186c421b9f..8fd4be81af7 100644 --- a/addons/website/models/ir_actions.py +++ b/addons/website/models/ir_actions.py @@ -36,9 +36,9 @@ class actions_server(osv.Model): help='The full URL to access the server action through the website.'), 'website_published': fields.boolean( 'Available on the Website', copy=False, - help='A code server action can be executed from the website, using a dedicated' - 'controller. The address is /website/action/.' - 'Set this field as True to allow users to run this action. If it' + help='A code server action can be executed from the website, using a dedicated ' + 'controller. The address is /website/action/. ' + 'Set this field as True to allow users to run this action. If it ' 'set to is False the action cannot be run through the website.'), }