diff --git a/py3o_report_modif.py b/py3o_report_modif.py index 84028446..8683ea25 100644 --- a/py3o_report_modif.py +++ b/py3o_report_modif.py @@ -83,10 +83,11 @@ class py3o_report(report_sxw): #TODO: Find a way to avoid calling Template t = Template(in_temp.name, out_temp.name) # Remove 'py3o.' - user_variable = [x[5:] for x in t.get_user_variables()] + user_variable = [x[5:] for x in t.get_all_user_python_expression()] print user_variable values = self.get_values(cr, uid, ids, data, context) + t.render(values) print values #WARNING: We rely on the fact that there is a for loop on the report