I want my user should have a privilege to add attachment in customer master form and not to delete that attachment after uploading document. To configure this option i tried in Setting -> Technical -> Security -> Access-Control List and choose ir.attachment user and enable only Read access and untick all other. But not working i can delete attachment. Any other configuration for only add a attachment and not delete the attachment. Or Else any other configuration for achieve these things...
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
3
Replies
12593
Tampilan
Go to
Settings -> Security -> Record rules -> Add rule
Thanks.. I will try..
You need 2 ir_rule according to this answer by Olivier Dony for version 7 and 8: https://bugs.launchpad.net/openobject-addons/+bug/969198
For employee:
['|',('res_model','!=','hr.employee'),('res_id','in',[e.id for e in user.employee_ids])]
For hr manager:
[('res_model','=','hr.employee')]
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
Apr 15
|
8262 | ||
|
0
Nov 23
|
1776 | ||
|
1
Feb 23
|
5762 | ||
|
0
Mar 22
|
1520 | ||
|
1
Jan 22
|
6344 |