Browse Source

add initial_balance in context

pull/86/head
Laetitia Gangloff 10 years ago
committed by Stéphane Bidoul
parent
commit
5062a9f53f
  1. 2
      mis_builder/models/mis_builder.py

2
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, search_ctx.update({'date_from': c.date_from,
'date_to': c.date_to}) 'date_to': c.date_to})
# TODO: initial balance?
search_ctx['initial_bal'] = True
# TODO: use child of company_id? # TODO: use child of company_id?
account_ids = account_obj.search( account_ids = account_obj.search(
cr, uid, cr, uid,

Loading…
Cancel
Save