You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.4 KiB
25 lines
1.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<odoo>
|
|
<data>
|
|
<delete model="resource.calendar" search="[('id', '=', ref('resource.resource_calendar_std_35h'))]"/>
|
|
<delete model="resource.calendar" search="[('id', '=', ref('resource.resource_calendar_std_38h'))]"/>
|
|
<delete model="hr.contract" search="[('id', '=', ref('hr_payroll.hr_contract_firstcontract1'))]"/>
|
|
<delete model="hr.contract" search="[('id', '=', ref('hr_payroll.hr_contract_gilles_gravie'))]"/>
|
|
|
|
<record id="resource_calendar_std_35h" model="resource.calendar">
|
|
<field name="name">Morning</field>
|
|
<field name="company_id" ref="base.main_company"/>
|
|
<field name="hr_department" ref="hr.dep_management"/>
|
|
<field name="attendance_ids"
|
|
eval="[
|
|
(0, 0, {'name': 'Monday Morning', 'dayofweek': '0', 'hour_from': 8, 'hour_to': 12}),
|
|
(0, 0, {'name': 'Tuesday Morning', 'dayofweek': '1', 'hour_from': 8, 'hour_to': 12}),
|
|
(0, 0, {'name': 'Wednesday Morning', 'dayofweek': '2', 'hour_from': 8, 'hour_to': 12}),
|
|
(0, 0, {'name': 'Thursday Morning', 'dayofweek': '3', 'hour_from': 8, 'hour_to': 12}),
|
|
(0, 0, {'name': 'Friday Morning', 'dayofweek': '4', 'hour_from': 8, 'hour_to': 12}),
|
|
]"
|
|
/>
|
|
</record>
|
|
</data>
|
|
</odoo>
|
|
|