mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms-api-rest: added configurable avail rules in pms_property
This commit is contained in:
@@ -71,6 +71,14 @@
|
||||
attrs="{'invisible': [('color_option_config', '!=', 'advanced')]}"
|
||||
/>
|
||||
</group>
|
||||
<group string="Configurable Availability Rules">
|
||||
<field
|
||||
name="availability_rule_field_ids"
|
||||
widget="many2many_tags"
|
||||
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'))]"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user