From 82c167b8ee1fe2e5db08c2b2ee8c37d8e1e4df03 Mon Sep 17 00:00:00 2001 From: Fabien BOURGEOIS Date: Mon, 3 Feb 2025 19:06:04 +0100 Subject: [PATCH] [FIX]Gotenberg : fix bad URL for office conversion --- gotenberg/__manifest__.py | 6 +++--- gotenberg/service/utils.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gotenberg/__manifest__.py b/gotenberg/__manifest__.py index 38da27d..1f87f71 100644 --- a/gotenberg/__manifest__.py +++ b/gotenberg/__manifest__.py @@ -4,14 +4,14 @@ "name": "Gotenberg™ integration", "summary": """Gotenberg integration with Odoo for file conversion.""", "description": """ - This module complements the functionality of docx_report_generation, + This module complements the functionality of docx_report_generation, namely it allows you to generate printed forms in PDF from docx templates. """, "license": "LGPL-3", - "author": "RYDLAB", + "author": "RYDLAB, Yaltik", "website": "http://rydlab.ru", "category": "Productivity", - "version": "0.1", + "version": "0.2", # |------------------------------------------------------------------------- # | Dependencies # |------------------------------------------------------------------------- diff --git a/gotenberg/service/utils.py b/gotenberg/service/utils.py index 7edb55f..dc99b86 100644 --- a/gotenberg/service/utils.py +++ b/gotenberg/service/utils.py @@ -4,7 +4,7 @@ from .environment import environment GOTENBERG_DEFAULT_SERVER = "localhost:3000" -CONVERT_PDF_FROM_OFFICE_PATH = "convert/office" +CONVERT_PDF_FROM_OFFICE_PATH = "/forms/libreoffice/convert" HOST_PATTERN = re.compile(r"https?://(www\.)?")