mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD] Multi Hotel initial import
This commit is contained in:
16
hotel/data/hotel_data.xml
Normal file
16
hotel/data/hotel_data.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<!-- keep noupdate to zero for development -->
|
||||
<data noupdate="1">
|
||||
<!-- Basic hotel -->
|
||||
<record id="main_hotel_property" model="hotel.property">
|
||||
<field name="name">My Hotel</field>
|
||||
|
||||
</record>
|
||||
|
||||
<record model="res.users" id="base.user_root">
|
||||
<field name="hotel_id" ref="main_hotel_property"/>
|
||||
<field name="hotel_ids" eval="[(4, ref('main_hotel_property'))]"/>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user