diff options
| author | Priyanka Kakadiya <pka@odoo.com> | 2018-04-05 17:03:48 +0530 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2018-08-30 15:32:42 +0200 |
| commit | 8b355457c4b1c60defed944306fa8515f15b3ab8 (patch) | |
| tree | 18325e6d6749d334ca46ca1851ac25c6cc8bb6bb /addons/maintenance/data/mail_data.xml | |
| parent | 73f1d590965a483a4f8674807f5181f68956fa03 (diff) | |
[IMP] maintenance,hr_maintenance: notify user assigned to a request
When a user is assigned as responsible of request, we want him to get a
mail saying that he's a assigned to this request, a standard behaviour
exists in Odoo to perform such a thing, which consist of having a field
named 'user_id' which is tracked, so to avoid overriding the method, we
renamed the field 'technician_user_id' in 'user_id'.
Wre also set teh mail subtype 'request create' with default false, to
have the same behaviour as the on in project, meaning that it is true
only if you have the parent subtype set to true.
TASK-ID: 58645
Diffstat (limited to 'addons/maintenance/data/mail_data.xml')
| -rw-r--r-- | addons/maintenance/data/mail_data.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/maintenance/data/mail_data.xml b/addons/maintenance/data/mail_data.xml index c7b3945b0c7..e730a1023d5 100644 --- a/addons/maintenance/data/mail_data.xml +++ b/addons/maintenance/data/mail_data.xml @@ -19,6 +19,7 @@ <record id="mt_req_created" model="mail.message.subtype"> <field name="name">Request Created</field> <field name="res_model">maintenance.request</field> + <field name="default" eval="False"/> <field name="hidden" eval="True"/> <field name="description">Maintenance Request created</field> </record> |
