#9 feat(Tryton): get products salables from tryton only.

This commit is contained in:
2025-07-27 23:34:07 -05:00
parent d1e137d387
commit 59fbc8872a
2 changed files with 2 additions and 2 deletions

View File

@@ -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]