Odoo Help


How to use boolean_button widget for a boolean field in wizard?

Sagar Ahirrao(sah)
on 10/20/16, 5:11 AM 2,353 views

I want to implement a button for boolean field in wizard. My coding for same is

 <button class="btn-primary" name="select_all_record" type="object">
 <field name="use_active_domain" widget="boolean_button" options='{"terminology": { "string_true": "True", "hover_true": "check all", "string_false": "False", "hover_false": "Clear all" }}'/>

still Button is not working properly and string is FALSE CLEARALL for all condition.

Thank you. 

please test the string_true, string_false with any other name rather than "True" or "False" and replace the button name="toggle_active"

on 3/8/17, 12:22 AM

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/20/16, 5:11 AM
Seen: 2353 times
Last updated: 10/20/16, 5:22 AM