calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Resource booking - access error for confirmed bookings [v12]

Open marcinkuk opened this issue 2 years ago • 1 comments

Module

resource_booking

Describe the bug

Resource Booking / Manager and User can't open and view bookings confirmed via portal user.

Odoo server error [access error]
The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.
(Document type: Event, Operation: read) - (Records: [1238], User: 7)

To Reproduce

Affected versions: Odoo 12.0-20211006 (Community Edition) resource_booking: 12.0.1.5.1

Steps to reproduce the behavior:

  1. Create human resource with any working times
  2. Create Combination (use human resource created above)
  3. Create Types (use combination used above)
  4. Create Booking (from list view)
  • set Requester (random contact)
  • set Type (use created above)
  • Save
  1. Share booking - Send email
  2. Schedule and confirm booking by portal user (use link in email)
  3. Open booking from Resource Booking - Odoo server error [access error] occurs

Expected behavior Can open and view confirmed booking.

Additional context Tried in several environements with different odoo v12 builds.

marcinkuk avatar Nov 04 '22 19:11 marcinkuk