Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3572 Представления

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.

Аватар
Отменить
Лучший ответ

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


Аватар
Отменить
Related Posts Ответы Просмотры Активность
7
авг. 20
6999
0
авг. 19
2579
0
июл. 19
4856
0
дек. 23
1262
1
февр. 23
1801