mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX] duplicated field in form
This commit is contained in:
@@ -22,7 +22,6 @@
|
|||||||
'base_iso3166'
|
'base_iso3166'
|
||||||
],
|
],
|
||||||
'data': [
|
'data': [
|
||||||
'views/inherit_hotel_reservation.xml',
|
|
||||||
],
|
],
|
||||||
'demo': [
|
'demo': [
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<odoo>
|
|
||||||
<!-- Hotel Settings -->
|
|
||||||
<data>
|
|
||||||
<!-- Inherit view to add 'localizator' in Reservation Form -->
|
|
||||||
<record id="roommatik_code_reservation_form" model="ir.ui.view">
|
|
||||||
<field name="name">roommatik.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="//field[@name='reservation_type']" position="after">
|
|
||||||
<field name="localizator" />
|
|
||||||
</xpath>
|
|
||||||
</field>
|
|
||||||
</record>
|
|
||||||
</data>
|
|
||||||
</odoo>
|
|
||||||
Reference in New Issue
Block a user