CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I've created a One2many field to connect a product to its attachments and show them inside the product form.
image_ids = fields.One2many('ir.attachment', 'product_tmpl_id', string='Files')
However, the form field does not get refreshed when the attachments are saved. I can see attachments in the drop down list but, unless I reload the whole page, I won't be able to see them in the form.
About This Community
Odoo Training Center
|Asked: 11/4/16, 2:54 AM|
|Seen: 619 times|
|Last updated: 11/4/16, 2:54 AM|