[MIG] signup_recaptcha: Migration to 16.0

This commit is contained in:
Boris Gallet
2025-01-03 09:27:08 +01:00
parent 7951cd7d9a
commit 5e212574b0
11 changed files with 2 additions and 776 deletions

View File

@@ -3,7 +3,7 @@
{
"name": "signup_recaptcha",
"version": "12.0.1.0.0",
"version": "16.0.1.0.0",
"author": "Elabore",
"website": "https://elabore.coop",
"maintainer": "Boris Gallet",

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
import logging
from odoo.addons.auth_signup.controllers.main import AuthSignupHome

View File

@@ -2,7 +2,7 @@
<odoo>
<data>
<template id="auth_signup_recaptcha" inherit_id="auth_signup.fields" name="Recaptcha for signup">
<xpath expr="//div[hasclass('form-group','field-confirm_password')]" position="after">
<xpath expr="//div[hasclass('field-confirm_password')]" position="after">
<script src="https://www.google.com/recaptcha/api.js" />
<div
class="g-recaptcha text-xs-center"