Commit Graph

67 Commits (545b10a192358b526da9ae1c2047629d8f63cf2f)

Author SHA1 Message Date
Simone Rubino 545b10a192 [FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise 2019-11-19 14:23:48 +01:00
Holger Brunn d4707c5313 [IMP] check for template data, not for the id 2019-11-19 14:23:48 +01:00
jesusVMayor 9ed8257f31 [FIX]report_py3o: Escape correctly html characters. 2019-11-19 14:23:48 +01:00
Pedro M. Baeza f59347cf37 [FIX] report_py3o: Bump version number 2019-11-19 14:23:48 +01:00
Holger Brunn 095f710517 [FIX] fallback to libreoffice conversion when no server is configured
fixes #200
2019-11-19 14:23:48 +01:00
OCA Transbot 9aa7f7249e OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Holger Brunn cff779246c [ADD] migration script to install report_py3o_fusion_server on upgrades 2019-11-19 14:23:48 +01:00
Alexis de Lattre faa0567a97 Improve README.rst for report_py3o* modules 2019-11-19 14:23:48 +01:00
Holger Brunn a6d23298b2 [RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
2019-11-19 14:23:48 +01:00
OCA Transbot d6ad90db47 OCA Transbot updated translations from Transifex 2019-11-19 14:23:48 +01:00
Omar fe6269e4c8 [UPD] report_py3o: Bump version 2019-11-19 14:23:48 +01:00
Omar f66bbd6275 [FIX] report_py3o: Import new dependencies in try...except 2019-11-19 14:23:48 +01:00
Omar 5708c1b165 [FIX] report_py3o: Removes api.one 2019-11-19 14:23:48 +01:00
omar7r 604e11fb14 [FIX] Deletes an unnecessary function call 2019-11-19 14:23:48 +01:00
Omar 0cb4dcc777 [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2019-11-19 14:23:48 +01:00
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