[IMP]: hr_holidays: Made demo of leave allocation request as validated to avoid warning when confirming a leave request for another demo

bzr revid: rpa@tinyerp.com-20110311103109-lgqt6vp1wz94c0sh
This commit is contained in:
Rucha (Open ERP)
2011-03-11 16:01:09 +05:30
parent 36fe64becc
commit e11dc0b43c
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -5,7 +5,6 @@
<!-- Casual leave -->
<record model="hr.holidays.status" id="holiday_status_cl">
<field name="name">Casual Leave</field>
<field name="limit">True</field>
<field name="color_name">black</field>
</record>
+3
View File
@@ -31,6 +31,9 @@
<field name="employee_id" ref="hr.employee1"/>
</record>
<workflow action="confirm" model="hr.holidays" ref="hr_holidays_employee1_allocation_cl"/>
<workflow action="validate" model="hr.holidays" ref="hr_holidays_employee1_allocation_cl"/>
<workflow action="confirm" model="hr.holidays" ref="hr_holidays_employee1_sl"/>
<workflow action="validate" model="hr.holidays" ref="hr_holidays_employee1_sl"/>
</data>