Closed totoday72 closed 11 months ago
at the time of wanting to enter the reservations module through another company other Different hotel companies in a if it works but in the second one gives error and does not allow to enter the module.
Module
hotel_reservation
Describe the bug
When try enter to the hotel_reservation module with 2nd company, the message appears:
The requested operation ("read" in "product" (product.product)) was rejected by any of the following rules: (Records: [69] false (id = 36), user: user (id = 2)) Implicitly accessed through 'product' (product.product).
I try in other odoo 13 instance, and appear same error.
Note: this error only appears in hotel_reservation module, hotel module work normally
To Reproduce
Odoo 13:
Steps to reproduce the behavior:
1. Create 2nd company ( example we have 2 hotels) 2. Set User to de 2nd company 3. Login User 4. Enter to hotel_reservation module
Expected behavior When I perform the previous actions I hope that the module of the screen again with all the rooms for this empty hotel because they are different rooms for each of the hotels. and make the reservations for each one.
Additional context Odoo Local Ubuntu 18.04 16GB RAM
Solution I create "Record Rules" for models.
All record rules are Global (no Group).
Greetings!
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
@nikul-serpentcs Can you help this be checked by @ShwetaSerpentCS once ? Thanks.
Yes Sure @JayVora-SerpentCS
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
at the time of wanting to enter the reservations module through another company other Different hotel companies in a if it works but in the second one gives error and does not allow to enter the module.
Module
hotel_reservation
Describe the bug
When try enter to the hotel_reservation module with 2nd company, the message appears:
The requested operation ("read" in "product" (product.product)) was rejected by any of the following rules: (Records: [69] false (id = 36), user: user (id = 2)) Implicitly accessed through 'product' (product.product).
I try in other odoo 13 instance, and appear same error.
Note: this error only appears in hotel_reservation module, hotel module work normally
To Reproduce
Odoo 13:
Steps to reproduce the behavior:
Expected behavior When I perform the previous actions I hope that the module of the screen again with all the rooms for this empty hotel because they are different rooms for each of the hotels. and make the reservations for each one.
Additional context Odoo Local Ubuntu 18.04 16GB RAM