Browse Source

mis_builder: add TODO

pull/86/head
Stéphane Bidoul 10 years ago
parent
commit
3f761f0f02
  1. 2
      mis_builder/models/mis_builder.py

2
mis_builder/models/mis_builder.py

@ -670,6 +670,7 @@ class mis_report_instance(orm.Model):
} }
def create(self, cr, uid, vals, context=None): def create(self, cr, uid, vals, context=None):
# TODO: explain this
if 'period_ids' in vals: if 'period_ids' in vals:
mis_report_instance_period_obj = self.pool.get( mis_report_instance_period_obj = self.pool.get(
'mis.report.instance.period') 'mis.report.instance.period')
@ -684,6 +685,7 @@ class mis_report_instance(orm.Model):
context=context) context=context)
def write(self, cr, uid, ids, vals, context=None): def write(self, cr, uid, ids, vals, context=None):
# TODO: explain this
res = super(mis_report_instance, self).write( res = super(mis_report_instance, self).write(
cr, uid, ids, vals, context=context) cr, uid, ids, vals, context=context)
mis_report_instance_period_obj = self.pool.get( mis_report_instance_period_obj = self.pool.get(

Loading…
Cancel
Save