Skip to content
Snippets Groups Projects
Commit 800d205b authored by Matthieu Gautier's avatar Matthieu Gautier
Browse files

Fix lambda for compute field (v7=>v8)

parent 459109cd
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@
if analytic:
nmspc['analytic_dimensions'] = fields.Char(
string = u"Analytic Dimensions",
compute = lambda self, cr, uid, ids, *a: {i: '' for i in ids},
compute = api.one(lambda self : setattr(self, 'analytic_dimensions', '')),
readonly=True
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment