From cd0bcf8ff529f9c60d2711dccfac03a9990293d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 1 Dec 2024 19:06:26 +0100 Subject: [PATCH] Document gettext and ngettext methods added to the report context They were added by 9403850c8ead but without documentation. --- trytond/doc/ref/report.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trytond/doc/ref/report.rst b/trytond/doc/ref/report.rst index df411d3bf6..e0294c3a6d 100644 --- a/trytond/doc/ref/report.rst +++ b/trytond/doc/ref/report.rst @@ -80,6 +80,8 @@ Class methods are: Returns the content of the `Report ` rendered by the templating engine. + And add ``gettext`` and ``ngettext`` to the evaluation context for + translatable reports. .. classmethod:: Report.convert(report, data, [timeout[, retry]])