| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<odoo> |
| 3 |
<data noupdate="1"> |
| 4 |
|
| 5 |
<record id="resource_calendar_std_38h" model="resource.calendar" forcecreate="1"> |
| 6 |
<field name="name">Standard 32 hours/week (4 work days, friday free)</field> |
| 7 |
<field name="company_id" eval="False"/> |
| 8 |
<field name="hours_per_day">8</field> |
| 9 |
<field name="attendance_ids" |
| 10 |
eval="[(5, 0, 0), |
| 11 |
(0, 0, {'name': 'Monday Morning', 'dayofweek': '0', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), |
| 12 |
(0, 0, {'name': 'Monday Lunch', 'dayofweek': '0', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), |
| 13 |
(0, 0, {'name': 'Monday Afternoon', 'dayofweek': '0', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), |
| 14 |
(0, 0, {'name': 'Tuesday Morning', 'dayofweek': '1', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), |
| 15 |
(0, 0, {'name': 'Tuesday Lunch', 'dayofweek': '1', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), |
| 16 |
(0, 0, {'name': 'Tuesday Afternoon', 'dayofweek': '1', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), |
| 17 |
(0, 0, {'name': 'Wednesday Morning', 'dayofweek': '2', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), |
| 18 |
(0, 0, {'name': 'Wednesday Lunch', 'dayofweek': '2', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), |
| 19 |
(0, 0, {'name': 'Wednesday Afternoon', 'dayofweek': '2', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), |
| 20 |
(0, 0, {'name': 'Thursday Morning', 'dayofweek': '3', 'hour_from': 8, 'hour_to': 12, 'day_period': 'morning'}), |
| 21 |
(0, 0, {'name': 'Thursday Lunch', 'dayofweek': '3', 'hour_from': 12, 'hour_to': 13, 'day_period': 'lunch'}), |
| 22 |
(0, 0, {'name': 'Thursday Afternoon', 'dayofweek': '3', 'hour_from': 13, 'hour_to': 17, 'day_period': 'afternoon'}), |
| 23 |
]" |
| 24 |
/> |
| 25 |
</record> |
| 26 |
|
| 27 |
|
| 28 |
<record id="hr.employee_mw" model="hr.employee" forcecreate="1"> |
| 29 |
<field name="barcode">123</field> |
| 30 |
</record> |
| 31 |
|
| 32 |
<record id="hr.employee_eg" model="hr.employee" forcecreate="1"> |
| 33 |
<field name="resource_calendar_id" ref="resource_calendar_std_38h"/> |
| 34 |
<field name="barcode">456</field> |
| 35 |
</record> |
| 36 |
|
| 37 |
<record id="hr.employee_sj" model="hr.employee" forcecreate="1"> |
| 38 |
<field name="pin">789</field> |
| 39 |
</record> |
| 40 |
</data> |
| 41 |
</odoo> |