Commit Graph

23 Commits

Author SHA1 Message Date
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
Jonathan Nemry (ACSONE)
1e930adfd2 * travis.yml
* flake8
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
Alexis de Lattre
1ca273efa8 PEP8 fix 2018-11-23 17:27:19 +01:00
Alexis de Lattre
60fa7324cf Port report_py3o to Odoo v10 2018-11-23 17:27:19 +01:00
Laurent Mignon (ACSONE)
e3986ad538 [FIX] Check constrains only if report_type == 'py3o' 2018-11-23 17:27:19 +01:00
Laurent Mignon
211fec175b Add more tests and fixes issues found by tests 2018-11-23 17:27:19 +01:00
Laurent Mignon
ef3461e87a rename module ir_report to ir_actions_report_xml 2018-11-23 17:27:19 +01:00
Laurent Mignon
9f6a0bd730 Replace plain SQL by orm 2018-11-23 17:27:19 +01:00
Alexis de Lattre
ceea7bf493 Take into accounts most remarks of @lasley
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
2018-11-23 17:27:19 +01:00
Alexis de Lattre
b6faa590b2 Small usability improvements
Replace README.md by README.rst (not finished)
2018-11-23 17:27:19 +01:00
Laurent Mignon
0a8c0b67c6 Add simple tests and fix call to fusion server 2018-11-23 17:27:19 +01:00
Florent AIDE
e40e810485 fixed missing comma in model definition 2018-11-23 17:27:19 +01:00
Laurent Mignon
8360106cfe Improve filetype selection name 2018-11-23 17:27:19 +01:00
Laurent Mignon
744fb50808 [IMP] Allow user to use local fusion 2018-11-23 17:27:19 +01:00
Laurent Mignon
92a1cde5b5 [IMP] Add the possiblity to get the template from an absolute path on the server 2018-11-23 17:27:19 +01:00
Laurent Mignon
eac6184104 Remove unicode string 2018-11-23 17:27:19 +01:00
Laurent Mignon
32062c987e [IMP] New API + Short Hearder 2018-11-23 17:27:19 +01:00
Laurent Mignon
351badcd48 Move to report_py3o after import from HG 2018-11-23 17:27:19 +01:00