Apr 10, 2014

openerp fields permissions


openerp fields permissions


on openerp 7, let say: you want to make some fields are can only update or create by specific group, then you can make it as : (on your model column)

'c50':fields.float('PO Amount',write= ['project_nsn.group_nsn_ppm',] ),

or, you want to make it visible on specific group, then you can make as :

'c50':fields.float('PO Amount',groups= "project_nsn.group_nsn_ppm, project_nsn.group_nsn_manager" ),

by these option, you make c50 column can only edit by group Nokia Siemens Network on Project Monitoring division only.

more detail about it, you can check here



.

openerp fields permissions


on openerp 7, let say: you want to make some fields are can only update or create by specific group, then you can make it as : (on your model column)

'c50':fields.float('PO Amount',write= ['project_nsn.group_nsn_ppm',] ),

or, you want to make it visible on specific group, then you can make as :

'c50':fields.float('PO Amount',groups= "project_nsn.group_nsn_ppm, project_nsn.group_nsn_manager" ),

by these option, you make c50 column can only edit by group Nokia Siemens Network on Project Monitoring division only.

more detail about it, you can check here


1 comment:

  1. Hi,

    I followed same as you mentioned above, but i didn't find the old version im module in this site. Please give the link for im module.

    ReplyDelete