Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Do you know how to make attachments go to specific directory by default so I can make restriction on who can edit, delete, read that directory ?
All attachments are public if I install knowledge module in v7.
So if a sale team member attach a partner document (that must be secret to other departments) the attach will be visible on knowledge. More problems everybody can delete that attachment even though is not from sales team.
You'll need to use combination of 'Security Groups' of the specified folder and Attachment,
document.directory.content Access Rights. I guess these will suffice to control access to documents.
Set the desired group on a the specified folder, then go to the that group's access rights and modify the
ir.attachment Read, Write, Create, Delete rights per your desire. This will control access to documents through the Attachment button on top of the different forms. Add or edit rule for
document.directory.content per your desire.
In OpenERP for the movement you can control the visibility of directory based on the groups instead of controlling the operation like edit, delete, read on directory or files.
You can try to assign a group on the security tab on directory, by default all can see that directory and files of that directory, but once you put groups on it, only user belong to those groups can see that directory and files.
There is no further permission related to directory / files that can specify the read, write, delete operation on file or directory.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/8/13, 5:19 AM|
|Seen: 2112 times|
|Last updated: 3/16/15, 8:10 AM|