From 40bdc18b8fabc4f9af4862f653715a7df79e8b23 Mon Sep 17 00:00:00 2001 From: Laetitia Gangloff Date: Mon, 12 Jan 2015 09:49:39 +0100 Subject: [PATCH] add initial_balance in context --- mis_builder/models/mis_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mis_builder/models/mis_builder.py b/mis_builder/models/mis_builder.py index f9111d29..76a39e37 100644 --- a/mis_builder/models/mis_builder.py +++ b/mis_builder/models/mis_builder.py @@ -576,7 +576,7 @@ class mis_report_instance_period(orm.Model): search_ctx.update({'date_from': c.date_from, 'date_to': c.date_to}) - # TODO: initial balance? + search_ctx['initial_bal'] = True # TODO: use child of company_id? account_ids = account_obj.search( cr, uid,