Commit Graph

54 Commits (92913f3730c4bbb0bbef6c33c0b06f5941f5791c)

Author SHA1 Message Date
OCA Transbot 92913f3730 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Laurent Mignon 16be57e7d3 [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
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) 4730c9fe53 [FIX] report_py3o: must return the path to the report
refs #119
2019-11-19 14:23:48 +01:00
OCA Transbot 03e258f890 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Alexis de Lattre 0a6f32d1fc Add option py3o_multi_in_one for Py3o reports 2019-11-19 14:23:48 +01:00
Guewen Baconnier 54248ddea1 Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2019-11-19 14:23:48 +01:00
Guewen Baconnier 9ad06ad2a9 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.
2019-11-19 14:23:48 +01:00
Stéphane Bidoul (ACSONE) 017f3836f4 report_py3o: bump version following last merge 2019-11-19 14:23:48 +01:00
OCA Transbot 60466fa05c OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) ab7c0b4f36 [IMP] report_py3o: prevent injections when retrieving the template from path 2019-11-19 14:23:48 +01:00
OCA Transbot 49528cea32 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) 927e09217f [IMP] report_py3o: update authors and contributors 2019-11-19 14:23:48 +01:00
Alexis de Lattre b56f430e64 [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2019-11-19 14:23:48 +01:00
OCA Transbot d051b0df68 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) 9b3aef021c [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
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) 5f50f781a6 [IMP] Allow to override/extend the way we get the fallback template 2019-11-19 14:23:48 +01:00
Alexis de Lattre 1d9bf3ee74 Update and improve README instructions to setup py3o 2019-11-19 14:23:48 +01:00
Jonathan Nemry (ACSONE) 15882b3ba5 * travis.yml
* flake8
2019-11-19 14:23:48 +01:00
Laurent Mignon b0fe0b14f4 [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2019-11-19 14:23:48 +01:00
Jonathan Nemry (ACSONE) b43caf05aa [FIX] imports 2019-11-19 14:23:48 +01:00
Laurent Mignon 990e66123a [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
2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) f260b0b4a3 [IMP] Escape 'False' when rendering value 2019-11-19 14:23:48 +01:00
Alexis de Lattre 36a3e8b20b FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2019-11-19 14:23:48 +01:00
Alexis de Lattre 7e6a885a95 Add access to report_xml object in report 2019-11-19 14:23:48 +01:00
Alexis de Lattre df0c5b0405 FIX double dot in filename 2019-11-19 14:23:48 +01:00
Alexis de Lattre 9ed3231ee3 Update README 2019-11-19 14:23:48 +01:00
Alexis de Lattre 4636bd38bd PEP8 fix 2019-11-19 14:23:48 +01:00
Alexis de Lattre 4dfdcfd813 Update version numbers
Rename __openerp__.py to __manifest__.py
2019-11-19 14:23:48 +01:00
Alexis de Lattre ebe80d514b Port report_py3o to Odoo v10 2019-11-19 14:23:48 +01:00
Alexis de Lattre 4bc3b57b15 report_py3o: full installation procedure in README 2019-11-19 14:23:48 +01:00
Laurent Mignon (ACSONE) f9d3aa6487 [FIX] Check constrains only if report_type == 'py3o' 2019-11-19 14:23:48 +01:00
Laurent Mignon d8d652e9d8 Add more tests and fixes issues found by tests 2019-11-19 14:23:48 +01:00
Laurent Mignon 5017b759fa rename module ir_report to ir_actions_report_xml 2019-11-19 14:23:48 +01:00
Laurent Mignon fd36ac120b Replace plain SQL by orm 2019-11-19 14:23:48 +01:00
Alexis de Lattre 15a8a2e5ec Take into accounts most remarks of @lasley
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
2019-11-19 14:23:48 +01:00
Alexis de Lattre d5ce2246a9 Small usability improvements
Replace README.md by README.rst (not finished)
2019-11-19 14:23:48 +01:00
Laurent Mignon 0686c3c671 Replace openerp element by odoo 2019-11-19 14:23:48 +01:00
Laurent Mignon ef81ba21cf Improve tests 2019-11-19 14:23:48 +01:00
Laurent Mignon 2d99e760c2 Fix skip fusion on server when the fusion is local 2019-11-19 14:23:48 +01:00
Laurent Mignon 22bff734d7 Add simple tests and fix call to fusion server 2019-11-19 14:23:48 +01:00
Florent AIDE e895553c2f fixed missing comma in model definition 2019-11-19 14:23:48 +01:00
Laurent Mignon 7b37a5c2b7 Fix native flag 2019-11-19 14:23:48 +01:00
Laurent Mignon 35b43947f5 Improve filetype selection name 2019-11-19 14:23:48 +01:00
Laurent Mignon 1fd98bc165 Remove ACL on removed model 2019-11-19 14:23:48 +01:00
Laurent Mignon 608430792f Add a simple way to extend the parser context 2019-11-19 14:23:48 +01:00
Laurent Mignon 980ca9c12c [IMP] Allow user to use local fusion 2019-11-19 14:23:48 +01:00
Laurent Mignon 21c939e9fe [IMP] Add the possiblity to get the template from an absolute path on the server 2019-11-19 14:23:48 +01:00
Laurent Mignon 67b54aeb1c Remove unicode string 2019-11-19 14:23:48 +01:00
Laurent Mignon 8ae3b0293c [IMP] New API + Short Hearder 2019-11-19 14:23:48 +01:00
Laurent Mignon 40f4dd876b [FIX] View inheritance may not use attribute 'string' as a selector. 2019-11-19 14:23:48 +01:00