Skip to content

Commit

Permalink
[FIX]pms: price_compute date param
Browse files Browse the repository at this point in the history
  • Loading branch information
DarioLodeiros committed Nov 13, 2024
1 parent d508663 commit 675ea6e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pms/models/product_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 675ea6e

Please sign in to comment.