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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
5949
Tampilan
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'))])
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Des 24
|
1539 | ||
How to set attachments to public?
Diselesaikan
|
|
1
Mar 23
|
6754 | |
How to automatically change name of ir.attachment
Diselesaikan
|
|
2
Apr 22
|
4205 | |
|
0
Okt 21
|
2706 | ||
|
2
Mei 20
|
12285 |