I have a field in my model that is
file_ids = fields.Many2many(comodel_name='ir.attachment',string="Files")
Whenever I attach a file it does not save into the database structure, why is that?
What can I do so that when I attach a file it goes into the database structure attachments ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi,
By default, attachments are stored outside the database, as binary files on the server(filestore folder).
it can be configured to stored either in the
database or in the filestore,
you can check this by going to settings -->configuration -->Technical -->Parameters -->system parameters.
looking for ir_attachment.location value.
as discussed at https://www.odoo.com/forum/help-1/where-are-attachments-stored-in-odoo-v15-195396
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Mar 22
|
1495 | ||
|
3
Jun 23
|
12564 | ||
|
0
Mar 22
|
2099 | ||
|
0
Jun 20
|
5617 | ||
|
0
Feb 19
|
3027 |