Commit Graph

9 Commits

Author SHA1 Message Date
Guewen Baconnier
2d5a6cc521 Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2020-10-21 19:13:32 +03:00
Guewen Baconnier
56d631eba2 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.
2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE)
4e96f362f0 [IMP] report_py3o: prevent injections when retrieving the template from path 2020-10-21 19:13:32 +03:00
Alexis de Lattre
f18f6a537c [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE)
d29a3b3a8d [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
2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE)
3b00271ebb [IMP] Allow to override/extend the way we get the fallback template 2020-10-21 19:13:32 +03:00
Laurent Mignon
714ea78ce8 [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2020-10-21 19:13:32 +03:00
Jonathan Nemry (ACSONE)
e69592c5f7 [FIX] imports 2020-10-21 19:13:32 +03:00
Laurent Mignon
1871d9829d [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
2020-10-21 19:13:32 +03:00