Skip to content

[FIX] booking_engine: add test for unavailability due to calendar leave without resource#2035

Closed
fw-bot wants to merge 2 commits intoodoo:saas-19.2from
odoo-dev:saas-19.2-19.0-booking_engine-add-missing-overbooking-test-aras-519219-fw
Closed

[FIX] booking_engine: add test for unavailability due to calendar leave without resource#2035
fw-bot wants to merge 2 commits intoodoo:saas-19.2from
odoo-dev:saas-19.2-19.0-booking_engine-add-missing-overbooking-test-aras-519219-fw

Conversation

@fw-bot
Copy link
Copy Markdown

@fw-bot fw-bot commented Apr 21, 2026

This commit adds test to check you can't book rooms when the rental period overlaps withresource.calendar.leaves with no resource_id

Forward-Port-Of: #2029

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Apr 21, 2026

Pull request status dashboard

@fw-bot
Copy link
Copy Markdown
Author

fw-bot commented Apr 21, 2026

This PR targets saas-19.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@fw-bot
Copy link
Copy Markdown
Author

fw-bot commented Apr 21, 2026

@abdrahmanrashed @vava-odoo ci/industry failed on this forward-port PR

abdrahmanrashed and others added 2 commits April 22, 2026 12:33
…ve without resource

This commit adds test to check you can't book rooms when  the rental period overlaps with`resource.calendar.leaves` with no `resource_id`

X-original-commit: ef20ac1
This commit updates the test_booking_engine to comply with standard changes:
- Replace resource_id with resource_ids to support multiple resources.
- Rename time_type to count_as following the updated field definition in the standard.

Ref Commit - odoo/odoo@d37cf89#diff-7767bd14c6d3c44c406fd04f3d1c1deda8936898a0e725b7e4050faca2436ac3
@dhrs-odoo dhrs-odoo force-pushed the saas-19.2-19.0-booking_engine-add-missing-overbooking-test-aras-519219-fw branch from 184b269 to ba6124c Compare April 22, 2026 07:06
@fw-bot
Copy link
Copy Markdown
Author

fw-bot commented Apr 22, 2026

@abdrahmanrashed @vava-odoo this PR has become a normal PR because head updated from 184b269 to ba6124c. It must be merged to be forward-ported further.

@vava-odoo
Copy link
Copy Markdown
Collaborator

@robodoo r+

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Apr 22, 2026

@abdrahmanrashed @vava-odoo because this PR has multiple commits, I need to know how to merge it:

  • merge to merge directly, using the PR as merge commit message
  • rebase-merge to rebase and merge, using the PR as merge commit message
  • rebase-ff to rebase and fast-forward

@vava-odoo
Copy link
Copy Markdown
Collaborator

@robodoo rebase-ff

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Apr 22, 2026

Merge method set to rebase and fast-forward.

robodoo pushed a commit that referenced this pull request Apr 22, 2026
…ve without resource

This commit adds test to check you can't book rooms when  the rental period overlaps with`resource.calendar.leaves` with no `resource_id`

X-original-commit: ef20ac1
Part-of: #2035
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
robodoo pushed a commit that referenced this pull request Apr 22, 2026
This commit updates the test_booking_engine to comply with standard changes:
- Replace resource_id with resource_ids to support multiple resources.
- Rename time_type to count_as following the updated field definition in the standard.

Ref Commit - odoo/odoo@d37cf89#diff-7767bd14c6d3c44c406fd04f3d1c1deda8936898a0e725b7e4050faca2436ac3

closes #2035

Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
robodoo pushed a commit that referenced this pull request Apr 22, 2026
…ve without resource

This commit adds test to check you can't book rooms when  the rental period overlaps with`resource.calendar.leaves` with no `resource_id`

X-original-commit: ef20ac1
Part-of: #2035
Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
robodoo pushed a commit that referenced this pull request Apr 22, 2026
This commit updates the test_booking_engine to comply with standard changes:
- Replace resource_id with resource_ids to support multiple resources.
- Rename time_type to count_as following the updated field definition in the standard.

Ref Commit - odoo/odoo@d37cf89#diff-7767bd14c6d3c44c406fd04f3d1c1deda8936898a0e725b7e4050faca2436ac3

closes #2035

Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
@robodoo robodoo closed this Apr 22, 2026
@fw-bot fw-bot deleted the saas-19.2-19.0-booking_engine-add-missing-overbooking-test-aras-519219-fw branch April 29, 2026 08:36
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.

5 participants