fix(Tryton): fix import customers from tryton.
This commit is contained in:
parent
4734636b4f
commit
271f9b2942
@ -348,7 +348,7 @@ class CustomersFromTrytonView(APIView):
|
||||
tryton_client.connect()
|
||||
method = 'model.party.party.search'
|
||||
context = {'company': 1}
|
||||
params = [[], 0, 1000, [["rec_name", "ASC"], ["id", None]], context]
|
||||
params = [[], 0, 1000, [["name", "ASC"], ["id", None]], context]
|
||||
party_ids = tryton_client.call(method, params)
|
||||
tryton_parties = self.__get_party_datails(
|
||||
party_ids, tryton_client, context
|
||||
|
Loading…
Reference in New Issue
Block a user