<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record id="view_logistics_schedule_form" model="ir.ui.view">
            <field name="name">logistics.schedule.form</field>
            <field name="model">logistics.schedule</field>
            <field name="arch" type="xml">
                <form>
                    <header>
                        <button name="action_sync_to_maps" type="object"
                                string="Add to Optovia Maps" class="btn-primary"
                                icon="fa-map-marker"/>
                    </header>
                    <sheet>
                        <div class="oe_title">
                            <h1>
                                <field name="name"/>
                            </h1>
                        </div>
                        <group>
                            <group>
                                <field name="departure_node_id"/>
                                <field name="arrival_node_id"/>
                                <field name="route_id"/>
                                <field name="frequency"/>
                                <field name="departure_time" widget="float_time"/>
                                <field name="active"/>
                            </group>
                        </group>
                    </sheet>
                </form>
            </field>
        </record>
    </data>
</odoo>
