<?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>
