Alexis de Lattre
22d177f1f5
Merge pull request #109 from acsone/10.0-avoid_injections_report_py3o-lmi
...
[10.0] [IMP] report_py3o: prevent injections when retrieving the template fr…
2017-03-21 10:58:04 +01:00
Laurent Mignon (ACSONE)
f0d86e1dd0
[IMP] report_py3o: prevent injections when retrieving the template from path
2017-03-16 15:19:00 +01:00
Alexis de Lattre
f39826550a
[FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o)
2017-03-06 10:30:50 +01:00
Laurent Mignon (ACSONE)
32a79ae71f
[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
2017-02-23 10:09:38 +01:00
Laurent Mignon (ACSONE)
4048c0b8c1
[IMP] Allow to override/extend the way we get the fallback template
2017-01-25 13:50:39 +01:00
Jonathan Nemry (ACSONE)
7bda0cb92a
* travis.yml
...
* flake8
2017-01-09 15:28:22 +01:00
Laurent Mignon
f592b753ec
[IMP] Minimizes memory consumption
...
Conflicts:
report_py3o/models/py3o_report.py
2017-01-09 15:22:02 +01:00
Jonathan Nemry (ACSONE)
efcbd1d3ad
[FIX] imports
2017-01-09 15:14:12 +01:00
Laurent Mignon
ac98e1bbc6
[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
2017-01-09 15:14:12 +01:00
Alexis de Lattre
74b4aa4df5
PEP8 fix
2016-10-14 19:02:55 +02:00
Alexis de Lattre
f795b1fa87
Port report_py3o to Odoo v10
2016-10-14 18:56:39 +02:00
Laurent Mignon (ACSONE)
506ec71703
[FIX] Check constrains only if report_type == 'py3o'
2016-10-12 16:24:27 +02:00
Laurent Mignon
de2973c06a
Add more tests and fixes issues found by tests
2016-10-06 10:57:14 +02:00
Laurent Mignon
30434553cb
rename module ir_report to ir_actions_report_xml
2016-10-06 10:57:14 +02:00
Laurent Mignon
3a3b581991
Replace plain SQL by orm
2016-10-06 10:57:14 +02:00
Alexis de Lattre
2fbbdc9846
Take into accounts most remarks of @lasley
...
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
2016-10-05 09:50:57 +02:00
Alexis de Lattre
83f88aa871
Small usability improvements
...
Replace README.md by README.rst (not finished)
2016-10-04 22:36:41 +02:00
Laurent Mignon
f7a0bf08bb
Add simple tests and fix call to fusion server
2016-10-04 16:39:50 +02:00
Florent AIDE
3c12e2cbe3
fixed missing comma in model definition
2016-10-04 14:39:22 +02:00
Laurent Mignon
fbf19400d3
Improve filetype selection name
2016-10-04 13:52:07 +02:00
Laurent Mignon
cbc1416f53
[IMP] Allow user to use local fusion
2016-10-04 11:28:31 +02:00
Laurent Mignon
439a494d40
[IMP] Add the possiblity to get the template from an absolute path on the server
2016-10-04 10:05:20 +02:00
Laurent Mignon
099fe5e1ea
Remove unicode string
2016-10-04 09:50:16 +02:00
Laurent Mignon
6dae7de2c7
[IMP] New API + Short Hearder
2016-10-04 08:35:09 +02:00
Laurent Mignon
c1479c64d2
Move to report_py3o after import from HG
2016-10-03 17:50:09 +02:00