跳至內容
選單
此問題已被標幟
4 回覆
10720 瀏覽次數

By default all the files/documents attached gets stored in database..

However I remember in Version 7 or so, there was an option to set Attachment location in System Parameter, such that all attached files/docs gets stored into the filestore folders. 

Now in Odoo 11, am unable to find the same option, is this feature has been changed or no longer available? Please advise

頭像
捨棄
作者 最佳答案

Found the solution,

Need to set 'attachment=True'  on the field, that way all the uploaded files irrespective of Object, goes to Attachment Object, which in turn stores into filestore (locally).


頭像
捨棄

So, attachment=True stores data to file system? For me it didn't works. I need file to be saved to filestore locally and the path should be saved to db. Is there any option like that in odoo 10 & 11?

最佳答案

Hi,

Can you check in the following menu

Settings->Technical Settings->Database structure->Attachments

Hope it helps

頭像
捨棄
作者

No am not asking the database storage location, am asking about redirecting or instruct the Odoo to store my files in External System rather than my database

作者

Like for instance, I add a file, instead of converting & getting saved to database (in attachment table) I would like to store it some folder (local-machine) -- that way my database doesn't become heavier over a period of usage.

相關帖文 回覆 瀏覽次數 活動
4
12月 22
4512
2
11月 21
7554
1
4月 20
6804
2
2月 20
7614
2
1月 20
4888