[UPD] README.rst

This commit is contained in:
OCA-git-bot
2019-02-25 16:28:30 +00:00
committed by Pierrick Brun
parent fb0efed1b8
commit a4965a733e
2 changed files with 13 additions and 0 deletions

View File

@@ -48,6 +48,13 @@ To configure this module, you need to:
dictionary variable where you can add a context that will be common for dictionary variable where you can add a context that will be common for
all reports. 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 Bug Tracker
=========== ===========

View File

@@ -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 dictionary variable where you can add a context that will be common for
all reports.</li> all reports.</li>
</ul> </ul>
<p>It can also be added on the developer side using:</p>
<pre class="literal-block">
&lt;record id=&quot;model_name.report_id&quot; model=&quot;ir.actions.report&quot;&gt;
&lt;field name=&quot;context&quot;&gt;YOUR CONTEXT HERE&lt;/field&gt;
&lt;/record&gt;
</pre>
</div> </div>
<div class="section" id="bug-tracker"> <div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1> <h1><a class="toc-backref" href="#id2">Bug Tracker</a></h1>