diff --git a/odoo/import_xml.rng b/odoo/import_xml.rng index adcbd19e033..81fef2b35c6 100644 --- a/odoo/import_xml.rng +++ b/odoo/import_xml.rng @@ -73,6 +73,7 @@ + diff --git a/odoo/tools/convert.py b/odoo/tools/convert.py index 7e8e9f6e3ce..76c7ec523af 100644 --- a/odoo/tools/convert.py +++ b/odoo/tools/convert.py @@ -285,8 +285,14 @@ form: module.record_id""" % (xml_id,) for dest,f in (('name','string'),('model','model'),('report_name','name')): res[dest] = rec.get(f,'').encode('utf8') assert res[dest], "Attribute %s of report is empty !" % (f,) - for field,dest in (('attachment','attachment'),('attachment_use','attachment_use'), ('usage','usage'), - ('file', 'report_file'), ('report_type', 'report_type'), ('parser', 'parser')): + for field, dest in (('attachment', 'attachment'), + ('attachment_use', 'attachment_use'), + ('usage', 'usage'), + ('file', 'report_file'), + ('report_type', 'report_type'), + ('parser', 'parser'), + ('print_report_name', 'print_report_name'), + ): if rec.get(field): res[dest] = rec.get(field).encode('utf8') if rec.get('auto'):