We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313b270 commit b31d7d5Copy full SHA for b31d7d5
1 file changed
web_m2x_options/static/src/js/form.js
@@ -87,7 +87,7 @@ odoo.define('web_m2x_options.web_m2x_options', function (require) {
87
var is_string = typeof option === 'string'
88
var is_bool = typeof option === 'boolean'
89
if (is_string) {
90
- return option === 'true' || option === 'True'
+ return option === 'true' || option === 'True' || option === '1'
91
} else if (is_bool) {
92
return option
93
}
0 commit comments