Browse Source

[UPD] README.rst

pull/313/head
OCA-git-bot 6 years ago
parent
commit
422c2e8628
  1. 7
      report_context/README.rst
  2. 6
      report_context/static/description/index.html

7
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 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
=========== ===========

6
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 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>

Loading…
Cancel
Save