I am using openerp-7 and now want to specify readonly permission for some fields to specific users and write only permission for other users.can i do that in model fields.can i give 'readonly' and 'writeonly' permissions for certain users for these model fields.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
4467
Tampilan
Hi, You can give rights to the user group. You do this on your python file, like this:
'employee': fields.char(string='Employee name',read=['base.group_sale_salesman'],write=['base.group_sale_manager'])
This will give group_sale_salesman read-only permissions, and group_sale_manager write permissions...
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
3
Nov 24
|
30047 | ||
|
1
Des 21
|
2769 | ||
|
0
Des 21
|
2332 | ||
|
0
Apr 15
|
4661 | ||
|
2
Mar 15
|
10437 |