Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3535 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
7
sie 20
6994
0
sie 19
2577
0
lip 19
4823
0
gru 23
1260
1
lut 23
1795