[FIX]pms: get correct origin in get_price_unit_line

This commit is contained in:
Darío Lodeiros
2022-06-08 19:01:57 +02:00
parent 3e13df14c8
commit c85851b8b5

View File

@@ -592,7 +592,7 @@ class PmsService(models.Model):
board_service=board_room_type.id if board_room_type else False,
uom=self.product_id.uom_id.id,
fiscal_position=False,
property=self.reservation_id.pms_property_id.id,
property=origin.pms_property_id.id,
)
if date:
product_context["consumption_date"] = date