fix(Tryton): fix import customers from tryton.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user