[MERGE] YAML: Support m2o None value, courtesy of Dmitrijs Ledkovs (credativ)
bzr revid: odo@openerp.com-20111124153233-4vpb6k1c3ksllsfd
This commit is contained in:
commit
aa6b926e74
|
@ -166,7 +166,7 @@ class YamlInterpreter(object):
|
|||
self.logger.log(logging.ERROR, 'id: %s is to long (max: 64)', id)
|
||||
|
||||
def get_id(self, xml_id):
|
||||
if xml_id is False:
|
||||
if xml_id is False or xml_id is None:
|
||||
return False
|
||||
#if not xml_id:
|
||||
# raise YamlImportException("The xml_id should be a non empty string.")
|
||||
|
|
Loading…
Reference in New Issue