Odoo 8 declare view file programmatically -


i want declare view file struct loaded database. know in order have declare on openerp.py file. have many user, , want each of theme when access module (form view - instance) have difference view (fields), mentions fields on database, not "how hide fields user?". there solution this? thanks

you can use field access right.

as of openerp 7.0, can create field level access rights. can achieve adding groups attribute in field definition in module:

_columns = { 'my_field': fields.char('my field', groups="base.group_erp_manager,base.group_system") }` 

it's still valid in odoo 8. check odoo documentation security https://www.odoo.com/documentation/8.0/reference/security.html


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -