mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD] Door Codes in Hotels
This commit is contained in:
23
hotel_door_codes/views/inherit_hotel_reservation.xml
Normal file
23
hotel_door_codes/views/inherit_hotel_reservation.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- Hotel Settings -->
|
||||
<data>
|
||||
<!-- Inherit Company view to add 'door_code' in Reservation Form -->
|
||||
<record id="door_code_reservation_form" model="ir.ui.view">
|
||||
<field name="name">door_code.reservation_form</field>
|
||||
<field name="model">hotel.reservation</field>
|
||||
<field name="inherit_id" ref="hotel.hotel_reservation_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='others']" position="after">
|
||||
<page name="doorcode" string="Códigos entrada">
|
||||
<group>
|
||||
<field name="door_codes" />
|
||||
<field name="box_number" />
|
||||
<field name="box_code" />
|
||||
</group>
|
||||
</page>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user