Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3626 Ansichten

I am using tablet and when I am uploading images by using system camera, the previous taken image is replaced by new taken image.I am using odoo12 Many2many field for ir.attachmnet relation and many2many_binary widget. Once the record is saved then I can upload multiple images with camera. Please help.

Avatar
Verwerfen
Beste Antwort

Hello Sunil,

You can add your field like below format. Then i think it will help you.

attachment_ids = fields.Many2many('ir.attachment', 'add_relation', 'column1', 'attachment_id(column2)',
string='Files')
<field name="attachment_ids" string="Attachments" widget="many2many_binary"/>

Thanks


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
7
Aug. 20
7062
0
Aug. 19
2630
0
Juli 19
4933
0
Dez. 23
1346
1
Feb. 23
1884