You should really have a look at the dev-docs:

If method is True, the signature of the method must be:

def fnct(self, cr, uid, ids, field_name, arg, context)

otherwise (if it is a global function), its signature must be:

def fnct(cr, table, ids, field_name, arg, context)

Either way, it must return a dictionary of values of the form {id’_1_’: 
value’_1_’, id’_2_’: value’_2_’,...}.

http://doc.openerp.com/developer/2_5_Objects_Fields_Methods/field_type.html#functional-field

Marco




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=35642#35642

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to