mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
28 lines
934 B
XML
28 lines
934 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- FIXME: This collide with base view... something is wrong here :/
|
|
idk how define this view for use in pms view without touch base hotel view -->
|
|
<record id="hotel_calendar_view" model="ir.ui.view">
|
|
<field name="name">Hotel Calendar</field>
|
|
<field name="model">hotel.reservation</field>
|
|
<field name="inherit_id" ref="hotel.hotel_reservation_view_form" />
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="." position="inside">
|
|
<div id="hcalendar"> </div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="hotel_calendar_management_view_form" model="ir.ui.view">
|
|
<field name="name">Hotel Calendar Management</field>
|
|
<field name="model">hotel.calendar.management</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<div id="hcalendar_management"> </div>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|