Prefer null over empty string, for vendor contact info
This commit is contained in:
parent
68a0781795
commit
caef131d7c
|
@ -93,9 +93,9 @@ class VendorImporter(FromCOREPOS, importing.model.VendorImporter):
|
||||||
'name': vendor.name,
|
'name': vendor.name,
|
||||||
'abbreviation': vendor.abbreviation,
|
'abbreviation': vendor.abbreviation,
|
||||||
'special_discount': special_discount,
|
'special_discount': special_discount,
|
||||||
'phone_number': vendor.phone,
|
'phone_number': vendor.phone or None,
|
||||||
'fax_number': vendor.fax,
|
'fax_number': vendor.fax or None,
|
||||||
'email_address': vendor.email,
|
'email_address': vendor.email or None,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue