[IMP] pms: add interna comments to booking engine

This commit is contained in:
Dario Lodeiros
2021-07-19 18:36:50 +02:00
parent ea782cdb99
commit ec7d41f2c5
2 changed files with 14 additions and 0 deletions

View File

@@ -109,6 +109,10 @@ class BookingEngine(models.TransientModel):
can_create_folio = fields.Boolean(
string="Can create folio", compute="_compute_can_create_folio"
)
internal_comment = fields.Text(
string="Internal Folio Notes",
help="Internal Folio notes for Staff",
)
def _default_pms_property_id(self):
if self._context.get("default_folio_id"):
@@ -235,6 +239,7 @@ class BookingEngine(models.TransientModel):
"agency_id": record.agency_id.id,
"channel_type_id": record.channel_type_id.id,
"segmentation_ids": [(6, 0, record.segmentation_ids.ids)],
"internal_comment": record.internal_comment,
}
)
else:

View File

@@ -128,6 +128,15 @@
</group>
</div>
</div>
<div>
<group>
<field
name="internal_comment"
placeholder="Internal comment Folio"
nolabel="1"
/>
</group>
</div>
<div class="row float-right border mr-2 mb-5">
<div class="col-3 ">
<group>