python function arguments in openerp -
can explain me arguments stand , (self, cr, uid, obj, name, type, args, context). not able find documentation them.
def _do_something(self, cr, uid, obj, name, type, args, context=none):
from 6.0 method docs -
cr – database cursor
uid - current user id
context – context arguments, lang, time zone
from 6.0 field_type docs -
obj same self
name receives field name
args list of 3-part tuples containing search criteria field, although search function may called separately each tuple.
Comments
Post a Comment