Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
8644 มุมมอง

Dear All,

I am new to openerp. Appreciate if someone could help me out how to disable the user for deleting the attachment?

https://dl.dropboxusercontent.com/u/42025188/attachment_delete.png

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

you should play with the record rules.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

using attachment_size_limit module Block users to upload files.

Module: https://www.odoo.com/apps/7.0/attachment_size_limit/

http://openerpservice.in/define-size-limit-for-the-attachments-in-openerp7-0/

 

 

อวตาร
ละทิ้ง
ผู้เขียน

What if I allow upload attachment but disallow delete?

Then use Record rules set ir_attachment table set create, read, write check and delete options uncheck.

ผู้เขียน

Hi prakash, I could not find any record for attachment. Kindly refer to the screenshot. https://dl.dropboxusercontent.com/u/42025188/could_not_find_attach_record.png

create new group ex: Attachment/User and in the Access Rights tab add new item object name ir.attachment and check access right read, write, create and uncheck delete and group assign to the user.

Related Posts ตอบกลับ มุมมอง กิจกรรม
5
พ.ค. 23
15247
2
ธ.ค. 23
5219
1
พ.ค. 22
2449
0
เม.ย. 22
1926
2
มี.ค. 19
7600