Commit Graph

768 Commits

Author SHA1 Message Date
Omar
cde6843679 [UPD] report_py3o: Bump version 2023-03-24 13:41:49 +01:00
Omar
41ab72aad8 [FIX] report_py3o: Import new dependencies in try...except 2023-03-24 13:41:49 +01:00
Omar
ce7001e35d [FIX] report_py3o: Removes api.one 2023-03-24 13:41:49 +01:00
omar7r
0e9506b349 [FIX] Deletes an unnecessary function call 2023-03-24 13:41:49 +01:00
Omar
77f42ed173 [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2023-03-24 13:41:49 +01:00
OCA Transbot
ab5275ab6e OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Laurent Mignon
622420d7c6 [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
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
8a5f6bb2f4 [FIX] report_py3o: must return the path to the report
refs #119
2023-03-24 13:41:49 +01:00
OCA Transbot
6ba5b8411e OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Alexis de Lattre
e548439209 Add option py3o_multi_in_one for Py3o reports 2023-03-24 13:41:49 +01:00
Guewen Baconnier
be3f68a892 Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2023-03-24 13:41:49 +01:00
Guewen Baconnier
1918272567 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.
2023-03-24 13:41:49 +01:00
Stéphane Bidoul (ACSONE)
c5de04dcd8 report_py3o: bump version following last merge 2023-03-24 13:41:49 +01:00
OCA Transbot
86c964022b OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
a0240b0b53 [IMP] report_py3o: prevent injections when retrieving the template from path 2023-03-24 13:41:49 +01:00
OCA Transbot
7acd324d86 OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
598676d84d [IMP] report_py3o: update authors and contributors 2023-03-24 13:41:49 +01:00
Alexis de Lattre
8845b3c1b8 [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2023-03-24 13:41:49 +01:00
OCA Transbot
b1683bb078 OCA Transbot updated translations from Transifex 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
daae2220ac [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
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
10ca85462d [IMP] Allow to override/extend the way we get the fallback template 2023-03-24 13:41:49 +01:00
Alexis de Lattre
25959fab26 Update and improve README instructions to setup py3o 2023-03-24 13:41:49 +01:00
Jonathan Nemry (ACSONE)
505d2320b9 * travis.yml
* flake8
2023-03-24 13:41:49 +01:00
Laurent Mignon
b4737a131f [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2023-03-24 13:41:49 +01:00
Jonathan Nemry (ACSONE)
341375d622 [FIX] imports 2023-03-24 13:41:49 +01:00
Laurent Mignon
8a55bdfae7 [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
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
434a717bad [IMP] Escape 'False' when rendering value 2023-03-24 13:41:49 +01:00
Alexis de Lattre
6bd7ad1809 FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2023-03-24 13:41:49 +01:00
Alexis de Lattre
aa548f9ff6 Add access to report_xml object in report 2023-03-24 13:41:49 +01:00
Alexis de Lattre
06f8dbb882 FIX double dot in filename 2023-03-24 13:41:49 +01:00
Alexis de Lattre
6bbdec2212 Update README 2023-03-24 13:41:49 +01:00
Alexis de Lattre
eda97dd651 PEP8 fix 2023-03-24 13:41:49 +01:00
Alexis de Lattre
1f5e16df6a Update version numbers
Rename __openerp__.py to __manifest__.py
2023-03-24 13:41:49 +01:00
Alexis de Lattre
a6ecaf2a46 Port report_py3o to Odoo v10 2023-03-24 13:41:49 +01:00
Alexis de Lattre
3e4aade02e report_py3o: full installation procedure in README 2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
5dd8ac4063 [FIX] Check constrains only if report_type == 'py3o' 2023-03-24 13:41:49 +01:00
Laurent Mignon
50037e8cbb Add more tests and fixes issues found by tests 2023-03-24 13:41:49 +01:00
Laurent Mignon
a205c00413 rename module ir_report to ir_actions_report_xml 2023-03-24 13:41:49 +01:00
Laurent Mignon
1f5a66cd3a Replace plain SQL by orm 2023-03-24 13:41:49 +01:00
Alexis de Lattre
99adcf39ac Take into accounts most remarks of @lasley
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
2023-03-24 13:41:49 +01:00
Alexis de Lattre
6e91d017e9 Small usability improvements
Replace README.md by README.rst (not finished)
2023-03-24 13:41:49 +01:00
Laurent Mignon
1b81efc090 Replace openerp element by odoo 2023-03-24 13:41:49 +01:00
Laurent Mignon
bf0906c95e Improve tests 2023-03-24 13:41:49 +01:00
Laurent Mignon
54a410adde Fix skip fusion on server when the fusion is local 2023-03-24 13:41:49 +01:00
Laurent Mignon
0f5bc2a8f1 Add simple tests and fix call to fusion server 2023-03-24 13:41:49 +01:00
Florent AIDE
0833650716 fixed missing comma in model definition 2023-03-24 13:41:49 +01:00
Laurent Mignon
ab8e42c6a9 Fix native flag 2023-03-24 13:41:49 +01:00
Laurent Mignon
2389ebffe0 Improve filetype selection name 2023-03-24 13:41:49 +01:00
Laurent Mignon
1d65ceec2f Remove ACL on removed model 2023-03-24 13:41:49 +01:00
Laurent Mignon
4efd67ee6d Add a simple way to extend the parser context 2023-03-24 13:41:49 +01:00