[FIX] survey: prefill checkboxes

Oversight of 82d733d68c

See #32149

closes odoo/odoo#32557

Signed-off-by: Christophe Simonis <chs@odoo.com>
This commit is contained in:
Christophe Simonis
2019-04-09 16:54:42 +00:00
parent 1cf284e91e
commit 492c5b6e17
+3
View File
@@ -97,6 +97,9 @@ if(!the_form.length) {
}
// checkboxes and radios
the_form.find("input[name^='" + key + "_'][type='checkbox']").each(function(){
$(this).val(value);
});
the_form.find("input[name=" + key + "][type!='text']").each(function(){
$(this).val(value);
});