mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[FIX]pms: get correct origin in get_price_unit_line
This commit is contained in:
@@ -592,7 +592,7 @@ class PmsService(models.Model):
|
|||||||
board_service=board_room_type.id if board_room_type else False,
|
board_service=board_room_type.id if board_room_type else False,
|
||||||
uom=self.product_id.uom_id.id,
|
uom=self.product_id.uom_id.id,
|
||||||
fiscal_position=False,
|
fiscal_position=False,
|
||||||
property=self.reservation_id.pms_property_id.id,
|
property=origin.pms_property_id.id,
|
||||||
)
|
)
|
||||||
if date:
|
if date:
|
||||||
product_context["consumption_date"] = date
|
product_context["consumption_date"] = date
|
||||||
|
|||||||
Reference in New Issue
Block a user