Commit Graph

11 Commits

Author SHA1 Message Date
Laurent Mignon (ACSONE)
860439b743 [FIX] report_py3o: must return the path to the report
refs #119
2018-11-23 17:29:00 +01:00
Alexis de Lattre
5173ca28c3 Add option py3o_multi_in_one for Py3o reports 2018-11-23 17:27:19 +01:00
Guewen Baconnier
97fa71333f Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2018-11-23 17:27:19 +01:00
Guewen Baconnier
00ee152021 Fix py3o freeze when using server fusion
The template file has been partially read for the parsing of the
expressions, so use the original template data instead.  When the fusion
server receives an incomplete template, we don't receive any answer
back.
2018-11-23 17:27:19 +01:00
Laurent Mignon (ACSONE)
65dd610068 [IMP] report_py3o: prevent injections when retrieving the template from path 2018-11-23 17:27:19 +01:00
Alexis de Lattre
ca8de29893 [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2018-11-23 17:27:19 +01:00
Laurent Mignon (ACSONE)
e5861a78de [FIX] report_py3o: fix exception when report must be saved as attachement
The mehtod  must be called with a list of ids not with a list of browse records
2018-11-23 17:27:19 +01:00
Laurent Mignon (ACSONE)
bc35d438fd [IMP] Allow to override/extend the way we get the fallback template 2018-11-23 17:27:19 +01:00
Laurent Mignon
63167880c8 [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2018-11-23 17:27:19 +01:00
Jonathan Nemry (ACSONE)
55bcc1e5df [FIX] imports 2018-11-23 17:27:19 +01:00
Laurent Mignon
e542ea7ba5 [IMP] Replace old style parser by TransientModel
The goal is to improve the modularity by making the parser a true inheritable odoo model and share part of the code with the 'report' model

Conflicts:
	report_py3o/models/ir_actions_report_xml.py
	report_py3o/models/py3o_report.py
	report_py3o/tests/test_report_py3o.py
2018-11-23 17:27:19 +01:00