Browse Source

Add skipfusion flag to post

pull/80/head
Anael Lorimier 10 years ago
parent
commit
9163a2a2f8
  1. 1
      __openerp__.py
  2. 1
      py3o_report.py

1
__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,
}

1
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

Loading…
Cancel
Save