Commit Graph

41 Commits (956bc3fd097960c1437658d38421d52dd13d87d6)

Author SHA1 Message Date
Alexis de Lattre 67312f99f3
Merge pull request #181 from Comunitea/10.0-report_py3o_imporve_escape_html
[10.0][FIX]report_py3o: Escape correctly html characters.
2018-06-13 18:14:08 +02:00
Holger Brunn fefaf1aaa1
[IMP] check for template data, not for the id 2018-04-16 16:59:47 +02:00
jesusVMayor 9d39dbbd5e [FIX]report_py3o: Escape correctly html characters. 2018-04-10 17:08:59 +02:00
Holger Brunn 45b8d8cfc9
[FIX] fallback to libreoffice conversion when no server is configured
fixes #200
2018-03-22 00:29:59 +01:00
Holger Brunn f007ebdb1d
[RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
2018-01-10 15:10:47 +01:00
Omar ae71d876a3 [FIX] report_py3o: Import new dependencies in try...except 2017-11-09 11:28:11 +01:00
Omar be3bd5bf6e [FIX] report_py3o: Removes api.one 2017-11-09 11:05:01 +01:00
omar7r 318d8ff4aa
[FIX] Deletes an unnecessary function call 2017-11-07 20:16:05 +01:00
Omar e793d39969 [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2017-10-31 11:17:17 +01:00
Alexis de Lattre a5f09cc0bf Merge pull request #140 from acsone/10.0-report_py3o_print_report_name-lmi
[IMP] report_py3o: Take into account print_report_name
2017-05-30 18:48:00 +02:00
Laurent Mignon f3027506df [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
2017-05-30 13:08:03 +02:00
Laurent Mignon (ACSONE) c6ad1f3a8a [FIX] report_py3o: must return the path to the report
refs #119
2017-05-30 10:51:18 +02:00
Alexis de Lattre 8c1e1b5ac4 Add option py3o_multi_in_one for Py3o reports 2017-04-12 14:22:04 +02:00
Alexis de Lattre 6e60904993 Merge pull request #120 from guewen/fix-py3o-hangs
Fix py3o freeze when using server fusion
2017-04-07 14:06:35 +02:00
Guewen Baconnier 67bcc64293 Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2017-04-06 07:47:55 +02:00
Guewen Baconnier 404e01f0d9 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.
2017-04-03 13:29:10 +02:00
Alexis de Lattre 22d177f1f5 Merge pull request #109 from acsone/10.0-avoid_injections_report_py3o-lmi
[10.0] [IMP] report_py3o: prevent injections when retrieving the template fr…
2017-03-21 10:58:04 +01:00
Laurent Mignon (ACSONE) f0d86e1dd0 [IMP] report_py3o: prevent injections when retrieving the template from path 2017-03-16 15:19:00 +01:00
Alexis de Lattre f39826550a [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2017-03-06 10:30:50 +01:00
Laurent Mignon (ACSONE) 32a79ae71f [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
2017-02-23 10:09:38 +01:00
Laurent Mignon (ACSONE) 4048c0b8c1 [IMP] Allow to override/extend the way we get the fallback template 2017-01-25 13:50:39 +01:00
Jonathan Nemry (ACSONE) 7bda0cb92a * travis.yml
* flake8
2017-01-09 15:28:22 +01:00
Laurent Mignon f592b753ec [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2017-01-09 15:22:02 +01:00
Jonathan Nemry (ACSONE) efcbd1d3ad [FIX] imports 2017-01-09 15:14:12 +01:00
Laurent Mignon ac98e1bbc6 [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
2017-01-09 15:14:12 +01:00
Alexis de Lattre 74b4aa4df5 PEP8 fix 2016-10-14 19:02:55 +02:00
Alexis de Lattre f795b1fa87 Port report_py3o to Odoo v10 2016-10-14 18:56:39 +02:00
Laurent Mignon (ACSONE) 506ec71703 [FIX] Check constrains only if report_type == 'py3o' 2016-10-12 16:24:27 +02:00
Laurent Mignon de2973c06a Add more tests and fixes issues found by tests 2016-10-06 10:57:14 +02:00
Laurent Mignon 30434553cb rename module ir_report to ir_actions_report_xml 2016-10-06 10:57:14 +02:00
Laurent Mignon 3a3b581991 Replace plain SQL by orm 2016-10-06 10:57:14 +02:00
Alexis de Lattre 2fbbdc9846 Take into accounts most remarks of @lasley
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
2016-10-05 09:50:57 +02:00
Alexis de Lattre 83f88aa871 Small usability improvements
Replace README.md by README.rst (not finished)
2016-10-04 22:36:41 +02:00
Laurent Mignon f7a0bf08bb Add simple tests and fix call to fusion server 2016-10-04 16:39:50 +02:00
Florent AIDE 3c12e2cbe3 fixed missing comma in model definition 2016-10-04 14:39:22 +02:00
Laurent Mignon fbf19400d3 Improve filetype selection name 2016-10-04 13:52:07 +02:00
Laurent Mignon cbc1416f53 [IMP] Allow user to use local fusion 2016-10-04 11:28:31 +02:00
Laurent Mignon 439a494d40 [IMP] Add the possiblity to get the template from an absolute path on the server 2016-10-04 10:05:20 +02:00
Laurent Mignon 099fe5e1ea Remove unicode string 2016-10-04 09:50:16 +02:00
Laurent Mignon 6dae7de2c7 [IMP] New API + Short Hearder 2016-10-04 08:35:09 +02:00
Laurent Mignon c1479c64d2 Move to report_py3o after import from HG 2016-10-03 17:50:09 +02:00