diff options
| author | Goffin Simon <sig@odoo.com> | 2016-08-23 16:05:38 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2016-08-24 09:36:40 +0200 |
| commit | ce5b802df693de73d0c52a807e23246bd1a254e1 (patch) | |
| tree | f50d64cefdc041db199a6476e6a249dabd0b9a5d | |
| parent | 9c67a0d1b7ac580fada1c17a852805ed6d4db61f (diff) | |
[FIX] hr_holidays: undisplay refuse leaves on dashboard
The refuse leaves don't have display in the dashbord.
opw:685604
| -rw-r--r-- | addons/hr_holidays/hr_holidays_view.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_holidays/hr_holidays_view.xml b/addons/hr_holidays/hr_holidays_view.xml index 44a860a32b1..87f92634b3d 100644 --- a/addons/hr_holidays/hr_holidays_view.xml +++ b/addons/hr_holidays/hr_holidays_view.xml @@ -250,7 +250,7 @@ <field name="view_type">form</field> <field name="view_mode">calendar</field> <field name="context">{'search_default_year': 1, 'search_default_group_employee': 1}</field> - <field name="domain">[('holiday_type','=','employee'), ('type', '=', 'remove')]</field> + <field name="domain">[('holiday_type','=','employee'), ('type', '=', 'remove'), ('state', '!=', 'refuse')]</field> <field name="search_view_id" ref="view_hr_holidays_filter"/> </record> |
