@ -115,6 +115,9 @@ Contributors
* Pedro M. Baeza
* Sergio Teruel
* `Druidoo <https://www.druidoo.io>`__:
* Iván Todorovich
Much of the work in this module was done at a sprint in Sorrento, Italy in
April 2016.
@ -331,6 +331,11 @@ class GeneralLedgerReportCompute(models.TransientModel):
sub_subquery_sum_amounts += """
AND at.include_initial_balance = TRUE
"""
if self.filter_journal_ids:
AND
ml.journal_id IN %s
""" % (tuple(self.filter_journal_ids.ids,),)
if self.only_posted_moves:
@ -470,6 +470,10 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
<li>Sergio Teruel</li>
</ul>
</li>
<li><a class="reference external" href="https://www.druidoo.io">Druidoo</a>:<ul>
<li>Iván Todorovich</li>
<p>Much of the work in this module was done at a sprint in Sorrento, Italy in
April 2016.</p>