Commit Graph

112 Commits

Author SHA1 Message Date
OCA Transbot
93acd0a666 OCA Transbot updated translations from Transifex 2020-10-21 19:13:32 +03:00
Holger Brunn
a88ed813a0 [ADD] migration script to install report_py3o_fusion_server on upgrades 2020-10-21 19:13:32 +03:00
Alexis de Lattre
05b7f7b582 Improve README.rst for report_py3o* modules 2020-10-21 19:13:32 +03:00
Holger Brunn
0a706a660f [RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
2020-10-21 19:13:32 +03:00
OCA Transbot
238b24877e OCA Transbot updated translations from Transifex 2020-10-21 19:13:32 +03:00
Omar
5303d55e19 [UPD] report_py3o: Bump version 2020-10-21 19:13:32 +03:00
Omar
e5f5f045f8 [FIX] report_py3o: Import new dependencies in try...except 2020-10-21 19:13:32 +03:00
Omar
01e61fe06f [FIX] report_py3o: Removes api.one 2020-10-21 19:13:32 +03:00
omar7r
9f9d437e41 [FIX] Deletes an unnecessary function call 2020-10-21 19:13:32 +03:00
Omar
6e59b1fa86 [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2020-10-21 19:13:32 +03:00
OCA Transbot
76d09ae12e OCA Transbot updated translations from Transifex 2020-10-21 19:13:32 +03:00
Laurent Mignon
f0d17fd206 [IMP] report_py3o: Take into account print_report_name
If a Printed Report Name is set on the action report, use it as
downloaded filename
refs #133
2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE)
7f6c8129e5 [FIX] report_py3o: must return the path to the report
refs #119
2020-10-21 19:13:32 +03:00
OCA Transbot
ac1c3572e8 OCA Transbot updated translations from Transifex 2020-10-21 19:13:32 +03:00
Alexis de Lattre
65861e4afa Add option py3o_multi_in_one for Py3o reports 2020-10-21 19:13:32 +03:00
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
Stéphane Bidoul (ACSONE)
e0b02857be report_py3o: bump version following last merge 2020-10-21 19:13:32 +03:00
OCA Transbot
2ad0daaf66 OCA Transbot updated translations from Transifex 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
OCA Transbot
ce615f24f6 OCA Transbot updated translations from Transifex 2020-10-21 19:13:32 +03:00
Laurent Mignon (ACSONE)
b8d19023fd [IMP] report_py3o: update authors and contributors 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
OCA Transbot
131bbec2a5 OCA Transbot updated translations from Transifex 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
Alexis de Lattre
6d020f126f Update and improve README instructions to setup py3o 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
Laurent Mignon (ACSONE)
1e01df761f [IMP] Escape 'False' when rendering value 2020-10-21 19:13:32 +03:00
Alexis de Lattre
a3cfe88b7c FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2020-10-21 19:13:32 +03:00
Alexis de Lattre
a6b5b2a809 Add access to report_xml object in report 2020-10-21 19:13:32 +03:00
Alexis de Lattre
1203c24e30 FIX double dot in filename 2020-10-21 19:13:32 +03:00
Alexis de Lattre
afc389bdf0 Update README 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
726d7cf1e0 Update version numbers
Rename __openerp__.py to __manifest__.py
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
Alexis de Lattre
cc4ef3daf0 report_py3o: full installation procedure in README 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
67d5ac030f Replace openerp element by odoo 2020-10-21 19:13:32 +03:00
Laurent Mignon
bac8750461 Improve tests 2020-10-21 19:13:32 +03:00
Laurent Mignon
7285c99802 Fix skip fusion on server when the fusion is local 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