summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/models
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2020-10-02 13:00:22 +0000
committerMartin Trigaux <mat@odoo.com>2020-10-02 14:28:11 +0000
commit26efc84c5cac47a2cc83d7b084f8b71528fec6c7 (patch)
treec24c91e2bd8be942c8cc4bc250618d752094fd06 /addons/point_of_sale/models
parentbe40f24bbb899232c090f5ad0d487e481bce7e82 (diff)
[FIX] *: fix all the typos
And other reported English mistakes in source string Courtesy of Transifex translators And remove leftover from gengo closes odoo/odoo#59002 Related: odoo/enterprise#13776 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/point_of_sale/models')
-rw-r--r--addons/point_of_sale/models/pos_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/point_of_sale/models/pos_config.py b/addons/point_of_sale/models/pos_config.py
index a9ecdba6463..fcc1f098b04 100644
--- a/addons/point_of_sale/models/pos_config.py
+++ b/addons/point_of_sale/models/pos_config.py
@@ -348,7 +348,7 @@ class PosConfig(models.Model):
@api.constrains('company_id', 'payment_method_ids')
def _check_company_payment(self):
if self.env['pos.payment.method'].search_count([('id', 'in', self.payment_method_ids.ids), ('company_id', '!=', self.company_id.id)]):
- raise ValidationError(_("The method payments and the point of sale must belong to the same company."))
+ raise ValidationError(_("The payment methods and the point of sale must belong to the same company."))
@api.constrains('pricelist_id', 'use_pricelist', 'available_pricelist_ids', 'journal_id', 'invoice_journal_id', 'payment_method_ids')
def _check_currencies(self):