[IMP]: Added email_information and privacy_policy fields in pms.property

This commit is contained in:
braisab
2021-08-24 19:52:53 +02:00
parent 2d021bb173
commit 68b8503113
2 changed files with 14 additions and 0 deletions

View File

@@ -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",

View File

@@ -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>