blob: 6f5217e72acf11b63ad3598d0e23a56e8b29bf97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.web.recaptcha</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="recaptcha_warning" position="replace">
<div attrs="{'invisible': [('module_google_recaptcha', '=', False)]}">
<div class="content-group mt16">
<label for="recaptcha_public_key" class="o_light_label"/>
<field name="recaptcha_public_key"/>
</div>
<div class="content-group">
<label for="recaptcha_private_key" class="o_light_label"/>
<field name="recaptcha_private_key"/>
</div>
<div class="content-group">
<label for="recaptcha_min_score" class="o_light_label"/>
<field name="recaptcha_min_score"/>
</div>
<div>
<a href="https://www.google.com/recaptcha/admin/create" class="oe_link" target="_blank">
<i class="fa fa-arrow-right"/> Generate site/secret keys for v3 reCaptcha type
</a>
</div>
</div>
</div>
</field>
</record>
</odoo>
|