Laurent Mignon (ACSONE)
bfe2127b1b
[FIX] report_py3o: Use the right naming convention for the render method
...
To determine the method to use to render a recport according to its type, the generic method 'render' defined into ir.action.report check if a method name is defined on the model. https://github.com/odoo/odoo/blob/12.0/odoo/addons/base/models/ir_actions_report.py#L734
Therefore, we must provide this method to be compliant with what's expected by Odoo.
This change will also allows the usage of py3o template with mail_template once https://github.com/odoo/odoo/pull/30013 will be merged
2023-03-24 13:41:49 +01:00
sbejaoui
0637e26df5
Update i18n
2023-03-24 13:41:49 +01:00
Gilles Meyomesse
e836c851df
[12.0][MIG] improvement py3o_report_extender
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
88463b0d24
[IMP] report_py2o: cleanup js
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
88e53b3ccd
[MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0
2023-03-24 13:41:49 +01:00
Christophe CHAUVET
7c13b42ef0
Translated using Weblate (Français)
...
Currently translated at 100,0% (38 of 38 strings)
Translation: reporting-engine-10.0/reporting-engine-10.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-10-0/reporting-engine-10-0-report_py3o/fr/
2023-03-24 13:41:49 +01:00
oca-travis
cda7682fc6
[UPD] Update report_py3o.pot
2023-03-24 13:41:49 +01:00
Alexis de Lattre
a5d034c645
report_py3o_fusion_server: Add support for PDF Export options of libreoffice
2023-03-24 13:41:49 +01:00
Stéphane Bidoul (ACSONE)
cf02c10ac5
report_py3o: mention formatLang in README
2023-03-24 13:41:49 +01:00
Simone Rubino
b5e0087ce0
[FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise
2023-03-24 13:41:49 +01:00
Holger Brunn
8308147795
[IMP] check for template data, not for the id
2023-03-24 13:41:49 +01:00
jesusVMayor
74c0c6429d
[FIX]report_py3o: Escape correctly html characters.
2023-03-24 13:41:49 +01:00
Pedro M. Baeza
bb4bf7608e
[FIX] report_py3o: Bump version number
2023-03-24 13:41:49 +01:00
Holger Brunn
50f903086e
[FIX] fallback to libreoffice conversion when no server is configured
...
fixes #200
2023-03-24 13:41:49 +01:00
OCA Transbot
732b2b5843
OCA Transbot updated translations from Transifex
2023-03-24 13:41:49 +01:00
Holger Brunn
e11d5ad09d
[ADD] migration script to install report_py3o_fusion_server on upgrades
2023-03-24 13:41:49 +01:00
Alexis de Lattre
f07e3a07d3
Improve README.rst for report_py3o* modules
2023-03-24 13:41:49 +01:00
Holger Brunn
61e3909603
[RFR] split off the fusion server to its own module
...
use libreoffice for conversions in the base version. Fixes #179
2023-03-24 13:41:49 +01:00
OCA Transbot
4392334d6b
OCA Transbot updated translations from Transifex
2023-03-24 13:41:49 +01:00
Omar
cde6843679
[UPD] report_py3o: Bump version
2023-03-24 13:41:49 +01:00
Omar
41ab72aad8
[FIX] report_py3o: Import new dependencies in try...except
2023-03-24 13:41:49 +01:00
Omar
ce7001e35d
[FIX] report_py3o: Removes api.one
2023-03-24 13:41:49 +01:00
omar7r
0e9506b349
[FIX] Deletes an unnecessary function call
2023-03-24 13:41:49 +01:00
Omar
77f42ed173
[IMP] report_py3o: Allows to interpret \n and \t in texts, cleans html tags too
2023-03-24 13:41:49 +01:00
OCA Transbot
ab5275ab6e
OCA Transbot updated translations from Transifex
2023-03-24 13:41:49 +01:00
Laurent Mignon
622420d7c6
[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
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
8a5f6bb2f4
[FIX] report_py3o: must return the path to the report
...
refs #119
2023-03-24 13:41:49 +01:00
OCA Transbot
6ba5b8411e
OCA Transbot updated translations from Transifex
2023-03-24 13:41:49 +01:00
Alexis de Lattre
e548439209
Add option py3o_multi_in_one for Py3o reports
2023-03-24 13:41:49 +01:00
Guewen Baconnier
be3f68a892
Pass option for escaping False values to server
...
Needs https://bitbucket.org/faide/py3o.fusion/pull-requests/1
2023-03-24 13:41:49 +01:00
Guewen Baconnier
1918272567
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.
2023-03-24 13:41:49 +01:00
Stéphane Bidoul (ACSONE)
c5de04dcd8
report_py3o: bump version following last merge
2023-03-24 13:41:49 +01:00
OCA Transbot
86c964022b
OCA Transbot updated translations from Transifex
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
a0240b0b53
[IMP] report_py3o: prevent injections when retrieving the template from path
2023-03-24 13:41:49 +01:00
OCA Transbot
7acd324d86
OCA Transbot updated translations from Transifex
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
598676d84d
[IMP] report_py3o: update authors and contributors
2023-03-24 13:41:49 +01:00
Alexis de Lattre
8845b3c1b8
[FIX] delete PDF invoice attachment on invoice back to draft (native feature now working with py3o)
2023-03-24 13:41:49 +01:00
OCA Transbot
b1683bb078
OCA Transbot updated translations from Transifex
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
daae2220ac
[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
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
10ca85462d
[IMP] Allow to override/extend the way we get the fallback template
2023-03-24 13:41:49 +01:00
Alexis de Lattre
25959fab26
Update and improve README instructions to setup py3o
2023-03-24 13:41:49 +01:00
Jonathan Nemry (ACSONE)
505d2320b9
* travis.yml
...
* flake8
2023-03-24 13:41:49 +01:00
Laurent Mignon
b4737a131f
[IMP] Minimizes memory consumption
...
Conflicts:
report_py3o/models/py3o_report.py
2023-03-24 13:41:49 +01:00
Jonathan Nemry (ACSONE)
341375d622
[FIX] imports
2023-03-24 13:41:49 +01:00
Laurent Mignon
8a55bdfae7
[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
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
434a717bad
[IMP] Escape 'False' when rendering value
2023-03-24 13:41:49 +01:00
Alexis de Lattre
6bd7ad1809
FIX Adapt test suite to my recent commit to avoid double dot on filename extension
2023-03-24 13:41:49 +01:00
Alexis de Lattre
aa548f9ff6
Add access to report_xml object in report
2023-03-24 13:41:49 +01:00
Alexis de Lattre
06f8dbb882
FIX double dot in filename
2023-03-24 13:41:49 +01:00
Alexis de Lattre
6bbdec2212
Update README
2023-03-24 13:41:49 +01:00