diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-04-13 13:22:27 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-04-13 13:22:27 +0200 |
| commit | 13ad16104afa58fd7d3d70f502ada972727084eb (patch) | |
| tree | 85cf1db6e9bd45960cc76e2b04122c460d945337 /addons/payment_authorize/models/authorize_request.py | |
| parent | bb5e0a3cfa08845dc935b1bc4881807f56e116c8 (diff) | |
| parent | 00e169c05a270a0943a74fbeb0a884009946c7cd (diff) | |
[MERGE] forward port branch 10.0 up to 00e169c05a2
Diffstat (limited to 'addons/payment_authorize/models/authorize_request.py')
| -rw-r--r-- | addons/payment_authorize/models/authorize_request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_authorize/models/authorize_request.py b/addons/payment_authorize/models/authorize_request.py index 28cba8db301..6eef3ae80cc 100644 --- a/addons/payment_authorize/models/authorize_request.py +++ b/addons/payment_authorize/models/authorize_request.py @@ -150,7 +150,7 @@ class AuthorizeAPI(): etree.SubElement(root, "transId").text = transaction_id customer = etree.SubElement(root, "customer") etree.SubElement(customer, "merchantCustomerId").text = 'ODOO-%s-%s' % (partner.id, uuid4().hex[:8]) - etree.SubElement(customer, "email").text = partner.email + etree.SubElement(customer, "email").text = partner.email or '' response = self._authorize_request(root) res = dict() res['profile_id'] = response.find('customerProfileId').text |
