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
回复
5966
查看
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
|
1543 | ||
|
1
3月 23
|
6758 | ||
|
2
4月 22
|
4217 | ||
|
0
10月 21
|
2711 | ||
|
2
5月 20
|
12291 |