mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP] pms: context skip compute service ids @ reservation
This commit is contained in:
committed by
Darío Lodeiros
parent
48633a7147
commit
bc716fd95f
@@ -963,6 +963,8 @@ class PmsReservation(models.Model):
|
||||
|
||||
@api.depends("board_service_room_id")
|
||||
def _compute_service_ids(self):
|
||||
if self.env.context.get('skip_compute_service_ids', False):
|
||||
return
|
||||
for reservation in self:
|
||||
board_services = []
|
||||
old_board_lines = reservation.service_ids.filtered_domain(
|
||||
|
||||
Reference in New Issue
Block a user