From 422c2e8628a9054d4d36e156edc07cfd1ccc2417 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 25 Feb 2019 16:28:30 +0000 Subject: [PATCH] [UPD] README.rst --- report_context/README.rst | 7 +++++++ report_context/static/description/index.html | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/report_context/README.rst b/report_context/README.rst index 455a536e..e667f4cf 100644 --- a/report_context/README.rst +++ b/report_context/README.rst @@ -48,6 +48,13 @@ To configure this module, you need to: dictionary variable where you can add a context that will be common for all reports. +It can also be added on the developer side using:: + + + YOUR CONTEXT HERE + + + Bug Tracker =========== diff --git a/report_context/static/description/index.html b/report_context/static/description/index.html index 9c66b909..a8e06520 100644 --- a/report_context/static/description/index.html +++ b/report_context/static/description/index.html @@ -397,6 +397,12 @@ parameters list, look for report.default.context, which is a Python dictionary variable where you can add a context that will be common for all reports. +

It can also be added on the developer side using:

+
+<record id="model_name.report_id" model="ir.actions.report">
+    <field name="context">YOUR CONTEXT HERE</field>
+</record>
+

Bug Tracker