I have field HTML in odoo and want which looks in web like:
- Frutas:
- Apple 100 piece
- Banana 20 pieces
- Avocado 1 piece in template on localhost
` frutas = fields.Html(compute=”get_diagram_1″, store=True)
<field name=”frutas” widget=”html”
options=”{‘editable’: False}”/>`
I want to set each name of fruit a type=’object’ name=’list_fruits’ by id. This function I have , but I dont understand how to in xml set a type=’object’ name=’list_fruits’ for each name to click .
examples of loop in html field