[FIX]Gotenberg : fix bad URL for office conversion

This commit is contained in:
Fabien BOURGEOIS 2025-02-03 19:06:04 +01:00
parent 58cb82cdfa
commit 82c167b8ee
2 changed files with 4 additions and 4 deletions

View File

@ -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
# |-------------------------------------------------------------------------

View File

@ -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\.)?")