<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="act_checkin" model="workflow.activity">
        <field name="wkf_id" ref="hotel_reservation.wkf_reservation"/>
        <field name="name">checkin</field>
        <field name="kind">function</field>
        <field name="action">action_reservation_checkin()</field>
    </record>
	<record model="workflow.transition" id="hotel_reservation.t2">
		<field name="act_from" ref="act_checkin" />
		<field name="act_from" ref="hotel_reservation.act_confirm" />
		<field name="act_to" ref="hotel_reservation.act_done" />
		<field name="signal">done</field>
	</record>
    <record id="trans_reservation_confirm_to_checkin" model="workflow.transition">
        <field name="act_from" ref="hotel_reservation.act_confirm"/>
        <field name="act_to" ref="act_checkin"/>
        <field name="signal">%(launch_checkin_wizard)d</field>
    </record>

</odoo>
