mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
IMP connector_opencart Better defaults for empty 'lastname'.
This commit is contained in:
@@ -204,7 +204,7 @@ class SaleOrderImporter(Component):
|
|||||||
info[k[len(info_string):]] = v
|
info[k[len(info_string):]] = v
|
||||||
|
|
||||||
|
|
||||||
name = self._make_partner_name(info.get('firstname', ''), info.get('lastname'))
|
name = self._make_partner_name(info.get('firstname', ''), info.get('lastname', ''))
|
||||||
street = info.get('address_1', '')
|
street = info.get('address_1', '')
|
||||||
street2 = info.get('address_2', '')
|
street2 = info.get('address_2', '')
|
||||||
city = info.get('city', '')
|
city = info.get('city', '')
|
||||||
|
|||||||
Reference in New Issue
Block a user