|
@ -454,8 +454,10 @@ class mis_report_instance_period(orm.Model): |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
def drilldown(self, cr, uid, _id, expr, context=None): |
|
|
def drilldown(self, cr, uid, _id, expr, context=None): |
|
|
|
|
|
if context is None: |
|
|
|
|
|
context = {} |
|
|
this = self.browse(cr, uid, _id, context=context)[0] |
|
|
this = self.browse(cr, uid, _id, context=context)[0] |
|
|
env = Environment(cr, uid, {}) |
|
|
|
|
|
|
|
|
env = Environment(cr, uid, context) |
|
|
aep = AccountingExpressionProcessor(env) |
|
|
aep = AccountingExpressionProcessor(env) |
|
|
if aep.has_account_var(expr): |
|
|
if aep.has_account_var(expr): |
|
|
aep.parse_expr(expr) |
|
|
aep.parse_expr(expr) |
|
|