diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-01-10 09:07:46 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-01-10 13:41:49 +0000 |
| commit | 5f724892e7a7b0f43802bf215bf9c96d4e1030f5 (patch) | |
| tree | 5c0515d57030db9d3ad615cc6270e238bf2aa68f /addons/payment_authorize/tests | |
| parent | 6e1161e2ee6a5ffb14d2c3a24b696a89e0fba840 (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
