mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
* [WIP] Refactor calendar_channel_connector * [FIX] Hotel Calendar + Hotel Connector * [ADD] Push URLs * [IMP] Connector * [IMP] Notifications * [ADD] hotel_channel_connector_wubook * [FIX] missing imports * [IMP] Clean code
37 lines
1.2 KiB
XML
37 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- Form view -->
|
|
<record model="ir.ui.view" id="hotel_channel_connector_ota_info_view_form">
|
|
<field name="name">channel.ota.info.form</field>
|
|
<field name="model">channel.ota.info</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Channel OTA's Info" >
|
|
<sheet>
|
|
<group>
|
|
<field name="id" invisible="1" />
|
|
<field name="backend_id" attrs="{'visible': [('id','=', False)]}" />
|
|
</group>
|
|
<group>
|
|
<field name="ota_id" />
|
|
<field name="name" />
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Tree view -->
|
|
<record model="ir.ui.view" id="hotel_channel_connector_ota_info_view_tree">
|
|
<field name="name">channel.ota.info.tree</field>
|
|
<field name="model">channel.ota.info</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Channel OTA's Info">
|
|
<field name="ota_id" />
|
|
<field name="name" />
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|