Search 1.9 billion lines of Odoo code on GitHub

web_validation_dialog

Author: Serpent Consulting Services Pvt. Ltd., Odoo Community Association (OCA)
License: LGPL-3
Branch: 10.0-web_security_dialog
Repository: nikul-serpentcs/web
Dependencies: base, and web
Languages: JavaScript (119, 52.4%), Python (50, 22.0%), and XML (58, 25.6%)
Other repositories: JayVora-SerpentCS/web

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html:alt:License:AGPL-3"><img src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="web-validation-dialog"></a> <h2>Web Validation Dialog</h2> <p>This module provides the functionality to generalize validation on any type of button.</p> <ul class="simple"> <li>Offers company level validation &amp; restricted access.</li> <li>Enhances webpage validation at the interface level.</li> </ul> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to:</p> <ul class="simple"> <li>Configure the <em>Security Code</em> in Company record.</li> </ul> <a name="usage"></a> <h3>Usage</h3> <ul class="simple"> <li>Configure security code to buttons from company configuration menu.</li> </ul> <img alt="/web_validation_dialog/static/description/img/res_company.png" src="/web_validation_dialog/static/description/img/res_company.png" style="width: 70%;" /> <ul class="simple"> <li>Pass the options and confirm attributes inside the button as below:</li> <li><strong>&lt;button name=&quot;method_name&quot; type=&quot;object&quot; string=&quot;Create Invoice&quot; options='{&quot;security&quot;: &quot;security_field&quot;}'/&gt;</strong></li> <li>As shown in the image, here options attribute is passed to &quot;Create Invoice&quot; button.</li> </ul> <img alt="/web_validation_dialog/static/description/img/click_invoice.png" src="/web_validation_dialog/static/description/img/click_invoice.png" style="width: 70%;" /> <ul class="simple"> <li>So on clicking <strong>&quot;Create Invoice&quot;</strong> button a dialog box will open that will ask for Security Code.</li> <li>On entering correct Security Code, user will be redirected to next step.</li> </ul> <img alt="/web_validation_dialog/static/description/img/dialog.png" src="/web_validation_dialog/static/description/img/dialog.png" style="width: 70%;" /> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <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 feedback</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Serpent Consulting Services Pvt. Ltd. &lt;<a class="reference external" href="mailto:support&#64;serpentcs.com">support&#64;serpentcs.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>