summaryrefslogtreecommitdiff
path: root/addons/payment_sips/models/payment.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-09-19 11:58:01 +0200
committerChristophe Simonis <chs@odoo.com>2017-09-19 11:58:01 +0200
commitd15a31ae6d944cf04f9da8752b069b221cac0d9a (patch)
tree9d1be20b01650218fefa38ec3ecae9a708fa0cf3 /addons/payment_sips/models/payment.py
parent63ebdd086985c29479f30681339e44757888d6ab (diff)
parent2a343d7c9c4b07bb6cf4c7c4197bb795a3d17f4b (diff)
[MERGE] forward port branch saas-17 up to 2a343d7c9c4
Diffstat (limited to 'addons/payment_sips/models/payment.py')
-rw-r--r--addons/payment_sips/models/payment.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/payment_sips/models/payment.py b/addons/payment_sips/models/payment.py
index 53bd6bd2455..f06b72461f9 100644
--- a/addons/payment_sips/models/payment.py
+++ b/addons/payment_sips/models/payment.py
@@ -167,8 +167,6 @@ class TxSips(models.Model):
# check what is bought
if float_compare(float(data.get('amount', '0.0')) / 100, self.amount, 2) != 0:
invalid_parameters.append(('amount', data.get('amount'), '%.2f' % self.amount))
- if self.partner_reference and data.get('customerId') != self.partner_reference:
- invalid_parameters.append(('customerId', data.get('customerId'), self.partner_reference))
return invalid_parameters