Skip to content

Commit

Permalink
[FIX] pms-api-rest: list folios including out now
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpadin authored and DarioLodeiros committed Feb 16, 2024
1 parent ab62e75 commit 804aa92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pms_api_rest/services/pms_folio_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def get_folios(self, folio_search_param):
)
PmsFolioShortInfo = self.env.datamodels["pms.folio.short.info"]
for folio in self.env["pms.folio"].search(
[("id", "in", reservations_result), ("reservation_type", "!=", "out")],
[("id", "in", reservations_result)],
order=order_field,
limit=folio_search_param.limit,
offset=folio_search_param.offset,
Expand Down

0 comments on commit 804aa92

Please sign in to comment.