[FIX] website_sale: don't apply the company name as street logic in shipping address
This commit is contained in:
parent
ced8c3cf3f
commit
a644bbaec8
|
@ -455,7 +455,7 @@ class website_sale(http.Controller):
|
|||
else:
|
||||
query = dict((prefix + field_name, getattr(data, field_name))
|
||||
for field_name in all_fields if getattr(data, field_name))
|
||||
if data.parent_id:
|
||||
if address_type == 'billing' and data.parent_id:
|
||||
query[prefix + 'street'] = data.parent_id.name
|
||||
|
||||
if query.get(prefix + 'state_id'):
|
||||
|
|
Loading…
Reference in New Issue