Commit Graph

57 Commits (b176a24656d9518f0e28224010b06ec40aae8ec0)

Author SHA1 Message Date
Omar b176a24656 [UPD] report_py3o: Bump version 2018-11-23 17:29:00 +01:00
Omar 9c3da02bdb [FIX] report_py3o: Import new dependencies in try...except 2018-11-23 17:29:00 +01:00
Omar 780cef9898 [FIX] report_py3o: Removes api.one 2018-11-23 17:29:00 +01:00
omar7r 3850a62d75 [FIX] Deletes an unnecessary function call 2018-11-23 17:29:00 +01:00
Omar 838f94e3fc [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2018-11-23 17:29:00 +01:00
OCA Transbot c336bc93f3 OCA Transbot updated translations from Transifex 2018-11-23 17:29:00 +01:00
Laurent Mignon 0fbd3538f9 [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
2018-11-23 17:29:00 +01:00
Laurent Mignon (ACSONE) 860439b743 [FIX] report_py3o: must return the path to the report
refs #119
2018-11-23 17:29:00 +01:00
OCA Transbot 275fe2bf62 OCA Transbot updated translations from Transifex 2018-11-23 17:29:00 +01:00
Alexis de Lattre 5173ca28c3 Add option py3o_multi_in_one for Py3o reports 2018-11-23 17:27:19 +01:00
Guewen Baconnier 97fa71333f Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2018-11-23 17:27:19 +01:00
Guewen Baconnier 00ee152021 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.
2018-11-23 17:27:19 +01:00
Stéphane Bidoul (ACSONE) eb6d4e5859 report_py3o: bump version following last merge 2018-11-23 17:27:19 +01:00
OCA Transbot 9314ff2a96 OCA Transbot updated translations from Transifex 2018-11-23 17:27:19 +01:00
Laurent Mignon (ACSONE) 65dd610068 [IMP] report_py3o: prevent injections when retrieving the template from path 2018-11-23 17:27:19 +01:00
OCA Transbot 7e4e964559 OCA Transbot updated translations from Transifex 2018-11-23 17:27:19 +01:00
Laurent Mignon (ACSONE) d0a3982fce [IMP] report_py3o: update authors and contributors 2018-11-23 17:27:19 +01:00
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
OCA Transbot e39784ae7d OCA Transbot updated translations from Transifex 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
Alexis de Lattre f1ee7c0a35 Update and improve README instructions to setup py3o 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
Laurent Mignon (ACSONE) 57fadae84c [IMP] Escape 'False' when rendering value 2018-11-23 17:27:19 +01:00
Alexis de Lattre b1f78b6dc5 FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2018-11-23 17:27:19 +01:00
Alexis de Lattre 54dbe57480 Add access to report_xml object in report 2018-11-23 17:27:19 +01:00
Alexis de Lattre d8e5215531 FIX double dot in filename 2018-11-23 17:27:19 +01:00
Alexis de Lattre 6a8dfd4d07 Update README 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 71d03ecfee Update version numbers
Rename __openerp__.py to __manifest__.py
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
Alexis de Lattre c25c44f74a report_py3o: full installation procedure in README 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 fd3f844be4 Replace openerp element by odoo 2018-11-23 17:27:19 +01:00
Laurent Mignon 25605352aa Improve tests 2018-11-23 17:27:19 +01:00
Laurent Mignon 8892b8faa6 Fix skip fusion on server when the fusion is local 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 994dc716d8 Fix native flag 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 3fe36bef18 Remove ACL on removed model 2018-11-23 17:27:19 +01:00
Laurent Mignon af3baa493f Add a simple way to extend the parser context 2018-11-23 17:27:19 +01:00