[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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user