From cac81c93c37ba72fd7e66dda4b0709577178c82b Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 9 Dec 2021 20:42:23 +0100 Subject: [PATCH] [FIX] report_label: work around base.automation's inheritance of server actions --- report_label/README.rst | 7 +++++++ report_label/__manifest__.py | 2 +- report_label/readme/ROADMAP.rst | 7 +++++++ report_label/static/description/index.html | 5 +++++ 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/report_label/README.rst b/report_label/README.rst index bc494c7e6..7fffe66b2 100644 --- a/report_label/README.rst +++ b/report_label/README.rst @@ -58,10 +58,17 @@ Usage Known issues / Roadmap ====================== +Known issues: + * `wkhtmltopdf` doesn't always respect dpi, and mm measures don't match. For this matter, it's recommended to use this module along with `report_wkhtmltopdf_param` and enable `--disable-smart-shrinking`. +* This module depends on `base_automation` only because this module extends + `ir.actions.server` with a new kind of action, and `base.automation` inherits + from `ir.actions.server` by delegation in such a way that the modules cannot + be loaded in another order. + Bug Tracker =========== diff --git a/report_label/__manifest__.py b/report_label/__manifest__.py index b8ff7a758..2bc2229cc 100644 --- a/report_label/__manifest__.py +++ b/report_label/__manifest__.py @@ -9,7 +9,7 @@ "category": "Reporting", "maintainers": ["ivantodorovich"], "depends": [ - "base", + "base_automation", ], "data": [ "security/ir.model.access.csv", diff --git a/report_label/readme/ROADMAP.rst b/report_label/readme/ROADMAP.rst index 7a2e85e5c..893687abe 100644 --- a/report_label/readme/ROADMAP.rst +++ b/report_label/readme/ROADMAP.rst @@ -1,3 +1,10 @@ +Known issues: + * `wkhtmltopdf` doesn't always respect dpi, and mm measures don't match. For this matter, it's recommended to use this module along with `report_wkhtmltopdf_param` and enable `--disable-smart-shrinking`. + +* This module depends on `base_automation` only because this module extends + `ir.actions.server` with a new kind of action, and `base.automation` inherits + from `ir.actions.server` by delegation in such a way that the modules cannot + be loaded in another order. diff --git a/report_label/static/description/index.html b/report_label/static/description/index.html index a229f5848..bd7027f33 100644 --- a/report_label/static/description/index.html +++ b/report_label/static/description/index.html @@ -405,10 +405,15 @@ QWeb template for you label.

Known issues / Roadmap

+

Known issues: