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