Commit Graph

58 Commits (b63618caea4c31c09d6f04c47e80222abb6e0c24)

Author SHA1 Message Date
OCA Transbot b63618caea OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Omar 20390f7279 [UPD] report_py3o: Bump version 2022-12-12 09:31:45 +01:00
Omar ccadac7315 [FIX] report_py3o: Import new dependencies in try...except 2022-12-12 09:31:45 +01:00
Omar 9bc5a03826 [FIX] report_py3o: Removes api.one 2022-12-12 09:31:45 +01:00
omar7r 16dba5c7d3 [FIX] Deletes an unnecessary function call 2022-12-12 09:31:45 +01:00
Omar 7ed89d5c5a [IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too 2022-12-12 09:31:45 +01:00
OCA Transbot 93c301a181 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Laurent Mignon 8eb9bfd56d [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
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) eab6c80ecc [FIX] report_py3o: must return the path to the report
refs #119
2022-12-12 09:31:45 +01:00
OCA Transbot 9e1f7c8323 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Alexis de Lattre ec1a4030cb Add option py3o_multi_in_one for Py3o reports 2022-12-12 09:31:45 +01:00
Guewen Baconnier f8b75456bd Pass option for escaping False values to server
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2022-12-12 09:31:45 +01:00
Guewen Baconnier b0a07ee9a6 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.
2022-12-12 09:31:45 +01:00
Stéphane Bidoul (ACSONE) 1598e28bc4 report_py3o: bump version following last merge 2022-12-12 09:31:45 +01:00
OCA Transbot 3cafe9fa53 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) 57c4922545 [IMP] report_py3o: prevent injections when retrieving the template from path 2022-12-12 09:31:45 +01:00
OCA Transbot f12eb249b8 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) 4f68732962 [IMP] report_py3o: update authors and contributors 2022-12-12 09:31:45 +01:00
Alexis de Lattre 460666b105 [FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o) 2022-12-12 09:31:45 +01:00
OCA Transbot 2084a8f3b4 OCA Transbot updated translations from Transifex 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) 9378e3cab0 [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
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) ebf14f08ef [IMP] Allow to override/extend the way we get the fallback template 2022-12-12 09:31:45 +01:00
Alexis de Lattre 3e8a9476e7 Update and improve README instructions to setup py3o 2022-12-12 09:31:45 +01:00
Jonathan Nemry (ACSONE) bca583e9ad * travis.yml
* flake8
2022-12-12 09:31:45 +01:00
Laurent Mignon bd3b2e25e2 [IMP] Minimizes memory consumption
Conflicts:
	report_py3o/models/py3o_report.py
2022-12-12 09:31:45 +01:00
Jonathan Nemry (ACSONE) 171a4fd620 [FIX] imports 2022-12-12 09:31:45 +01:00
Laurent Mignon ac8b189ee8 [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
2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) 85e19bad0c [IMP] Escape 'False' when rendering value 2022-12-12 09:31:45 +01:00
Alexis de Lattre 2122b323d6 FIX Adapt test suite to my recent commit to avoid double dot on filename extension 2022-12-12 09:31:45 +01:00
Alexis de Lattre af0799ecfc Add access to report_xml object in report 2022-12-12 09:31:45 +01:00
Alexis de Lattre 711b866e4c FIX double dot in filename 2022-12-12 09:31:45 +01:00
Alexis de Lattre fe12ba19cc Update README 2022-12-12 09:31:45 +01:00
Alexis de Lattre 6ab276afa2 PEP8 fix 2022-12-12 09:31:45 +01:00
Alexis de Lattre 5cd6d47e62 Update version numbers
Rename __openerp__.py to __manifest__.py
2022-12-12 09:31:45 +01:00
Alexis de Lattre 19aeb657d0 Port report_py3o to Odoo v10 2022-12-12 09:31:45 +01:00
Alexis de Lattre 1fb89ae9be report_py3o: full installation procedure in README 2022-12-12 09:31:45 +01:00
Laurent Mignon (ACSONE) 2eedd9bc73 [FIX] Check constrains only if report_type == 'py3o' 2022-12-12 09:31:45 +01:00
Laurent Mignon 8b187c5f3c Add more tests and fixes issues found by tests 2022-12-12 09:31:45 +01:00
Laurent Mignon 3ff628d901 rename module ir_report to ir_actions_report_xml 2022-12-12 09:31:45 +01:00
Laurent Mignon e3657bdd47 Replace plain SQL by orm 2022-12-12 09:31:45 +01:00
Alexis de Lattre 6ee47a5392 Take into accounts most remarks of @lasley
Remove <data> in views
Protect import of py3o libs
Remove dep on base module
Other small changes
2022-12-12 09:31:45 +01:00
Alexis de Lattre 38fd4cdae8 Small usability improvements
Replace README.md by README.rst (not finished)
2022-12-12 09:31:45 +01:00
Laurent Mignon 5b4392a58a Replace openerp element by odoo 2022-12-12 09:31:45 +01:00
Laurent Mignon 0af9629d36 Improve tests 2022-12-12 09:31:45 +01:00
Laurent Mignon 443d1adf37 Fix skip fusion on server when the fusion is local 2022-12-12 09:31:45 +01:00
Laurent Mignon 0166992739 Add simple tests and fix call to fusion server 2022-12-12 09:31:45 +01:00
Florent AIDE 48d0823365 fixed missing comma in model definition 2022-12-12 09:31:45 +01:00
Laurent Mignon 2f8c033e70 Fix native flag 2022-12-12 09:31:45 +01:00
Laurent Mignon d9e242cf8f Improve filetype selection name 2022-12-12 09:31:45 +01:00
Laurent Mignon d9a29e335d Remove ACL on removed model 2022-12-12 09:31:45 +01:00