diff --git a/addons/account/models/account_account.py b/addons/account/models/account_account.py index 32d13df16ca..ee1a09be546 100644 --- a/addons/account/models/account_account.py +++ b/addons/account/models/account_account.py @@ -107,7 +107,7 @@ class AccountAccount(models.Model): related_taxes_amount = fields.Integer(compute='_compute_related_taxes_amount') _sql_constraints = [ - ('code_company_uniq', 'unique (code,company_id)', 'The code of the account must be unique per company !') + ('code_company_uniq', 'unique (code,company_id)', 'The code of the account must be unique per company!') ] non_trade = fields.Boolean(default=False, diff --git a/addons/account/models/account_journal_dashboard.py b/addons/account/models/account_journal_dashboard.py index 6b766286f82..62bff99f343 100644 --- a/addons/account/models/account_journal_dashboard.py +++ b/addons/account/models/account_journal_dashboard.py @@ -410,7 +410,7 @@ class account_journal(models.Model): def _count_results_and_sum_amounts(self, results_dict, target_currency, curr_cache=None): """ Loops on a query result to count the total number of invoices and sum their amount_total field (expressed in the given target currency). - amount_total must be signed ! + amount_total must be signed! """ rslt_count = 0 rslt_sum = 0.0 diff --git a/addons/account/models/account_move_line.py b/addons/account/models/account_move_line.py index a0da574600e..e431dd09885 100644 --- a/addons/account/models/account_move_line.py +++ b/addons/account/models/account_move_line.py @@ -399,7 +399,7 @@ class AccountMoveLine(models.Model): ( "check_credit_debit", "CHECK(display_type IN ('line_section', 'line_note') OR credit * debit=0)", - "Wrong credit or debit value in accounting entry !" + "Wrong credit or debit value in accounting entry!" ), ( "check_amount_currency_balance_sign", diff --git a/addons/account/models/account_tax.py b/addons/account/models/account_tax.py index 63a33e2fd96..4d69723a56c 100644 --- a/addons/account/models/account_tax.py +++ b/addons/account/models/account_tax.py @@ -173,7 +173,7 @@ class AccountTax(models.Model): country_code = fields.Char(related='country_id.code', readonly=True) _sql_constraints = [ - ('name_company_uniq', 'unique(name, company_id, type_tax_use, tax_scope)', 'Tax names must be unique !'), + ('name_company_uniq', 'unique(name, company_id, type_tax_use, tax_scope)', 'Tax names must be unique!'), ] @api.constrains('tax_group_id') diff --git a/addons/account_edi/models/account_move.py b/addons/account_edi/models/account_move.py index 6996f1d15ef..37c3dec9535 100644 --- a/addons/account_edi/models/account_move.py +++ b/addons/account_edi/models/account_move.py @@ -18,7 +18,7 @@ class AccountMove(models.Model): help='The aggregated state of all the EDIs with web-service of this move') edi_error_count = fields.Integer( compute='_compute_edi_error_count', - help='How many EDIs are in error for this move ?') + help='How many EDIs are in error for this move?') edi_blocking_level = fields.Selection( selection=[('info', 'Info'), ('warning', 'Warning'), ('error', 'Error')], compute='_compute_edi_error_message') diff --git a/addons/account_edi_ubl_cii/data/cii_22_templates.xml b/addons/account_edi_ubl_cii/data/cii_22_templates.xml index f890cb6b5e6..cf00b581e38 100644 --- a/addons/account_edi_ubl_cii/data/cii_22_templates.xml +++ b/addons/account_edi_ubl_cii/data/cii_22_templates.xml @@ -32,7 +32,7 @@ @@ -56,7 +56,7 @@ + t-out="line.quantity"/> diff --git a/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py b/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py index dfe4fd336c9..09b832b9c95 100644 --- a/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py +++ b/addons/account_edi_ubl_cii/models/account_edi_xml_cii_facturx.py @@ -240,7 +240,7 @@ class AccountEdiXmlCII(models.AbstractModel): invoice.currency_id = currency else: logs.append(_("Could not retrieve currency: %s. Did you enable the multicurrency option and " - "activate the currency ?", currency_code_node.text)) + "activate the currency?", currency_code_node.text)) # ==== Reference ==== diff --git a/addons/account_edi_ubl_cii/models/account_edi_xml_ubl_20.py b/addons/account_edi_ubl_cii/models/account_edi_xml_ubl_20.py index 9ed5de6e326..1e9da992c4f 100644 --- a/addons/account_edi_ubl_cii/models/account_edi_xml_ubl_20.py +++ b/addons/account_edi_ubl_cii/models/account_edi_xml_ubl_20.py @@ -489,7 +489,7 @@ class AccountEdiXmlUBL20(models.AbstractModel): invoice.currency_id = currency else: logs.append(_("Could not retrieve currency: %s. Did you enable the multicurrency option " - "and activate the currency ?", currency_code_node.text)) + "and activate the currency?", currency_code_node.text)) # ==== invoice_date ==== diff --git a/addons/auth_totp_portal/static/src/js/totp_frontend.js b/addons/auth_totp_portal/static/src/js/totp_frontend.js index f14eb55f21c..c2dd9ad0d41 100644 --- a/addons/auth_totp_portal/static/src/js/totp_frontend.js +++ b/addons/auth_totp_portal/static/src/js/totp_frontend.js @@ -48,7 +48,7 @@ function fromField(f, record) { copyButton.setAttribute('class', 'btn btn-sm btn-primary o_clipboard_button o_btn_char_copy py-0 px-2'); copyButton.onclick = function(event) { event.preventDefault(); - $(copyButton).tooltip({title: _t("Copied !"), trigger: "manual", placement: "bottom"}); + $(copyButton).tooltip({title: _t("Copied!"), trigger: "manual", placement: "bottom"}); var clipboard = new ClipboardJS('.o_clipboard_button', { target: function () { return $(secretSpan)[0]; diff --git a/addons/barcodes/models/barcode_rule.py b/addons/barcodes/models/barcode_rule.py index 6394769f462..9023c455c16 100644 --- a/addons/barcodes/models/barcode_rule.py +++ b/addons/barcodes/models/barcode_rule.py @@ -40,4 +40,4 @@ class BarcodeRule(models.Model): elif len(findall) != 0: raise ValidationError(_("There is a syntax error in the barcode pattern %(pattern)s: a rule can only contain one pair of braces.", pattern=rule.pattern)) elif p == '*': - raise ValidationError(_(" '*' is not a valid Regex Barcode Pattern. Did you mean '.*' ?")) + raise ValidationError(_(" '*' is not a valid Regex Barcode Pattern. Did you mean '.*'?")) diff --git a/addons/barcodes/static/src/components/barcode_scanner.js b/addons/barcodes/static/src/components/barcode_scanner.js index f9f1a9cb383..ae18eedcba0 100644 --- a/addons/barcodes/static/src/components/barcode_scanner.js +++ b/addons/barcodes/static/src/components/barcode_scanner.js @@ -29,7 +29,7 @@ export class BarcodeScanner extends Component { window.navigator.vibrate(100); } } else { - this.notification.add(error || this.env._t("Please, Scan again !"), { + this.notification.add(error || this.env._t("Please, Scan again!"), { type: "warning", }); } diff --git a/addons/base_install_request/wizard/base_module_install_request_views.xml b/addons/base_install_request/wizard/base_module_install_request_views.xml index ce825e98128..8b12bbd6615 100644 --- a/addons/base_install_request/wizard/base_module_install_request_views.xml +++ b/addons/base_install_request/wizard/base_module_install_request_views.xml @@ -14,7 +14,7 @@ - +