OCA-git-bot
17c568f0c0
[UPD] README.rst
2023-03-24 13:41:50 +01:00
oca-travis
de9d5b06d2
[UPD] Update report_py3o.pot
2023-03-24 13:41:50 +01:00
Stéphane Bidoul
f49ee75fc2
[FIX] make prettier happy
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
ee2ab592e2
[FIX] report_py3o: prettier xml after merge with master
2023-03-24 13:41:50 +01:00
sbejaoui
0144e53301
[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.
2023-03-24 13:41:50 +01:00
Russell Briggs
fe3217a40d
Make sure value is always set for computed fields
...
(without these a CacheMiss error is thrown by odoo)
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
ffb2037aa4
[MIG] report_py3o, report_py3o_fusion_server: Migration to 13.0
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
9c04807e1e
[IMP] report_py3o, report_py3o_fusion_server: black, isort
2023-03-24 13:41:50 +01:00
OCA-git-bot
c711c160bf
[UPD] README.rst
2023-03-24 13:41:50 +01:00
Stéphane Bidoul (ACSONE)
c1b05e798b
[FIX] report_py3o readme structure
2023-03-24 13:41:50 +01:00
Alexis de Lattre
b4cc1bda26
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
2023-03-24 13:41:50 +01:00
OCA Transbot
2e196663db
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/
2023-03-24 13:41:50 +01:00
oca-travis
eebcc47ef4
[UPD] Update report_py3o.pot
2023-03-24 13:41:50 +01:00
OCA Transbot
3db79c092b
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/
2023-03-24 13:41:50 +01:00
oca-travis
da1a8a8233
[UPD] Update report_py3o.pot
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
1ea9e51d4f
[FIX] report_py3o: Access to ir.config_parameter with sudo
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
c589c08ec4
[IMP] py3o_report: Allow to specify the lang when calling o_format_lang
...
lang_code is already supported by o_format_date
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
1a10a92c4d
[FIX] report_py3o: Add missing 'user' and 'lang' into the parser context
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
377ec32b70
[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.
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
80406c89b4
[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
2023-03-24 13:41:50 +01:00
Laurent Mignon (ACSONE)
407c3c0282
[IMP] report_py3o: Document new methods available into the parser context
2023-03-24 13:41:49 +01:00
Laurent Mignon (ACSONE)
626aeb2ec1
[IMP] report_py3o: remove obsolete methods
2023-03-24 13:41:49 +01:00
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