Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

14.0 apply board service by pricelist filter #311

Open
wants to merge 2 commits into
base: 14.0
Choose a base branch
from

Conversation

DarioLodeiros
Copy link
Member

@DarioLodeiros DarioLodeiros commented Jan 11, 2025

This pull request includes several changes to the pms module, focusing on adding pricelist functionality to board services and improving the logic for handling default board services. The most important changes include adding a new field to the PmsBoardServiceRoomType model, updating constraints and computations involving board services, and modifying views to include the new field.

Enhancements to Board Services:

Improvements to Reservation Logic:

  • pms/models/pms_reservation.py: Modified the _compute_board_service_room_id method to filter board services based on the pricelist_ids field, ensuring the correct board service is applied to reservations.
  • pms/wizards/wizard_folio_changes.py: Updated the _add_board_service method to check the pricelist_ids field when adding board services to reservations.

Updates to Views:

  • pms/views/pms_room_type_views.xml: Added the pricelist_ids field to the room type views, allowing users to manage pricelists for board services directly from the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant