From 675ea6e7553e45485ec546ea89d8e908edad57cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Wed, 13 Nov 2024 11:57:22 +0100 Subject: [PATCH] [FIX]pms: price_compute date param --- pms/models/product_product.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pms/models/product_product.py b/pms/models/product_product.py index c6c681bc20..306ad7853f 100644 --- a/pms/models/product_product.py +++ b/pms/models/product_product.py @@ -64,11 +64,13 @@ def _compute_room_type_id(self): else: rec.room_type_id = False - def price_compute(self, price_type, uom=False, currency=False, company=None): + def price_compute( + self, price_type, uom=False, currency=False, company=None, date=False + ): if self._context.get("board_service"): price_type = "board_price" return super(ProductProduct, self).price_compute( - price_type, uom, currency, company + price_type, uom, currency, company, date ) @api.model