Elmeri Niemelä
6421d11e2d
[MIG] Use safe_eval wrapped time module. Fix deprecation warnings.
Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
4 years ago
Elmeri Niemelä
eb5919ae2b
Update report_py3o/models/ir_actions_report.py
In v 14.0 time module is already in safe_eval https://github.com/odoo/odoo/blob/14.0/odoo/tools/safe_eval.py#L38
Co-authored-by: mourad-ehm <mourad.elhadj.mimoune@akretion.com>
4 years ago
Elmeri Niemelä
a1cdcc780e
[14.0][MIG] report_py3o: Migration to 14.0
4 years ago
OCA Transbot
893adc1ec8
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: reporting-engine-13.0/reporting-engine-13.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_py3o/
4 years ago
OCA Transbot
a840940fe1
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: reporting-engine-13.0/reporting-engine-13.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-13-0/reporting-engine-13-0-report_py3o/
5 years ago
OCA-git-bot
9ec243d376
[UPD] README.rst
5 years ago
oca-travis
e0c18ed22e
[UPD] Update report_py3o.pot
5 years ago
Stéphane Bidoul
d556fa5149
[FIX] make prettier happy
5 years ago
Laurent Mignon (ACSONE)
5bf101cef9
[FIX] report_py3o: prettier xml after merge with master
5 years ago
sbejaoui
5f8c22eb20
[12.0][FIX] - report_py3o: run libreoffice in an isolated user installation
Bug when more than one conversion print is launched within the same libreoffice instance.
The standard behavior of libreoffice when a user open it while another instance is
running is to show a new window and throw an error if a new instance is forced within
the same user installation [see](https://bugs.documentfoundation.org/show_bug.cgi?id=37531 ).
This implies a bug in report_py3o module when we call libreoffice at the same time for
different documents.
To reproduce this bug:
**Case 1:**
1. Simultaneously print two documents.
**Case 2:**
1. Run print jobs using job_queue module
2. Manually print another document
**Case 3:**
2. Open libreoffice
3. Print a py3o report
This PR creates a temporary user installation for each libreoffice conversion to bypass this limitation.
5 years ago
Russell Briggs
04ea033a45
Make sure value is always set for computed fields
(without these a CacheMiss error is thrown by odoo)
5 years ago
Laurent Mignon (ACSONE)
505013dac9
[MIG] report_py3o, report_py3o_fusion_server: Migration to 13.0
5 years ago
Laurent Mignon (ACSONE)
2e9ef0b221
[IMP] report_py3o, report_py3o_fusion_server: black, isort
5 years ago
OCA-git-bot
11c2428dd2
[UPD] README.rst
5 years ago
Stéphane Bidoul (ACSONE)
25826f31bb
[FIX] report_py3o readme structure
5 years ago
Alexis de Lattre
616bf38793
Update README for report_py3o and report_py3o_fusion_server ( #306 )
* Update README for report_py3o and report_py3o_fusion_server
Convert README to the new readme subdirectory
5 years ago
OCA Transbot
ddadd7c7a8
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: reporting-engine-12.0/reporting-engine-12.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_py3o/
6 years ago
oca-travis
1d94d51e21
[UPD] Update report_py3o.pot
6 years ago
OCA Transbot
9a1e4b3353
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: reporting-engine-12.0/reporting-engine-12.0-report_py3o
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-12-0/reporting-engine-12-0-report_py3o/
6 years ago
oca-travis
cc8b580962
[UPD] Update report_py3o.pot
6 years ago
Laurent Mignon (ACSONE)
120a28e736
[FIX] report_py3o: Access to ir.config_parameter with sudo
6 years ago
Laurent Mignon (ACSONE)
3c617b5485
[IMP] py3o_report: Allow to specify the lang when calling o_format_lang
lang_code is already supported by o_format_date
6 years ago
Laurent Mignon (ACSONE)
c57904d8fa
[FIX] report_py3o: Add missing 'user' and 'lang' into the parser context
6 years ago
Laurent Mignon (ACSONE)
47b81770f4
[IMP][FIX] py3o_report, py3o_report_fusion_server: Compute the availability of py3o report
Before this change it was not possible to install modules declaring py3o report into a non native format without specifying a Fusion server once the module py3o_report_fusion_server was installed. With theses changes, we now take care of the availability of the libreoffice runtime to display/log a warning message when the report is in a non native runtime.
6 years ago
Laurent Mignon (ACSONE)
a65b017246
[FIX] report_py3o: Add missing method _merge_pdf.
This method was previously provided by Odoo and is used to merge all the reports generated if the generation is called for more than one record
6 years ago
Laurent Mignon (ACSONE)
a003901a95
[IMP] report_py3o: Document new methods available into the parser context
6 years ago
Laurent Mignon (ACSONE)
252895604f
[IMP] report_py3o: remove obsolete methods
6 years ago
Laurent Mignon (ACSONE)
75f2a771b4
[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
6 years ago
sbejaoui
830cd7dd3b
Update i18n
6 years ago
Gilles Meyomesse
8dd075d54d
[12.0][MIG] improvement py3o_report_extender
6 years ago
Laurent Mignon (ACSONE)
23530b7ccc
[IMP] report_py2o: cleanup js
6 years ago
Laurent Mignon (ACSONE)
b781f4f099
[MIG] report_py3o, report_py3o_fusion_server: Migration to 12.0
6 years ago
Christophe CHAUVET
622d76d49c
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/
6 years ago
oca-travis
0c677c5660
[UPD] Update report_py3o.pot
7 years ago
Alexis de Lattre
c19bfbf204
report_py3o_fusion_server: Add support for PDF Export options of libreoffice
7 years ago
Stéphane Bidoul (ACSONE)
4895a59805
report_py3o: mention formatLang in README
7 years ago
Simone Rubino
37b5646fd9
[FIX] If this is not a py3o report, do nothing at all. In some cases the UI remains blocked otherwise
7 years ago
Holger Brunn
81aef79105
[IMP] check for template data, not for the id
7 years ago
jesusVMayor
a88eb8a838
[FIX]report_py3o: Escape correctly html characters.
7 years ago
Pedro M. Baeza
acb92fda7a
[FIX] report_py3o: Bump version number
7 years ago
Holger Brunn
198cd5399b
[FIX] fallback to libreoffice conversion when no server is configured
fixes #200
7 years ago
OCA Transbot
11a3641799
OCA Transbot updated translations from Transifex
7 years ago
Holger Brunn
fb0881c1d5
[ADD] migration script to install report_py3o_fusion_server on upgrades
7 years ago
Alexis de Lattre
2bc81ff281
Improve README.rst for report_py3o* modules
7 years ago
Holger Brunn
eab78636b8
[RFR] split off the fusion server to its own module
use libreoffice for conversions in the base version. Fixes #179
7 years ago
OCA Transbot
8e463b4316
OCA Transbot updated translations from Transifex
7 years ago
Omar
88898c2980
[UPD] report_py3o: Bump version
7 years ago
Omar
9990fffeb6
[FIX] report_py3o: Import new dependencies in try...except
7 years ago
Omar
0f6ea03ed3
[FIX] report_py3o: Removes api.one
7 years ago
omar7r
92e0401c52
[FIX] Deletes an unnecessary function call
7 years ago