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