Skip to content

[IMP]pms: update tourist tax in adults/children write#391

Merged
OCA-git-bot merged 1 commit intoOCA:16.0from
commitsun:16.0-imp_tourist_tax_updates
Feb 27, 2026
Merged

[IMP]pms: update tourist tax in adults/children write#391
OCA-git-bot merged 1 commit intoOCA:16.0from
commitsun:16.0-imp_tourist_tax_updates

Conversation

@DarioLodeiros
Copy link
Member

This pull request makes a small update to the write method in pms_reservation.py to ensure that changes to the number of adults or children on a reservation will also trigger a recomputation of tourist tax lines. This helps keep tourist tax calculations accurate when guest counts are updated.

  • Now, updates to the adults or children fields in a reservation will cause the tourist tax lines to be recalculated, in addition to the previous triggers (checkin, checkout, and reservation_line_ids).

@DarioLodeiros
Copy link
Member Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 16.0-ocabot-merge-pr-391-by-DarioLodeiros-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 51a0af9 into OCA:16.0 Feb 27, 2026
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 0ca5602. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants