mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
8.0.2.1
Fixed bug -> removed raise exception when no xml id found. --HG-- branch : odoo8
This commit is contained in:
@@ -51,6 +51,7 @@ class py3o_report(report_sxw):
|
||||
report_xml_ids = report_xml_obj.search(cr, uid,
|
||||
[('report_name', '=', self.name[7:])], # Ignore "report."
|
||||
context=context)
|
||||
|
||||
if not report_xml_ids:
|
||||
return super(py3o_report, self).create(cr, uid, ids, data,
|
||||
context=context)
|
||||
|
||||
Reference in New Issue
Block a user