summaryrefslogtreecommitdiff
path: root/addons/payment_sips/models
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2020-06-04 12:39:11 +0200
committerMartin Trigaux <mat@odoo.com>2020-06-18 13:03:34 +0200
commitba244cef01132347df4d2d9553ea3105ba13a938 (patch)
tree20cdb55afb6b9f700bfe2844a90ca8de0050c941 /addons/payment_sips/models
parent3c3b88f6768e31417263b3828a874ca204e29514 (diff)
[IMP] *: replace to new _() syntax
Using a few regex like \((_\(.*%s.*)(\) % )([\w\[\]][\w .\[\]\(\)'"]*)\) ($1, $3)) Old syntax is still compatible but starts the migration to the new syntax that catches error.
Diffstat (limited to 'addons/payment_sips/models')
-rw-r--r--addons/payment_sips/models/payment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_sips/models/payment.py b/addons/payment_sips/models/payment.py
index bc44b5c68b0..49dbd5b4dbd 100644
--- a/addons/payment_sips/models/payment.py
+++ b/addons/payment_sips/models/payment.py
@@ -159,7 +159,7 @@ class TxSips(models.Model):
payment_tx = self.search([('reference', '=', reference)])
if not payment_tx or len(payment_tx) > 1:
- error_msg = _('Sips: received data for reference %s') % reference
+ error_msg = _('Sips: received data for reference %s', reference)
if not payment_tx:
error_msg += _('; no order found')
else: