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

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

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 = [