Commit Graph

902 Commits (a91a6abcaa77e48af540b3ecbb0e2ac5ca6d751d)

Author SHA1 Message Date
mymage c71db288ff Translated using Weblate (Italian)
Currently translated at 14.2% (16 of 112 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-bi_sql_editor/it/
2023-06-20 11:08:26 +00:00
mymage 6243398ef6 Translated using Weblate (Italian)
Currently translated at 25.0% (15 of 60 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-sql_export/it/
2023-06-20 11:08:26 +00:00
mymage f84c79e2ed Translated using Weblate (Italian)
Currently translated at 49.3% (36 of 73 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-base_comment_template/it/
2023-06-14 15:09:36 +00:00
OCA-git-bot 070e758711 [UPD] addons table in README.md 2023-04-13 13:46:08 +00:00
OCA-git-bot 2a4c2b9b82 report_xlsx 15.0.1.1.3 2023-04-13 13:46:02 +00:00
OCA-git-bot 06a5078af3 Merge PR #752 into 15.0
Signed-off-by pedrobaeza
2023-04-13 13:42:09 +00:00
Karl Southern de2ce1f400
[FIX] IndexError thrown when attempting to split url by /report/xlsx when not a xlsx report 2023-04-13 14:41:40 +01:00
OCA-git-bot 38cee4f4e6 [UPD] addons table in README.md 2023-04-13 08:41:50 +00:00
OCA-git-bot 2eb2b5d3ae report_xlsx 15.0.1.1.2 2023-04-13 08:41:29 +00:00
OCA-git-bot 493df6de04 Merge PR #751 into 15.0
Signed-off-by pedrobaeza
2023-04-13 08:35:28 +00:00
Yenthe Van Ginneken 6b810c7fb5
[FIX] report_xlsx: make sure variable is known
Before this commit if another app crashes the "report_xlsx" controller it would go into the exception.
However in the exception the following is called:
_logger.exception("Error while generating report %s", reportname)

As the except clause does not have the "reportname" variable it fails:
Traceback (most recent call last):
  File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "/home/odoo/src/odoo/odoo/http.py", line 804, in dispatch
    r = self._call_function(**self.params)
  File "/home/odoo/src/odoo/odoo/http.py", line 359, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "/home/odoo/src/odoo/odoo/http.py", line 348, in checked_call
    result = self.endpoint(*a, **kw)
  File "/home/odoo/src/odoo/odoo/http.py", line 910, in __call__
    return self.method(*args, **kw)
  File "/home/odoo/src/odoo/odoo/http.py", line 535, in response_wrap
    response = f(*args, **kw)
  File "/home/odoo/src/user/report_xlsx/controllers/main.py", line 100, in report_download
    _logger.exception("Error while generating report %s", reportname)
Exception

By putting the "reportname" before the try it will always be available
2023-04-12 21:47:55 +02:00
Ignacio Buioli 598402f5cc Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (73 of 73 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-base_comment_template/es_AR/
2023-04-09 09:03:52 +00:00
Ignacio Buioli c5a8b66d7a Translated using Weblate (Spanish (Argentina))
Currently translated at 16.4% (12 of 73 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-base_comment_template/es_AR/
2023-04-07 20:22:35 +00:00
Ignacio Buioli 293dff43b6 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (91 of 91 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-bi_view_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-bi_view_editor/es_AR/
2023-04-07 18:15:45 +00:00
Ignacio Buioli 2dbfbf6345 Translated using Weblate (Spanish (Argentina))
Currently translated at 12.3% (9 of 73 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-base_comment_template/es_AR/
2023-04-07 18:15:45 +00:00
Ignacio Buioli 3b235a009f Translated using Weblate (Spanish (Argentina))
Currently translated at 13.1% (12 of 91 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-bi_view_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-bi_view_editor/es_AR/
2023-04-07 18:02:14 +00:00
Ignacio Buioli 22934dbec9 Translated using Weblate (Spanish (Argentina))
Currently translated at 10.9% (8 of 73 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-base_comment_template
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-base_comment_template/es_AR/
2023-04-07 18:02:14 +00:00
Ignacio Buioli bd9a45f626 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (112 of 112 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-bi_sql_editor/es_AR/
2023-04-07 18:02:14 +00:00
Ignacio Buioli 27debc3043 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (60 of 60 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-sql_export/es_AR/
2023-04-07 17:39:16 +00:00
Matjaz Mozetic 6d0e67d48a Translated using Weblate (Slovenian)
Currently translated at 77.6% (87 of 112 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-bi_sql_editor/sl/
2023-03-31 21:24:12 +00:00
Matjaz Mozetic ac32bcff2a Translated using Weblate (Slovenian)
Currently translated at 31.8% (7 of 22 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-sql_request_abstract
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-sql_request_abstract/sl/
2023-03-31 21:24:10 +00:00
Matjaz Mozetic 5a2463b0a9 Translated using Weblate (Slovenian)
Currently translated at 60.0% (36 of 60 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-sql_export/sl/
2023-03-31 21:24:09 +00:00
Matjaz Mozetic 6595904f84 Translated using Weblate (Slovenian)
Currently translated at 47.0% (8 of 17 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-report_wkhtmltopdf_param/sl/
2023-03-31 21:24:08 +00:00
mymage cf11bc3cf1 Translated using Weblate (Italian)
Currently translated at 14.2% (16 of 112 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-bi_sql_editor
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-bi_sql_editor/it/
2023-03-30 14:27:09 +00:00
mymage c72f77a3f9 Translated using Weblate (Italian)
Currently translated at 31.8% (7 of 22 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-sql_request_abstract
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-sql_request_abstract/it/
2023-03-30 14:27:09 +00:00
mymage 24caaec759 Translated using Weblate (Italian)
Currently translated at 25.0% (15 of 60 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-sql_export
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-sql_export/it/
2023-03-30 14:27:09 +00:00
mymage 636f3cefc3 Translated using Weblate (Italian)
Currently translated at 47.0% (8 of 17 strings)

Translation: reporting-engine-15.0/reporting-engine-15.0-report_wkhtmltopdf_param
Translate-URL: https://translation.odoo-community.org/projects/reporting-engine-15-0/reporting-engine-15-0-report_wkhtmltopdf_param/it/
2023-03-30 14:27:08 +00:00
Tran Thanh Phuc 115559802e [MIG] report_py3o: Migration to 15.0 2023-03-24 13:49:46 +01:00
Tran Thanh Phuc 19335d8a3e [IMP] report_py3o: black, isort, prettier 2023-03-24 13:42:47 +01:00
OCA-git-bot 271852fb20 [UPD] README.rst 2023-03-24 13:41:50 +01:00
oca-travis 029f6f3cf5 [UPD] Update report_py3o.pot 2023-03-24 13:41:50 +01:00
Denis Leemann 5a07dc1b5e run pre-commit 2023-03-24 13:41:50 +01:00
Elmeri Niemelä 2c8fa5a9e7 [IMP] Remove except of IOError as its an alias to OSError in python3
Co-authored-by: Nils Hamerlinck <nilshamerlinck@users.noreply.github.com>
2023-03-24 13:41:50 +01:00
Elmeri Niemelä 2627cb1e9f [IMP] Cleanup unnecessary imports
Co-authored-by: Nils Hamerlinck <nilshamerlinck@users.noreply.github.com>
2023-03-24 13:41:50 +01:00
Elmeri Niemelä a4ca06509c [IMP] Workaround for genshi DeprecationWarning that makes runbot build red
Co-authored-by: Nils Hamerlinck <nilshamerlinck@users.noreply.github.com>
2023-03-24 13:41:50 +01:00
Elmeri Niemelä 7fca010e97 [IMP] Add ability to include properly formatted datetime field in a report displaying date and time 2023-03-24 13:41:50 +01:00
Elmeri Niemelä f52515edb5 [MIG] Use safe_eval wrapped time module. Fix deprecation warnings.
Co-authored-by: Alexis de Lattre <alexis.delattre@akretion.com>
2023-03-24 13:41:50 +01:00
Elmeri Niemelä 493c47f455 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>
2023-03-24 13:41:50 +01:00
Elmeri Niemelä 7427562141 [14.0][MIG] report_py3o: Migration to 14.0 2023-03-24 13:41:50 +01:00
OCA Transbot cce26ca5bf 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/
2023-03-24 13:41:50 +01:00
OCA Transbot 52330a4cd3 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/
2023-03-24 13:41:50 +01:00
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