When we are importing a module and we need to create an attachment from a file in static. We get an error if the file path of the file contains a space. We get this error becuase it takes the path to generate an xml id and the name of an xml_id cannot contains spaces. closes odoo/odoo#142113 Signed-off-by: Pierre Masereel (pim) <pim@odoo.com>