diff options
| author | Nimesh Jethva <nje@odoo.com> | 2018-09-17 16:40:15 +0530 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-09-21 11:45:15 +0200 |
| commit | 53e8aba1ab4411c5011b1f19d6cd8e75dea7b04e (patch) | |
| tree | b286e44e47d9eaef75b25772df20c79cb8083d01 /addons/website_form | |
| parent | 427ba08e0d161e322c5774d7e99be6daf93ece86 (diff) | |
[IMP]website_*: Improvement in model description
Purpose of this commit is to give description more "business oriented"
because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers.
Related Task ID : 37311
Diffstat (limited to 'addons/website_form')
| -rw-r--r-- | addons/website_form/models/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/website_form/models/models.py b/addons/website_form/models/models.py index fb51dacc570..6ad987f89e6 100644 --- a/addons/website_form/models/models.py +++ b/addons/website_form/models/models.py @@ -23,6 +23,7 @@ class ResConfigSettings(models.TransientModel): class website_form_model(models.Model): _name = 'ir.model' + _description = 'Models' _inherit = 'ir.model' website_form_access = fields.Boolean('Allowed to use in forms', help='Enable the form builder feature for this model.') @@ -74,6 +75,7 @@ class website_form_model(models.Model): class website_form_model_fields(models.Model): """ fields configuration for form builder """ _name = 'ir.model.fields' + _description = 'Fields' _inherit = 'ir.model.fields' @api.model_cr |
