diff --git a/pms/models/pms_service.py b/pms/models/pms_service.py index 800480d7d..2d801cc7e 100644 --- a/pms/models/pms_service.py +++ b/pms/models/pms_service.py @@ -282,7 +282,7 @@ class PmsService(models.Model): qty = sum(service.service_line_ids.mapped("day_qty")) service.product_qty = qty - @api.depends("reservation_id") + @api.depends("reservation_id", "reservation_id.folio_id") def _compute_folio_id(self): for record in self: if record.reservation_id: diff --git a/pms/views/pms_reservation_views.xml b/pms/views/pms_reservation_views.xml index b11741830..a804b4270 100644 --- a/pms/views/pms_reservation_views.xml +++ b/pms/views/pms_reservation_views.xml @@ -467,8 +467,16 @@ decoration-success="is_board_service == True" > - - + +