fix(Tryton): fix import customers from tryton.
This commit is contained in:
		| @@ -348,7 +348,7 @@ class CustomersFromTrytonView(APIView): | |||||||
|         tryton_client.connect() |         tryton_client.connect() | ||||||
|         method = 'model.party.party.search' |         method = 'model.party.party.search' | ||||||
|         context = {'company': 1} |         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) |         party_ids = tryton_client.call(method, params) | ||||||
|         tryton_parties = self.__get_party_datails( |         tryton_parties = self.__get_party_datails( | ||||||
|             party_ids, tryton_client, context |             party_ids, tryton_client, context | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user