Skip to content

Commit

Permalink
[FIX] pms-api-rest: fix domain service properties (user permission)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpadin committed May 4, 2022
1 parent e18c0b3 commit 87751bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pms_api_rest/services/pms_property_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PmsPropertyService(Component):
auth="jwt_api_pms",
)
def get_properties(self):
domain = []
domain = [("user_ids", "in", [self.env.user.id])]
result_properties = []
PmsPropertyInfo = self.env.datamodels["pms.property.info"]
for prop in self.env["pms.property"].search(
Expand Down

0 comments on commit 87751bb

Please sign in to comment.