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

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -