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
此問題已被標幟
1
回覆
3675
瀏覽次數
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
|
7142 | ||
|
0
8月 19
|
2755 | ||
|
0
7月 19
|
4994 | ||
|
0
12月 23
|
1385 | ||
|
1
2月 23
|
1967 |