mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms_api_rest: fixed default to_assign color in pms_property and changed avail_rule_fields in res users views
This commit is contained in:
@@ -74,7 +74,7 @@ class PmsProperty(models.Model):
|
|||||||
to_assign_reservation_color = fields.Char(
|
to_assign_reservation_color = fields.Char(
|
||||||
string="OTA Reservation To Assign",
|
string="OTA Reservation To Assign",
|
||||||
help="Color for to_assign reservations in the planning.",
|
help="Color for to_assign reservations in the planning.",
|
||||||
default="rgba(237,114,46,)",
|
default="rgba(237,114,46)",
|
||||||
)
|
)
|
||||||
|
|
||||||
pending_payment_reservation_color = fields.Char(
|
pending_payment_reservation_color = fields.Char(
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<field name="model">res.users</field>
|
<field name="model">res.users</field>
|
||||||
<field name="inherit_id" ref="base.view_users_form" />
|
<field name="inherit_id" ref="base.view_users_form" />
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//page[@name='references']/group" position="after">
|
<xpath expr="//page[@name='references']/group[@name='messaging']" position="after">
|
||||||
<group>
|
<group>
|
||||||
<group string="Configurable Availability Rules">
|
<group string="Configurable Availability Rules">
|
||||||
<field
|
<field
|
||||||
|
|||||||
Reference in New Issue
Block a user