mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
Merge branch 'imp/12.0/connector_opencart__case_insensitive_email_search' into '12.0-test'
imp/12.0/connector_opencart__case_insensitive_email_search into 12.0-test See merge request hibou-io/hibou-odoo/suite!903
This commit is contained in:
@@ -230,6 +230,9 @@ class SaleOrderImporter(Component):
|
||||
elif key == 'country_id':
|
||||
if value != partner.country_id.id:
|
||||
return False
|
||||
elif bool(value) and isinstance(value, str):
|
||||
if value.lower() != str(getattr(partner, key)).lower():
|
||||
return False
|
||||
elif bool(value) and value != getattr(partner, key):
|
||||
return False
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user