hr_holidays_usability: add support for emails

Many small fixes and improvements
This commit is contained in:
Alexis de Lattre
2017-06-06 16:27:44 +02:00
parent d55b01ca7b
commit e5221d6a96
7 changed files with 56 additions and 21 deletions

View File

@@ -35,7 +35,7 @@ hr_holidays.edit_holiday_new is used for both leaves and allocation -->
<field name="vacation_time_to" attrs="{'required': [('type', '=', 'remove')], 'invisible': [('type', '=', 'add')]}"/>
</field>
<field name="notes" position="replace">
<group name="bottom">
<group name="bottom" colspan="2">
<group string="Message for the Manager" name="notes">
<field name="notes" nolabel="1" placeholder="Add a message for your manager..."/>
</group>
@@ -61,6 +61,7 @@ hr_holidays.edit_holiday_new is used for both leaves and allocation -->
</field>
<field name="department_id" position="after">
<field name="posted_date" groups="hr_holidays.group_hr_holidays_manager"/>
<field name="company_id" groups="base.group_multi_company"/>
</field>
</field>
</record>
@@ -86,6 +87,7 @@ hr_holidays.edit_holiday_new is used for both leaves and allocation -->
</field>
<field name="holiday_status_id" position="after">
<field name="posted_date" groups="hr_holidays.group_hr_holidays_manager"/>
<field name="company_id" groups="base.group_multi_company"/>
</field>
</field>
</record>