<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 & 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><button name="method_name" type="object" string="Create Invoice" options='{"security": "security_field"}'/></strong></li>
<li>As shown in the image, here options attribute is passed to "Create Invoice" 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>"Create Invoice"</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. <<a class="reference external" href="mailto:support@serpentcs.com">support@serpentcs.com</a>></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>