[IMP] pms: add condition in which force_update_origin is hidden

This commit is contained in:
Sara Lago
2022-03-25 17:04:16 +01:00
committed by Darío Lodeiros
parent 2cb36f1a50
commit 1d22a5c4e9

View File

@@ -1654,6 +1654,7 @@ class PmsReservation(models.Model):
if (
record.sale_channel_origin_id != record.folio_id.sale_channel_origin_id
and record.folio_id
and isinstance(self.id, int)
):
record.is_origin_channel_check_visible = True
else: