Search 1.9 billion lines of Odoo code on GitHub


Author: TAKOBI, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: aaltinisik/web
Dependencies: web
Languages: HTML (353, 80.6%), JavaScript (17, 3.9%), Python (17, 3.9%), XML (8, 1.8%), and reStructuredText (43, 9.8%)
Other repositories: Change2improve/web, Digital5-Odoo/web, ERPLibre/web, OCA/web, Vauxoo/web, acsone/web, aurestic/web, blooparksystems/web, brain-tec/web, coopiteasy/web, gfcapalbo/web, kmee/web, legalsylvain/web, modoolar/oca-web, steingabelgaard/web, sunflowerit/web, tirma-sa/web, ursais/web, and xcgd/web

<h1 class="title">Web Button No Save</h1> <p><a class="reference external" href=""><img alt="Beta" src="" /></a> <a class="reference external" href=""><img alt="License: AGPL-3" src="" /></a> <a class="reference external" href=""><img alt="OCA/web" src="" /></a> <a class="reference external" href=""><img alt="Translate me on Weblate" src="" /></a> <a class="reference external" href=""><img alt="Try me on Runbot" src="" /></a></p> <p>This module allows to define buttons that do not require saving the form.</p> <p>This can be used to show a popup (<cite>wizard</cite>) that helps the user to fill in the current record using much more information (links, pictures, videos, ...) than what can be handled from the help of each field.</p> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</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="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>In a form view, create a button that has the <cite>no_save</cite> attribute, for instance:</p> <pre> <code lang="xml">&lt;button type=&quot;object&quot; name=&quot;method_name&quot; string=&quot;Call method_name without saving&quot; no_save=&quot;True&quot; /&gt;</code> </pre> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h2> <ul class="simple"> <li><cite>confirm</cite> attribute in the <cite>no_save</cite> buttons is ignored.</li> </ul> <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="">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="**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>TAKOBI</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="">TAKOBI</a>:<ul> <li>Simone Rubino &lt;<a class="reference external" href="mailto:sir&#64;">sir&#64;</a>&gt;</li> </ul> </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=""><img alt="Odoo Community Association" src="" /></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="">OCA/web</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href=""></a>.</p>