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
Jonathan Nemry (ACSONE)
3dedfcf072
* travis.yml
...
* flake8
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
Alexis de Lattre
34c554efde
PEP8 fix
2020-10-21 19:13:32 +03:00
Alexis de Lattre
9c30326a49
Port report_py3o to Odoo v10
2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE)
0b2d58a3e1
[FIX] Check constrains only if report_type == 'py3o'
2020-10-21 19:13:32 +03:00
Laurent Mignon
ac39d060e4
Add more tests and fixes issues found by tests
2020-10-21 19:13:32 +03:00
Laurent Mignon
8c279cadcf
rename module ir_report to ir_actions_report_xml
2020-10-21 19:13:32 +03:00
Laurent Mignon
6201dc9e73
Replace plain SQL by orm
2020-10-21 19:13:32 +03:00
Alexis de Lattre
c3f8e1cd69
Take into accounts most remarks of @lasley
...
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
2020-10-21 19:13:32 +03:00
Alexis de Lattre
46f901bbb0
Small usability improvements
...
Replace README.md by README.rst (not finished)
2020-10-21 19:13:32 +03:00
Laurent Mignon
94df910703
Add simple tests and fix call to fusion server
2020-10-21 19:13:32 +03:00
Florent AIDE
61172a42ef
fixed missing comma in model definition
2020-10-21 19:13:32 +03:00
Laurent Mignon
1f81e4c38f
Improve filetype selection name
2020-10-21 19:13:32 +03:00
Laurent Mignon
10ce6f6c1c
[IMP] Allow user to use local fusion
2020-10-21 19:13:32 +03:00
Laurent Mignon
6d4efe1360
[IMP] Add the possiblity to get the template from an absolute path on the server
2020-10-21 19:13:32 +03:00
Laurent Mignon
982fff840e
Remove unicode string
2020-10-21 19:13:32 +03:00
Laurent Mignon
a88aa63739
[IMP] New API + Short Hearder
2020-10-21 19:13:32 +03:00
Laurent Mignon
75ab2d3809
Move to report_py3o after import from HG
2020-10-21 19:13:32 +03:00