Odoo Help

0

0
1 Answer
0
Avatar

Manish Kumar Bohra

--Manish Kumar Bohra--

8477
| 6 4 10
Bikaner, 印度
--Manish Kumar Bohra--


Manish Kumar Bohra
2019/5/20 上午12: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 E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now