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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
3677
화면
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
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
7
8월 20
|
7146 | ||
|
0
8월 19
|
2758 | ||
|
0
7월 19
|
4998 | ||
|
0
12월 23
|
1385 | ||
|
1
2월 23
|
1967 |