diff options
| author | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2019-08-14 13:11:53 +0000 |
|---|---|---|
| committer | Andrea Grazioso (agr-odoo) <agr@odoo.com> | 2019-08-16 11:58:33 +0000 |
| commit | 9a362dda4fc8b4b63b49ec9f44f7dce779e64276 (patch) | |
| tree | 1d703376ea4495cb2ad7a35ea1d3669a6dad72fc /addons/maintenance/models | |
| parent | c28a4660693db9730684cc56cd04333e395fee16 (diff) | |
[FIX] maintenance: Wrong alias set up on category creation
From the Maintenance app go to "Settings">"Equipment Categories".
Create a new category, insert a name and save. An alias get
automatically created with the same name as the new category.
The new alias point to "Maintenance Equipment" model, so when
an email is matched with the alias a new equipment under the new category
is created. This is indeed the default behavior but the help message
is deceiving the user. Changing it.
opw-2049830
closes odoo/odoo#35728
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/maintenance/models')
| -rw-r--r-- | addons/maintenance/models/maintenance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/maintenance/models/maintenance.py b/addons/maintenance/models/maintenance.py index 7071f33d99b..6b8fd5eb5f4 100644 --- a/addons/maintenance/models/maintenance.py +++ b/addons/maintenance/models/maintenance.py @@ -43,7 +43,7 @@ class MaintenanceEquipmentCategory(models.Model): alias_id = fields.Many2one( 'mail.alias', 'Alias', ondelete='restrict', required=True, help="Email alias for this equipment category. New emails will automatically " - "create new maintenance request for this equipment category.") + "create a new equipment under this category.") fold = fields.Boolean(string='Folded in Maintenance Pipe', compute='_compute_fold', store=True) @api.multi |
