Odoo Help

0

0
1 Answer
0
Avatar

Manish Kumar Bohra

--Manish Kumar Bohra--
--Manish Kumar Bohra--


Manish Kumar Bohra
20/05/19 00.50

Hello,

You can use below code :

<button name="blacklist_button_name" type="object" class="oe_stat_button" icon="fa-check-square">
<field name="blacklist" widget="boolean_button" options='{"terminology": {
"string_true": "Blacklist",
"hover_true": "Blacklist",
"string_false": "Active",
"hover_false": "Active"
}}'/>
</button>
Ask a Question
Writer
Keep Informed
1 follower(s)
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.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now