Merge pull request #1256 from ae-utbm/remove-is_validated

Database optimisations on counter
This commit is contained in:
thomas girod authored and GitHub committed 2025-11-24 16:46:15 +01:00
commit 7cbb3a2c5d
19 files changed
+170 -125

No files matched your search

+1 -5
View File
@@ -187,11 +187,7 @@ class TestFilterInactive(TestCase):
time_inactive = time_active - timedelta(days=3)
counter, seller = baker.make(Counter), baker.make(User)
sale_recipe = Recipe(
Selling,
counter=counter,
club=counter.club,
seller=seller,
is_validated=True,
Selling, counter=counter, club=counter.club, seller=seller, unit_price=0
)
cls.users = [