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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
5958
瀏覽次數
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'))])
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
12月 24
|
1540 | ||
|
1
3月 23
|
6754 | ||
|
2
4月 22
|
4207 | ||
|
0
10月 21
|
2708 | ||
|
2
5月 20
|
12286 |