You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
446B

  1. # Copyright 2015-2017 LasLabs Inc.
  2. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
  3. from odoo import fields, models
  4. class IrModel(models.Model):
  5. _inherit = "ir.model"
  6. """(DEPRECATED) Add ReCaptcha attr & validation to IrModel for use in forms """
  7. website_form_recaptcha = fields.Boolean(
  8. string="Require ReCaptcha",
  9. help="(Deprecated) Requires successful ReCaptcha for form submission.",
  10. )
上海开阖软件有限公司 沪ICP备12045867号-1