summaryrefslogtreecommitdiff
path: root/addons/hr_expense/data
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2017-07-17 14:58:29 +0200
committerNicolas Martinelli <nim@odoo.com>2017-07-18 13:53:13 +0200
commit957d57eaf7b015a06d88e527ff32d4aa3561b80d (patch)
treedbe8671f396ae43e8ff03a4044f98199a5d39410 /addons/hr_expense/data
parent61304087e7f48c677837dabdc8f1f8aeb18fb52e (diff)
[FIX] hr_expense: mail to manager
When an employee submits an expense, no mail is sent to the manager. This should be the case, since it works this way on holidays. The trick, however, is that the expense is created as submitted, but the followers are only added afterwards. We need to make sure to add the followers at creation. opw-751085
Diffstat (limited to 'addons/hr_expense/data')
-rw-r--r--addons/hr_expense/data/hr_expense_data.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_expense/data/hr_expense_data.xml b/addons/hr_expense/data/hr_expense_data.xml
index e378419120d..73f3599826b 100644
--- a/addons/hr_expense/data/hr_expense_data.xml
+++ b/addons/hr_expense/data/hr_expense_data.xml
@@ -54,7 +54,7 @@
<field name="name">Submitted</field>
<field name="res_model">hr.expense.sheet</field>
<field name="description">Expense report submitted, waiting approval</field>
- <field name="default" eval="False"/>
+ <field name="default" eval="True"/>
</record>
<record id="mt_expense_paid" model="mail.message.subtype">
<field name="name">Paid</field>