summaryrefslogtreecommitdiff
path: root/addons/payment_authorize/tests
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-01-10 09:07:46 +0000
committerPierre Masereel <pim@odoo.com>2019-01-10 13:41:49 +0000
commit5f724892e7a7b0f43802bf215bf9c96d4e1030f5 (patch)
tree5c0515d57030db9d3ad615cc6270e238bf2aa68f /addons/payment_authorize/tests
parent6e1161e2ee6a5ffb14d2c3a24b696a89e0fba840 (diff)
[FIX] payment: create payment transaction without partner_id
The field partner id is not a required field in payment transaction, and we try to read its value in the dictionnary given to the create function, so if a transaction is created without the partner_id, it will raise a KeyError. So to fix it, we only complete the pratner values on the payment transaction if a partner_id is given.
Diffstat (limited to 'addons/payment_authorize/tests')
0 files changed, 0 insertions, 0 deletions