diff options
Diffstat (limited to 'addons/website_form/models/models.py')
| -rw-r--r-- | addons/website_form/models/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/website_form/models/models.py b/addons/website_form/models/models.py index 1256ac4935c..d4ad5c7d401 100644 --- a/addons/website_form/models/models.py +++ b/addons/website_form/models/models.py @@ -29,6 +29,7 @@ class website_form_model(models.Model): website_form_access = fields.Boolean('Allowed to use in forms', help='Enable the form builder feature for this model.') website_form_default_field_id = fields.Many2one('ir.model.fields', 'Field for custom form data', domain="[('model', '=', model), ('ttype', '=', 'text')]", help="Specify the field which will contain meta and custom form fields datas.") website_form_label = fields.Char("Label for form action", help="Form action label. Ex: crm.lead could be 'Send an e-mail' and project.issue could be 'Create an Issue'.") + website_form_key = fields.Char(help='Used in FormBuilder Registry') def _get_form_writable_fields(self): """ |
