Odoo Help


How send/get multiple checkboxes with the same name from website form to odoo

on 10/22/15, 10:39 PM 1,710 views

How i can get values from checkboxes with the same name in the controller (get method)?

For example:

<li t-foreach="attr.values" t-as="value">

<input onchange="submit()" type="checkbox" t-att-value="value.name" t-att-name="attr.name" checked="checked" /> <t t-esc="value.name" /> 



On 10/23/15, 1:50 AM

Ummm i solved it but in a ugly way.... playing with the name of the checkboxes... :\

Can use something like "name=mylist[]"?

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/22/15, 10:39 PM
Seen: 1710 times
Last updated: 10/23/15, 2:30 AM