#9 feat(Tryton): get products salables from tryton only.
This commit is contained in:
		| @@ -33,7 +33,7 @@ class TestProductsFromTryton(TestCase): | ||||
|  | ||||
|         def fake_call(*args, **kwargs): | ||||
|             product_search = 'model.product.product.search' | ||||
|             search_args = [[], 0, 1000, [['rec_name', 'ASC'], ['id', None]], {'company': 1}] | ||||
|             search_args = [[["salable", "=", True]], 0, 1000, [['rec_name', 'ASC'], ['id', None]], {'company': 1}] | ||||
|             if (args == (product_search, search_args)): | ||||
|                 return [190, 191, 192] | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user