In a form, all attachments are under the Attachment button. Is it possible to show the attachments in a listview / table in the form?
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
This question has been flagged
1
Reply
5071
Views
Hi Mario Gielissen
You could do it with a computed m2m field that retrieve the attachments using this domain:
self.env['ir.attachment'].search([('res_model', '=', self._name), ('res_id', '=', self.id), ('type', 'in', ('binary', 'url'))])
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
Dec 24
|
31 | ||
|
1
Mar 23
|
4554 | ||
|
2
Apr 22
|
2272 | ||
|
0
Oct 21
|
1645 | ||
|
2
May 20
|
10889 |