mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[WIP][MIG][11.0] Hotel Calendar & Hotel Channel Connector
This commit is contained in:
27
hotel_calendar/data/views.xml
Normal file
27
hotel_calendar/data/views.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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.view_hotel_reservation_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" 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>
|
||||
Reference in New Issue
Block a user