Skip to content

Commit

Permalink
Changes to allow restricted users to view restricted as well as porta…
Browse files Browse the repository at this point in the history
…l users partners (#202)
  • Loading branch information
ByteMeAsap authored Aug 20, 2024
2 parents 33721a1 + bb732ae commit 56a1e2d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions container_accessibility/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@ def _search(
(
"groups_id",
"not in",
self.env.ref(
"container_accessibility.group_restricted"
).ids,
[
self.env.ref("base.group_portal").id,
self.env.ref(
"container_accessibility.group_restricted"
).id,
],
)
]
)
Expand Down

0 comments on commit 56a1e2d

Please # to comment.