[ADD]multi_pms_properties (#66)

* [WIP]pms: models check_pms_property

* [WIP][IMP+REF] multi_pms_properties: refactor and added test skeleton

* [FIX] inherit create models

* [ADD] room multiproperty check

* [ADD] room multiproperty check

* [IMP] Multiproperty checks in pms models

* [IMP] Fix Multiproperty checks in pms models

* [IMP] Add multiproperty domain in multi_pms_properties module

* [IMP] Fix multiproperty checks in pms tests

* [IMP] Fix multiproperty checks logic

* [IMP] Auto Domains

* [IMP] availability property results, domain preferred_room_id

* [IMP] model domain properties

* [ADD] pms multiproperty depends

* [IMP] models and views multiproperty checks

* [FIX] Multiple rebase multiproperty fixes

* [ADD] Readme

* [ADD] Company - multiproperty checks

* [ADD] travis server wide modules multiproperty

* [FIX] travis conf load

* [FIX] travis conf load2

* [FIX] travis conf load2

Co-authored-by: Eric Antones <eantones@nuobit.com>
Co-authored-by: Sara Lago <saralago126@gmail.com>
This commit is contained in:
Darío Lodeiros
2021-04-27 20:01:42 +02:00
committed by GitHub
parent de786a375b
commit e7c0c3e5bd
76 changed files with 1471 additions and 759 deletions

View File

@@ -41,6 +41,7 @@
<field name="reservation_id" />
<field name="folio_id" />
<field name="identifier" />
<field name="pms_property_id" invisible="1" />
</group>
</group>
</sheet>
@@ -77,6 +78,7 @@
<field name="reservation_id" invisible="1" />
<field name="folio_id" force_save="1" invisible="1" />
<field name="state" invisible="0" />
<field name="pms_property_id" invisible="1" />
</tree>
</field>
</record>
@@ -103,6 +105,7 @@
attrs="{'invisible': [('state','!=','precheckin')]}"
/>
<field name="reservation_id" />
<field name="pms_property_id" invisible="1" />
<field name="partner_id" domain="[('is_company','=', False)]" />
<field name="name" />
<field name="mobile" />
@@ -142,6 +145,7 @@
<field name="arrival" />
<field name="departure" />
<field name="reservation_id" />
<field name="pms_property_id" invisible="1" />
<field name="folio_id" force_save="1" invisible="1" />
<field name="state" />
</tree>
@@ -218,6 +222,10 @@
name="reservation_id"
placeholder="Room Reservation"
/>
<field
name="pms_property_id"
invisible="1"
/>
</strong>
<span
t-if="record.arrival.raw_value"
@@ -484,6 +492,7 @@
<field name="reservation_id" />
<field name="folio_id" />
<field name="state" filters="1" />
<field name="pms_property_id" invisible="1" />
</calendar>
</field>
</record>