summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorLP Papillon <lppapillon@attrix.ca>2018-08-18 08:28:27 -0400
committerMartin Trigaux <mat@odoo.com>2018-08-28 08:53:30 +0200
commitb8e4374a4e1101e0db5d337ce7f0acbebb0b45a2 (patch)
tree03f87d20cd72f87ed7e9946e7c43e1a3176d7695 /addons
parent722b7e38679fa3c517278a67919eaf64a5ddcd8e (diff)
[FIX] account_payment: use correct field
state_message instead of state_mesage Closes #26444
Diffstat (limited to 'addons')
-rw-r--r--addons/account_payment/models/payment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account_payment/models/payment.py b/addons/account_payment/models/payment.py
index cfc90258289..4e00fce7054 100644
--- a/addons/account_payment/models/payment.py
+++ b/addons/account_payment/models/payment.py
@@ -50,7 +50,7 @@ class PaymentTransaction(models.Model):
if not s2s_result or self.state != valid_state:
_logger.warning(
_("<%s> transaction (%s) invalid state : %s") %
- (self.acquirer_id.provider, self.id, self.state_mesage))
+ (self.acquirer_id.provider, self.id, self.state_message))
return 'pay_invoice_tx_state'
try: