diff --git a/openerp/tools/yaml_import.py b/openerp/tools/yaml_import.py index e0ced74fa3e..8c00f814403 100644 --- a/openerp/tools/yaml_import.py +++ b/openerp/tools/yaml_import.py @@ -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.")