Search 1.9 billion lines of Odoo code on GitHub

web_boolean_button

Author: Bigdata BY, Odoo SA, Odoo Community Association (OCA)
License: LGPL-3
Branch: 13.0
Repository: acsone/web
Dependencies: web
Languages: HTML (353, 44.6%), JavaScript (357, 45.1%), Python (15, 1.9%), XML (23, 2.9%), and reStructuredText (44, 5.6%)
Other branches: 13.0-bp-web_widget_ckeditor, and 13.0-wpu_master
Other repositories: AntoniRomera/web, Change2improve/web, Darknroses/web, ForgeFlow/web, GlodoUK/oca-web, KKamaa/web, LevelPrime/web, OCA/web, Tecnativa/web, Vauxoo/web, aurestic/web, blooparksystems/web, brain-tec/web, dingguijin/web, kmee/web, kos94ok-3D/web, modoolar/oca-web, mohamedhagag/web, onurugur/web, praxigento/oca-web, and tegin/web

<h1 class="title">Boolean Button Widget</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/13.0/web_boolean_button"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_boolean_button"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/162/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module adds 'boolean_button' widget to 13.0 as it was in 12.0</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#usage" id="id1">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="usage"></a> <h2><a class="toc-backref" href="#id1">Usage</a></h2> <p>Go to form and attach widget boolean_button to your boolean field (i.e. in button-box div) with terminology if needed.</p> <pre> <code lang="xml">&lt;button name=&quot;toggle_start&quot; type=&quot;object&quot; class=&quot;oe_stat_button&quot; icon=&quot;fa-archive&quot;&gt; &lt;field name=&quot;help_button&quot; widget=&quot;boolean_button&quot; options=&quot;{'terminology': { 'string_true': 'ACTIVE', 'hover_true': 'PAUSE', 'string_false': 'HELP', 'hover_false': 'FINISH' }}&quot;/&gt; &lt;/button&gt;</code> </pre> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h2> <p>Ported from 12.0 to 13.0</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/web/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/web/issues/new?body=module:%20web_boolean_button%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id4">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id5">Authors</a></h3> <ul class="simple"> <li>Bigdata BY</li> <li>Odoo SA</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <ul class="simple"> <li><a class="reference external" href="https://www.odoo.com">Odoo S.A.</a></li> <li><a class="reference external" href="https://odoo-community.org">Odoo Community Association (OCA)</a></li> <li>Sergei Ruzki &lt;<a class="reference external" href="mailto:sergei.ruzki&#64;gmail.com">sergei.ruzki&#64;gmail.com</a>&gt; (Bigdata.BY)</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/13.0/web_boolean_button">OCA/web</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>