Add skipfusion flag to post

pull/80/head
Anael Lorimier 2014-10-15 16:48:34 +02:00
parent 7ef42df456
commit 9163a2a2f8
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ The py3o.template package is required; install it with:
'py3o_template.xml', 'py3o_template.xml',
'py3o_server.xml', 'py3o_server.xml',
'data/py3o.fusion.filetype.csv', 'data/py3o.fusion.filetype.csv',
'security/ir.model.access.csv',
], ],
'installable': True, 'installable': True,
} }

View File

@ -88,6 +88,7 @@ class py3o_report(report_sxw):
"targetformat": filetype.fusion_ext, "targetformat": filetype.fusion_ext,
"datadict": "{}", "datadict": "{}",
"image_mapping": "{}", "image_mapping": "{}",
"skipfusion": True,
} }
r = requests.post(fusion_server.url, data=fields, files=files) r = requests.post(fusion_server.url, data=fields, files=files)
chunk_size = 1024 chunk_size = 1024