[Python] How to implement recaptcha in odoo

Discussão em 'Python' iniciado por Stack, Janeiro 3, 2025.

  1. Stack

    Stack Membro Participativo

    We are using odoo 12 online for enterprises. We would like to protect our forms using google recaptcha.

    How can we implement google recaptcha? If possible a full example how to implement it.

    We would prefer recaptcha v3 but if not possible a v2 implementation is fine.

    When I try to search online for implementation of google recaptcha there's almost every time a .php file included. Our pages are loaded with QWeb view types and php isn't supported.

    Is it possible to implement without php? We could definitely use html and javascript and probably python, is it possible to do with only these? If it's possible we would like to do it with only javascript and html but I'm assuming that's not the case.

    Is there any other form protection we could implement using only html and javascript?

    Continue reading...

Compartilhe esta Página