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

In the config file there is a data_dir option. Is this the path used to specify attachments to be saved here? And what format is it saved in? Because when I access it, it seems like the file is encrypted. I'll try to see if it's base64 encoded.

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

Hello Nganvo,

In that data_dir  path, odoo will create folders: addons, filestore and session

in filestore odoo server will create a new folder for each database,  and in database, 
in table ir_attachment will be stored path relative to /path/to/desired/Odoo/filestore/db_name ... to actual file...


This folder will contain all attachments (from backend, and also all website materials like pictures etc...)

Hope this helps..


p.s.

odoo user should have rw acces to that folder, but under any cicrcumstances should it be 777 , never ever do that! 640 is quite good, and everything shlud work with that permissions !


Thanks.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 23
2725
0
มิ.ย. 22
3437
1
ส.ค. 21
5594
0
ก.พ. 16
3974
1
ม.ค. 25
2669