From 53e8aba1ab4411c5011b1f19d6cd8e75dea7b04e Mon Sep 17 00:00:00 2001 From: Nimesh Jethva Date: Mon, 17 Sep 2018 16:40:15 +0530 Subject: [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 --- addons/website_form/models/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addons/website_form/models/models.py') 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 -- cgit v1.2.3