Active delivery option when create an invoice address and same delivery address

This commit is contained in:
resteve 2015-10-14 10:14:05 +02:00
parent 98384050f6
commit cb219a9da4
1 changed files with 2 additions and 0 deletions

View File

@ -305,6 +305,8 @@ def confirm(lang):
'email': data.get('invoice_email'),
'fax': None,
}
if shipment_address == 'invoice_address':
values['delivery'] = True
invoice_address = Address.esale_create_address(
shop, party, values, type='invoice')