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:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
1
Reply
3552
Views
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
7
अग॰ 20
|
6998 | ||
|
0
अग॰ 19
|
2578 | ||
|
0
जुल॰ 19
|
4836 | ||
|
0
दिस॰ 23
|
1261 | ||
|
1
फ़र॰ 23
|
1797 |