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.
In openerp V 7 is it possible that we can store attachmetns only in Filesystem instead of storing in both FTP and Database.Please reply me soon ASAP Thanks in Advance.
If I get your thoughts correctly, then it seems that you want to store attachments in fiel system, means, where OpenERP is located i.e besides "addons" folders where OpenERP is installed. In OpenERP V 7, you can achieve this by configuring System Parameters (Menu : Settings >> Technical >> Parameters >> System Parameters). Here, you need to create one System Parameter.
Following are details of that:
Key : ir_attachment.location
Value : file:///attachments
Here, in value, you can replace "attachments" with your desired folder name. What OpenERP does, that, it will create folder with database name, and all attachments will be stored into that folder.
Also, if you look into that folder, name of attachment are scrambled, but OpenERP can read those name, and when you download that from OpenERP, you will exact that name from which you have stored that. Make sure you give appropriate access rights to that folder where you are going to store the attachments.
Hope, this will help you
@vadivel - In database, what OpenERP does, that it only stores record of that attachment, and does not store content of that attachment. And while downloading attachment from OpenERP, it uses that attachment record to decode that particular attachment, stored into that folder, and allow user to download. In short, OpenERP only stores attachment record, and not it's content. So that will not increase the size of database.
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: 7/8/14, 5:16 AM|
|Seen: 1275 times|
|Last updated: 3/16/15, 8:10 AM|