mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[REF] pms-api-rest: refactor services
This commit is contained in:
committed by
Darío Lodeiros
parent
1c7b8efdc5
commit
2a0d960184
@@ -7,7 +7,7 @@ class PmsPartnerService(Component):
|
||||
_inherit = "base.rest.service"
|
||||
_name = "pms.partner.service"
|
||||
_usage = "partners"
|
||||
_collection = "pms.private.services"
|
||||
_collection = "pms.services"
|
||||
|
||||
@restapi.method(
|
||||
[
|
||||
@@ -19,6 +19,7 @@ class PmsPartnerService(Component):
|
||||
)
|
||||
],
|
||||
output_param=Datamodel("pms.partner.info", is_list=True),
|
||||
auth="jwt_api_pms",
|
||||
)
|
||||
def get_partners(self):
|
||||
domain = []
|
||||
|
||||
Reference in New Issue
Block a user