From 9163a2a2f821796670277d549fac6be3fb7c7d54 Mon Sep 17 00:00:00 2001 From: Anael Lorimier Date: Wed, 15 Oct 2014 16:48:34 +0200 Subject: [PATCH] Add skipfusion flag to post --- __openerp__.py | 1 + py3o_report.py | 1 + 2 files changed, 2 insertions(+) diff --git a/__openerp__.py b/__openerp__.py index 575cf1d8..246ab1ba 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -24,6 +24,7 @@ The py3o.template package is required; install it with: 'py3o_template.xml', 'py3o_server.xml', 'data/py3o.fusion.filetype.csv', + 'security/ir.model.access.csv', ], 'installable': True, } diff --git a/py3o_report.py b/py3o_report.py index 9b3fecb1..76f075f2 100644 --- a/py3o_report.py +++ b/py3o_report.py @@ -88,6 +88,7 @@ class py3o_report(report_sxw): "targetformat": filetype.fusion_ext, "datadict": "{}", "image_mapping": "{}", + "skipfusion": True, } r = requests.post(fusion_server.url, data=fields, files=files) chunk_size = 1024