def _wc(self, cr, uid, ids, field_name, arg, context=None):
res = {}
v = {'w': 1,'l': 1,'h': 1,}
for f in self.browse(cr, uid, ids, context=context):
res[f.id] = v
res[f.id]['w'] = 8*1
res[f.id]['l'] = 8*2
res[f.id]['h'] = 8*3
return res
--------------------------------------------------------------------------------------------------------------
def _wc2(self, cr, uid, ids, field_name, arg, context=None):
res = {}
v = {'x': 1,'y': 1,}
for f in self.browse(cr, uid, ids, context=context):
res[f.id] = v
res[f.id]['x'] = how to get value ...'w' from def _wc.... ??
res[f.id]['y'] = 25
return res