Commit 3522a711 by François C.

Fix is_associated_people who could not be found anymore after last change

parent e3ad4cc7
Pipeline #1734 passed with stage
in 1 minute 37 seconds
......@@ -729,7 +729,9 @@ class CagetteMember(models.Model):
cond = [['barcode', '=', str(key)]]
else:
cond = [['name', 'ilike', str(key)]]
cond.append('|')
cond.append(['is_member', '=', True])
cond.append(['is_associated_people', '=', True])
# cond.append(['cooperative_state', '!=', 'unsubscribed'])
fields = CagetteMember.m_default_fields
if not shift_id is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment