[FIX]Gotenberg : fix bad URL for office conversion
This commit is contained in:
parent
58cb82cdfa
commit
82c167b8ee
@ -4,14 +4,14 @@
|
|||||||
"name": "Gotenberg™ integration",
|
"name": "Gotenberg™ integration",
|
||||||
"summary": """Gotenberg integration with Odoo for file conversion.""",
|
"summary": """Gotenberg integration with Odoo for file conversion.""",
|
||||||
"description": """
|
"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.
|
namely it allows you to generate printed forms in PDF from docx templates.
|
||||||
""",
|
""",
|
||||||
"license": "LGPL-3",
|
"license": "LGPL-3",
|
||||||
"author": "RYDLAB",
|
"author": "RYDLAB, Yaltik",
|
||||||
"website": "http://rydlab.ru",
|
"website": "http://rydlab.ru",
|
||||||
"category": "Productivity",
|
"category": "Productivity",
|
||||||
"version": "0.1",
|
"version": "0.2",
|
||||||
# |-------------------------------------------------------------------------
|
# |-------------------------------------------------------------------------
|
||||||
# | Dependencies
|
# | Dependencies
|
||||||
# |-------------------------------------------------------------------------
|
# |-------------------------------------------------------------------------
|
||||||
|
@ -4,7 +4,7 @@ from .environment import environment
|
|||||||
|
|
||||||
|
|
||||||
GOTENBERG_DEFAULT_SERVER = "localhost:3000"
|
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\.)?")
|
HOST_PATTERN = re.compile(r"https?://(www\.)?")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user