[IMP] pms-api-rest: demo data for property image hotel, icon room type classes, views, init, manifest & services & datamodels (property, user, room_type_class, agency, sale channels)

This commit is contained in:
miguelpadin
2023-09-06 19:22:21 +02:00
committed by Darío Lodeiros
parent f374f6a102
commit e0fae5f366
23 changed files with 152 additions and 9 deletions

View File

@@ -4,6 +4,11 @@
<field name="model">pms.property</field>
<field name="inherit_id" ref="pms.pms_property_views_form" />
<field name="arch" type="xml">
<xpath expr="//page[@name='property_general']//field[@name='street']" position="before">
<group>
<field name="hotel_image_pms_api_rest" widget="image" class="oe_avatar"/>
</group>
</xpath>
<xpath expr="//field[@name='default_departure_hour']" position="after">
<group string="Planning Colors">
<field name="color_option_config" />

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="inherit_pms_room_type_class_views" model="ir.ui.view">
<field name="model">pms.room.type.class</field>
<field name="inherit_id" ref="pms.pms_room_type_class_view_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='overnight']" position="after">
<field name="icon_pms_api_rest" widget="image" class="oe_avatar"/>
</xpath>
</field>
</record>
</odoo>