19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:28 +01:00
parent 20ddc1b4a3
commit c0efcc53f5
1162 changed files with 125577 additions and 105287 deletions

View file

@ -5,11 +5,14 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@id='website_recaptcha_settings']/div[hasclass('text-muted')]" position="inside">
<p>If no keys are provided, no checks will be done.</p>
<xpath expr="//setting[@id='recaptcha']" position="attributes">
<attribute name="help">Protect your forms from spam and abuse. If no keys are provided, no checks will be done.</attribute>
</xpath>
<xpath expr="//setting[@id='recaptcha']/field" position="replace">
<field name="enable_recaptcha"/>
</xpath>
<div id="recaptcha_warning" position="replace">
<div class="content-group" id="reacaptcha_configuration_settings" attrs="{'invisible': [('module_google_recaptcha', '=', False)]}">
<div class="content-group" id="reacaptcha_configuration_settings" invisible="not module_google_recaptcha">
<div class="mt16 row">
<label for="recaptcha_public_key" class="col-3 o_light_label"/>
<field name="recaptcha_public_key"/>
@ -24,7 +27,7 @@
</div>
<div>
<a href="https://www.google.com/recaptcha/admin/create" class="oe_link" target="_blank">
<i class="fa fa-arrow-right"/> Generate reCAPTCHA v3 keys
<i class="oi oi-arrow-right"/> Generate reCAPTCHA v3 keys
</a>
</div>
</div>