From 76881d178d7f7714695772ee89340683e05c2c95 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Wed, 18 Dec 2019 09:16:34 +0100 Subject: [PATCH] Add missing end dot on translatable strings issue8670 review262311002 --- account.py | 8 ++++---- move.py | 10 +++++----- tax.py | 10 +++++----- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/account.py b/account.py index f978b915d1..85fcc19443 100644 --- a/account.py +++ b/account.py @@ -454,7 +454,7 @@ def AccountMixin(template=False): 'invisible': ~Eval('type'), }, depends=['type'], - help="Display only the balance in the general ledger report") + help="Display only the balance in the general ledger report.") deferral = fields.Function(fields.Boolean( "Deferral", @@ -775,7 +775,7 @@ class Account(AccountMixin(), ActivePeriodMixin, tree(), ModelSQL, ModelView): ('parent', '=', None), ], help=('Default tax for manual encoding of move lines \n' - 'for journal types: "expense" and "revenue"'), + 'for journal types: "expense" and "revenue".'), depends=['company']) replaced_by = fields.Many2One( 'account.account', "Replaced By", @@ -1293,8 +1293,8 @@ class OpenChartAccountStart(ModelView): 'Open Chart of Accounts' __name__ = 'account.open_chart.start' fiscalyear = fields.Many2One('account.fiscalyear', 'Fiscal Year', - help='Leave empty for all open fiscal year') - posted = fields.Boolean('Posted Moves', help='Show posted moves only') + help='Leave empty for all open fiscal year.') + posted = fields.Boolean('Posted Moves', help='Show posted moves only.') @staticmethod def default_posted(): diff --git a/move.py b/move.py index 82772e9193..04f32af77b 100644 --- a/move.py +++ b/move.py @@ -55,7 +55,7 @@ class Move(ModelSQL, ModelView): _rec_name = 'number' number = fields.Char('Number', required=True, readonly=True) post_number = fields.Char('Post Number', readonly=True, - help='Also known as Folio Number') + help='Also known as Folio Number.') company = fields.Many2One('company.company', 'Company', required=True, states=_MOVE_STATES, depends=_MOVE_DEPENDS) period = fields.Many2One('account.period', 'Period', required=True, @@ -460,7 +460,7 @@ class Reconciliation(ModelSQL, ModelView): lines = fields.One2Many('account.move.line', 'reconciliation', 'Lines') date = fields.Date('Date', required=True, select=True, - help='Highest date of the reconciled lines') + help='Highest date of the reconciled lines.') delegate_to = fields.Many2One( 'account.move.line', "Delegate To", ondelete="RESTRICT", select=True, help="The line to which the reconciliation status is delegated.") @@ -638,14 +638,14 @@ class Line(ModelSQL, ModelView): searcher='search_move_field') amount_second_currency = fields.Numeric('Amount Second Currency', digits=(16, Eval('second_currency_digits', 2)), - help='The amount expressed in a second currency', + help='The amount expressed in a second currency.', states={ 'required': Bool(Eval('second_currency')), 'readonly': _states['readonly'], }, depends=['second_currency_digits', 'second_currency'] + _depends) second_currency = fields.Many2One('currency.currency', 'Second Currency', - help='The second currency', + help='The second currency.', domain=[ If(~Eval('second_currency_required'), (), @@ -2050,7 +2050,7 @@ class PrintGeneralJournalStart(ModelView): from_date = fields.Date('From Date', required=True) to_date = fields.Date('To Date', required=True) company = fields.Many2One('company.company', 'Company', required=True) - posted = fields.Boolean('Posted Move', help='Show only posted move') + posted = fields.Boolean('Posted Move', help='Show only posted move.') @staticmethod def default_from_date(): diff --git a/tax.py b/tax.py index d64bd53f51..9c10ebc956 100644 --- a/tax.py +++ b/tax.py @@ -429,14 +429,14 @@ class OpenChartTaxCodeStart(ModelView): ('periods', 'By Periods'), ], 'Method', required=True) fiscalyear = fields.Many2One('account.fiscalyear', 'Fiscal Year', - help='Leave empty for all open fiscal year', + help='Leave empty for all open fiscal year.', states={ 'invisible': Eval('method') != 'fiscalyear', 'required': Eval('method') == 'fiscalyear', }, depends=['method']) periods = fields.Many2Many('account.period', None, None, 'Periods', - help='Leave empty for all periods of all open fiscal year', + help='Leave empty for all periods of all open fiscal year.', states={ 'invisible': Eval('method') != 'periods', 'required': Eval('method') == 'periods', @@ -653,7 +653,7 @@ class Tax(sequence_ordered(), ModelSQL, ModelView, DeactivableMixin): } name = fields.Char('Name', required=True, states=_states) description = fields.Char('Description', required=True, translate=True, - help="The name that will be used in reports", states=_states) + help="The name that will be used in reports.", states=_states) group = fields.Many2One('account.tax.group', 'Group', states={ 'invisible': Bool(Eval('parent')), @@ -666,7 +666,7 @@ class Tax(sequence_ordered(), ModelSQL, ModelView, DeactivableMixin): 'required': Eval('type') == 'fixed', 'invisible': Eval('type') != 'fixed', 'readonly': _states['readonly'], - }, help='In company\'s currency', + }, help='In company\'s currency.', depends=['type']) rate = fields.Numeric('Rate', digits=(14, 10), states={ @@ -686,7 +686,7 @@ class Tax(sequence_ordered(), ModelSQL, ModelView, DeactivableMixin): }, depends=['parent'], help=('If checked then the unit price for further tax computation will' - ' be modified by this tax')) + ' be modified by this tax.')) parent = fields.Many2One('account.tax', 'Parent', ondelete='CASCADE', states=_states) childs = fields.One2Many('account.tax', 'parent', 'Children')