mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]: Added email_information and privacy_policy fields in pms.property
This commit is contained in:
@@ -115,6 +115,14 @@ class PmsProperty(models.Model):
|
||||
compute="_compute_availability",
|
||||
)
|
||||
|
||||
mail_information = fields.Char(
|
||||
string="Mail Information",
|
||||
)
|
||||
|
||||
privacy_policy = fields.Char(
|
||||
string="Privacy Policy"
|
||||
)
|
||||
|
||||
@api.depends_context(
|
||||
"checkin",
|
||||
"checkout",
|
||||
|
||||
@@ -85,6 +85,12 @@
|
||||
<field name="room_ids" />
|
||||
</group>
|
||||
</page>
|
||||
<page string="Email Configuration">
|
||||
<group>
|
||||
<field name="mail_information"/>
|
||||
<field name = "privacy_policy"/>
|
||||
</group>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user