Commit Graph

8 Commits

Author SHA1 Message Date
Guewen Baconnier
9ad06ad2a9 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.
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE)
ab7c0b4f36 [IMP] report_py3o: prevent injections when retrieving the template from path 2019-11-19 14:23:48 +01:00
Alexis de Lattre
b56f430e64 [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE)
9b3aef021c [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
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE)
5f50f781a6 [IMP] Allow to override/extend the way we get the fallback template 2019-11-19 14:23:48 +01:00
Laurent Mignon
b0fe0b14f4 [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2019-11-19 14:23:48 +01:00
Jonathan Nemry (ACSONE)
b43caf05aa [FIX] imports 2019-11-19 14:23:48 +01:00
Laurent Mignon
990e66123a [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
2019-11-19 14:23:48 +01:00