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

    <!-- Use an updated momentJS library -->
    <template id="assets_common" inherit_id="web.assets_common">
        <xpath expr="//script[@src='/web/static/lib/moment/moment.js']" position="attributes">
            <attribute name="src">/hotel_calendar/static/src/lib/moment.js</attribute>
        </xpath>
    </template>

    <!-- Backend stuff -->
    <template id="assets_backend" inherit_id="web.assets_backend">
        <xpath expr="." position="inside">
            <script type="text/javascript" src="/hotel_calendar/static/src/lib/bootbox.js"></script>

            <!-- Hotel Calendar (Internal) -->
            <link rel="stylesheet" href="/hotel_calendar/static/src/css/view.css" />
            <script type="text/javascript" src="/hotel_calendar/static/src/lib/hcalendar/js/hcalendar.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/widgets/MultiCalendar.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/constants.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar/hotel_calendar_controller.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar/hotel_calendar_model.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar/hotel_calendar_renderer.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar/hotel_calendar_view.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_controller.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_model.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_renderer.js"></script>
            <script type="text/javascript" src="/hotel_calendar/static/src/js/views/calendar_management/hotel_calendar_management_view.js"></script>
        </xpath>
    </template>

</odoo>
