mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD]pms_api_rest: PMS API Client conexion data
This commit is contained in:
@@ -102,6 +102,16 @@
|
||||
options="{'no_create': True}"
|
||||
/>
|
||||
<field name="pms_api_payment_identifier" />
|
||||
<field
|
||||
name="main_avail_plan_id"
|
||||
string="Main Availability Plan"
|
||||
/>
|
||||
<field name="main_pricelist_id" string="Main Pricelist" />
|
||||
<field
|
||||
name="excluded_room_type_ids"
|
||||
widget="many2many_tags"
|
||||
string="Excluded Room Types"
|
||||
/>
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
|
||||
@@ -17,11 +17,37 @@
|
||||
options="{'no_create': True}"
|
||||
domain="['&',('model_id', '=', 'pms.availability.plan.rule'), ('name', 'in', ('min_stay', 'max_stay', 'quota', 'max_stay_arrival', 'closed_arrival', 'closed', 'closed_departure', 'min_stay_arrival', 'max_avail'))]"
|
||||
/>
|
||||
</group>
|
||||
<group string="Clien API configuration">
|
||||
<field
|
||||
name="pms_api_client"
|
||||
string="PMS API Client"
|
||||
help="This user is used to PMS API's client (channel managers, precheckin apps, booking engines, etc.)"
|
||||
/>
|
||||
<field
|
||||
name="url_endpoint_prices"
|
||||
string="Prices Endpoint"
|
||||
help="URL endpoint to get prices"
|
||||
attrs="{'invisible': [('pms_api_client', '=', False)]}"
|
||||
/>
|
||||
<field
|
||||
name="url_endpoint_availability"
|
||||
string="Availability Endpoint"
|
||||
help="URL endpoint to get availability"
|
||||
attrs="{'invisible': [('pms_api_client', '=', False)]}"
|
||||
/>
|
||||
<field
|
||||
name="url_endpoint_rules"
|
||||
string="Avail Rules Endpoint"
|
||||
help="URL endpoint to get reservations"
|
||||
attrs="{'invisible': [('pms_api_client', '=', False)]}"
|
||||
/>
|
||||
<field
|
||||
name="external_public_token"
|
||||
string="Public Token"
|
||||
help="URL endpoint to get rules"
|
||||
attrs="{'invisible': [('pms_api_client', '=', False)]}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
|
||||
Reference in New Issue
Block a user