mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-30 05:01:10 +02:00
Compare commits
15 Commits
31e67ae3f6
...
fix_pipeli
Author | SHA1 | Date | |
---|---|---|---|
81c12436a8 | |||
8eee14075c | |||
ab9ba62af1 | |||
8ca0648e75 | |||
77ecfd6ed5 | |||
0ab1367e55 | |||
524f0e098a | |||
1ca4246cbd | |||
6a9021ec14 | |||
cb74311e7b | |||
9d7dd566c9 | |||
9944ebcaad | |||
8537f043f7 | |||
c89a95f8d2 | |||
73640b1dfa |
1
.gitignore
vendored
1
.gitignore
vendored
@ -42,6 +42,7 @@ map.json
|
|||||||
backups/
|
backups/
|
||||||
/static/
|
/static/
|
||||||
/media/
|
/media/
|
||||||
|
/tmp/
|
||||||
|
|
||||||
# Virtualenv
|
# Virtualenv
|
||||||
env/
|
env/
|
||||||
|
18
apps/member/migrations/0009_auto_20220904_2325.py
Normal file
18
apps/member/migrations/0009_auto_20220904_2325.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 2.2.26 on 2022-09-04 21:25
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('member', '0008_auto_20211005_1544'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='profile',
|
||||||
|
name='promotion',
|
||||||
|
field=models.PositiveSmallIntegerField(default=2022, help_text='Year of entry to the school (None if not ENS student)', null=True, verbose_name='promotion'),
|
||||||
|
),
|
||||||
|
]
|
@ -243,7 +243,7 @@
|
|||||||
"type": "delete",
|
"type": "delete",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": true,
|
"permanent": false,
|
||||||
"description": "Supprimer un alias à sa note"
|
"description": "Supprimer un alias à sa note"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -369,7 +369,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "valid",
|
"field": "valid",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Mettre à jour le statut de validation d'une transaction"
|
"description": "Mettre à jour le statut de validation d'une transaction"
|
||||||
@ -705,7 +705,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Voir toutes les transactions d'invitation"
|
"description": "Voir toutes les transactions d'invitation"
|
||||||
@ -737,7 +737,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"pk\": [\"club\", \"pk\"]}",
|
"query": "{\"pk\": [\"club\", \"pk\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier un club"
|
"description": "Modifier un club"
|
||||||
@ -865,7 +865,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Ajouter un utilisateur"
|
"description": "Ajouter un utilisateur"
|
||||||
@ -881,7 +881,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"email_confirmed\": false, \"registration_valid\": false}",
|
"query": "{\"email_confirmed\": false, \"registration_valid\": false}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Ajouter un profil"
|
"description": "Ajouter un profil"
|
||||||
@ -961,7 +961,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"destination\": [\"club\", \"note\"]}",
|
"query": "{\"destination\": [\"club\", \"note\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 2,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le bouton d'un club"
|
"description": "Modifier le bouton d'un club"
|
||||||
@ -1105,7 +1105,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Ajouter un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
|
"description": "Ajouter un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
|
||||||
@ -1137,7 +1137,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
|
"description": "Modifier un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
|
||||||
@ -1281,7 +1281,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"first_year\": true, \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
|
"query": "{\"wei\": [\"club\"], \"first_year\": true, \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Inscrire un 1A au WEI"
|
"description": "Inscrire un 1A au WEI"
|
||||||
@ -1297,7 +1297,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Inscrire n'importe qui au WEI"
|
"description": "Inscrire n'importe qui au WEI"
|
||||||
@ -1313,7 +1313,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"]}",
|
"query": "{\"wei\": [\"club\"]}",
|
||||||
"type": "delete",
|
"type": "delete",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Supprimer une inscription WEI"
|
"description": "Supprimer une inscription WEI"
|
||||||
@ -1345,9 +1345,9 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"]}",
|
"query": "{\"wei\": [\"club\"]}",
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Voir toutes les inscriptions WEI"
|
"description": "Voir toutes les inscriptions WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1361,7 +1361,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "soge_credit",
|
"field": "soge_credit",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Indiquer si une inscription WEI est payée par la Société générale"
|
"description": "Indiquer si une inscription WEI est payée par la Société générale"
|
||||||
@ -1393,7 +1393,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "caution_check",
|
"field": "caution_check",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Dire si un chèque de caution est donné pour une inscription WEI"
|
"description": "Dire si un chèque de caution est donné pour une inscription WEI"
|
||||||
@ -1409,7 +1409,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "birth_date",
|
"field": "birth_date",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la date de naissance d'une inscription WEI"
|
"description": "Modifier la date de naissance d'une inscription WEI"
|
||||||
@ -1441,7 +1441,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "gender",
|
"field": "gender",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le genre de toute inscription WEI"
|
"description": "Modifier le genre de toute inscription WEI"
|
||||||
@ -1473,7 +1473,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "health_issues",
|
"field": "health_issues",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier les problèmes de santé de toutes les inscriptions WEI"
|
"description": "Modifier les problèmes de santé de toutes les inscriptions WEI"
|
||||||
@ -1505,7 +1505,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "emergency_contact_name",
|
"field": "emergency_contact_name",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le nom du contact en cas d'urgence de toute inscription WEI"
|
"description": "Modifier le nom du contact en cas d'urgence de toute inscription WEI"
|
||||||
@ -1537,7 +1537,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "emergency_contact_phone",
|
"field": "emergency_contact_phone",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le téléphone du contact en cas d'urgence de toute inscription WEI"
|
"description": "Modifier le téléphone du contact en cas d'urgence de toute inscription WEI"
|
||||||
@ -1569,7 +1569,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "information_json",
|
"field": "information_json",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier les informations (sondage 1A, ...) d'une inscription WEI"
|
"description": "Modifier les informations (sondage 1A, ...) d'une inscription WEI"
|
||||||
@ -1697,9 +1697,9 @@
|
|||||||
],
|
],
|
||||||
"query": "[\"AND\", {\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}, [\"OR\", {\"registration__soge_credit\": true}, {\"user__note__balance__gte\": {\"F\": [\"F\", \"fee\"]}}]]",
|
"query": "[\"AND\", {\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}, [\"OR\", {\"registration__soge_credit\": true}, {\"user__note__balance__gte\": {\"F\": [\"F\", \"fee\"]}}]]",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 2,
|
"mask": 3,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Créer une adhésion WEI pour le dernier WEI"
|
"description": "Créer une adhésion WEI pour le dernier WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1713,7 +1713,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
|
"query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "bus",
|
"field": "bus",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le bus d'une adhésion WEI"
|
"description": "Modifier le bus d'une adhésion WEI"
|
||||||
@ -1729,7 +1729,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
|
"query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "team",
|
"field": "team",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier l'équipe d'une adhésion WEI"
|
"description": "Modifier l'équipe d'une adhésion WEI"
|
||||||
@ -1745,9 +1745,9 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"club\": [\"club\"]}",
|
"query": "{\"club\": [\"club\"]}",
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Voir toutes les adhésions au WEI"
|
"description": "Voir toutes les adhésions au WEI"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1777,9 +1777,9 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"club\": [\"club\"], \"bus\": [\"membership\", \"weimembership\", \"bus\"]}",
|
"query": "{\"club\": [\"club\"], \"bus\": [\"membership\", \"weimembership\", \"bus\"]}",
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Voir les membres du bus"
|
"description": "Voir les membres du bus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1793,9 +1793,9 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"club\": [\"club\"], \"team\": [\"membership\", \"weimembership\", \"team\"]}",
|
"query": "{\"club\": [\"club\"], \"team\": [\"membership\", \"weimembership\", \"team\"]}",
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "Voir les membres de l'équipe"
|
"description": "Voir les membres de l'équipe"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -1809,7 +1809,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "name",
|
"field": "name",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le nom du bus"
|
"description": "Modifier le nom du bus"
|
||||||
@ -1825,7 +1825,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "description",
|
"field": "description",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la description du bus"
|
"description": "Modifier la description du bus"
|
||||||
@ -1841,7 +1841,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Ajouter une équipe à mon bus"
|
"description": "Ajouter une équipe à mon bus"
|
||||||
@ -1857,7 +1857,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "name",
|
"field": "name",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le nom d'une équipe de mon bus"
|
"description": "Modifier le nom d'une équipe de mon bus"
|
||||||
@ -1873,7 +1873,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "color",
|
"field": "color",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la couleur d'une équipe de mon bus"
|
"description": "Modifier la couleur d'une équipe de mon bus"
|
||||||
@ -1889,7 +1889,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "description",
|
"field": "description",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la description d'une équipe de mon bus"
|
"description": "Modifier la description d'une équipe de mon bus"
|
||||||
@ -1905,7 +1905,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "name",
|
"field": "name",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier le nom de mon équipe"
|
"description": "Modifier le nom de mon équipe"
|
||||||
@ -1921,7 +1921,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "color",
|
"field": "color",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la couleur de mon équipe"
|
"description": "Modifier la couleur de mon équipe"
|
||||||
@ -1937,7 +1937,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "description",
|
"field": "description",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la description de mon équipe"
|
"description": "Modifier la description de mon équipe"
|
||||||
@ -1985,7 +1985,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "clothing_cut",
|
"field": "clothing_cut",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la coupe de vêtements d'une inscription WEI"
|
"description": "Modifier la coupe de vêtements d'une inscription WEI"
|
||||||
@ -2017,7 +2017,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "clothing_size",
|
"field": "clothing_size",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier la taille de vêtements d'une inscription WEI"
|
"description": "Modifier la taille de vêtements d'une inscription WEI"
|
||||||
@ -2225,7 +2225,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Créer une note d'utilisateur"
|
"description": "Créer une note d'utilisateur"
|
||||||
@ -2257,7 +2257,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Voir toutes les notes de club"
|
"description": "Voir toutes les notes de club"
|
||||||
@ -2276,7 +2276,7 @@
|
|||||||
"mask": 3,
|
"mask": 3,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Voir tous les adhérents de tous les clubs"
|
"description": "Voir tous les adhérents du club"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2564,7 +2564,7 @@
|
|||||||
"mask": 3,
|
"mask": 3,
|
||||||
"field": "inactivity_reason",
|
"field": "inactivity_reason",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "(Dé)bloquer n'importe quelle note et indiquer la raison"
|
"description": "(Dé)bloquer sa propre note et modifier la raison"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2641,7 +2641,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"club\": [\"club\"]}",
|
"query": "{\"club\": [\"club\"]}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "display_image",
|
"field": "display_image",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Changer l'image de la note de son club"
|
"description": "Changer l'image de la note de son club"
|
||||||
@ -2657,7 +2657,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"note__is_active\": true}",
|
"query": "{\"note__is_active\": true}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Ajouter n'importe quel alias à une note non bloquée"
|
"description": "Ajouter n'importe quel alias à une note non bloquée"
|
||||||
@ -2753,7 +2753,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"profile__registration_valid\": false}",
|
"query": "{\"profile__registration_valid\": false}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier n'importe quel utilisateur non encore inscrit"
|
"description": "Modifier n'importe quel utilisateur non encore inscrit"
|
||||||
@ -2769,7 +2769,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"registration_valid\": false}",
|
"query": "{\"registration_valid\": false}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Modifier n'importe quel profil non encore inscrit"
|
"description": "Modifier n'importe quel profil non encore inscrit"
|
||||||
@ -2865,7 +2865,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{}",
|
"query": "{}",
|
||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "display_image",
|
"field": "display_image",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Changer l'image de n'importe quelle note"
|
"description": "Changer l'image de n'importe quelle note"
|
||||||
@ -2883,7 +2883,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 3,
|
||||||
"field": "is_active",
|
"field": "is_active",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "(Dé)bloquer la note de son club manuellement"
|
"description": "(Dé)bloquer la note de son club manuellement"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2899,7 +2899,7 @@
|
|||||||
"type": "change",
|
"type": "change",
|
||||||
"mask": 3,
|
"mask": 3,
|
||||||
"field": "inactivity_reason",
|
"field": "inactivity_reason",
|
||||||
"permanent": false,
|
"permanent": true,
|
||||||
"description": "(Dé)bloquer la note de son club et indiquer que cela a été fait manuellement"
|
"description": "(Dé)bloquer la note de son club et indiquer que cela a été fait manuellement"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2928,7 +2928,7 @@
|
|||||||
"application"
|
"application"
|
||||||
],
|
],
|
||||||
"query": "{\"user\": [\"user\"]}",
|
"query": "{\"user\": [\"user\"]}",
|
||||||
"type": "add",
|
"type": "create",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": true,
|
"permanent": true,
|
||||||
@ -2979,7 +2979,7 @@
|
|||||||
"type": "delete",
|
"type": "delete",
|
||||||
"mask": 1,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": true,
|
"permanent": false,
|
||||||
"description": "Supprimer une amitié à sa note"
|
"description": "Supprimer une amitié à sa note"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3009,7 +3009,7 @@
|
|||||||
],
|
],
|
||||||
"query": "{\"trusting__is_active\": true}",
|
"query": "{\"trusting__is_active\": true}",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 3,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Ajouter une amitié à une note non bloquée"
|
"description": "Ajouter une amitié à une note non bloquée"
|
||||||
@ -3073,28 +3073,12 @@
|
|||||||
],
|
],
|
||||||
"query": "[\"AND\", {\"source__trusting__trusted\": [\"user\", \"note\"]}, [\"OR\", {\"source__balance__gte\": {\"F\": [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]]}}, {\"valid\": false}]]",
|
"query": "[\"AND\", {\"source__trusting__trusted\": [\"user\", \"note\"]}, [\"OR\", {\"source__balance__gte\": {\"F\": [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]]}}, {\"valid\": false}]]",
|
||||||
"type": "add",
|
"type": "add",
|
||||||
"mask": 2,
|
"mask": 1,
|
||||||
"field": "",
|
"field": "",
|
||||||
"permanent": false,
|
"permanent": false,
|
||||||
"description": "Transférer de l'argent depuis une note amie en restant positif"
|
"description": "Transférer de l'argent depuis une note amie en restant positif"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"model": "permission.permission",
|
|
||||||
"pk": 197,
|
|
||||||
"fields": {
|
|
||||||
"model": [
|
|
||||||
"note",
|
|
||||||
"specialtransaction"
|
|
||||||
],
|
|
||||||
"query": "{\"source__notespecial__gte\":0}",
|
|
||||||
"type": "add",
|
|
||||||
"mask": 2,
|
|
||||||
"field": "",
|
|
||||||
"permanent": false,
|
|
||||||
"description": "Créer un crédit quelconque"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"model": "permission.role",
|
"model": "permission.role",
|
||||||
"pk": 1,
|
"pk": 1,
|
||||||
@ -3120,7 +3104,6 @@
|
|||||||
16,
|
16,
|
||||||
17,
|
17,
|
||||||
22,
|
22,
|
||||||
34,
|
|
||||||
48,
|
48,
|
||||||
52,
|
52,
|
||||||
126,
|
126,
|
||||||
@ -3131,10 +3114,10 @@
|
|||||||
187,
|
187,
|
||||||
188,
|
188,
|
||||||
189,
|
189,
|
||||||
190,
|
190,
|
||||||
191,
|
191,
|
||||||
195,
|
195,
|
||||||
196
|
196
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3146,9 +3129,11 @@
|
|||||||
"name": "Adh\u00e9rent Kfet",
|
"name": "Adh\u00e9rent Kfet",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
22,
|
22,
|
||||||
|
34,
|
||||||
36,
|
36,
|
||||||
39,
|
39,
|
||||||
40,
|
40,
|
||||||
|
70,
|
||||||
78,
|
78,
|
||||||
79,
|
79,
|
||||||
83,
|
83,
|
||||||
@ -3173,7 +3158,9 @@
|
|||||||
158,
|
158,
|
||||||
159,
|
159,
|
||||||
160,
|
160,
|
||||||
179
|
179,
|
||||||
|
189,
|
||||||
|
190
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3210,7 +3197,9 @@
|
|||||||
"for_club": null,
|
"for_club": null,
|
||||||
"name": "Pr\u00e9sident\u00b7e de club",
|
"name": "Pr\u00e9sident\u00b7e de club",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
|
50,
|
||||||
62,
|
62,
|
||||||
|
141,
|
||||||
142
|
142
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -3222,17 +3211,23 @@
|
|||||||
"for_club": null,
|
"for_club": null,
|
||||||
"name": "Tr\u00e9sorier\u00b7\u00e8re de club",
|
"name": "Tr\u00e9sorier\u00b7\u00e8re de club",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
|
59,
|
||||||
19,
|
19,
|
||||||
20,
|
20,
|
||||||
21,
|
21,
|
||||||
27,
|
27,
|
||||||
59,
|
|
||||||
60,
|
60,
|
||||||
61,
|
61,
|
||||||
62,
|
62,
|
||||||
127,
|
127,
|
||||||
133,
|
133,
|
||||||
|
136,
|
||||||
|
141,
|
||||||
142,
|
142,
|
||||||
|
150,
|
||||||
|
166,
|
||||||
|
167,
|
||||||
|
168,
|
||||||
182,
|
182,
|
||||||
184,
|
184,
|
||||||
185
|
185
|
||||||
@ -3251,16 +3246,7 @@
|
|||||||
26,
|
26,
|
||||||
27,
|
27,
|
||||||
30,
|
30,
|
||||||
33,
|
33
|
||||||
41,
|
|
||||||
42,
|
|
||||||
63,
|
|
||||||
66,
|
|
||||||
135,
|
|
||||||
136,
|
|
||||||
137,
|
|
||||||
150,
|
|
||||||
172
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3282,10 +3268,6 @@
|
|||||||
31,
|
31,
|
||||||
32,
|
32,
|
||||||
33,
|
33,
|
||||||
37,
|
|
||||||
38,
|
|
||||||
41,
|
|
||||||
42,
|
|
||||||
43,
|
43,
|
||||||
51,
|
51,
|
||||||
53,
|
53,
|
||||||
@ -3301,7 +3283,6 @@
|
|||||||
67,
|
67,
|
||||||
68,
|
68,
|
||||||
69,
|
69,
|
||||||
70,
|
|
||||||
71,
|
71,
|
||||||
72,
|
72,
|
||||||
73,
|
73,
|
||||||
@ -3316,12 +3297,12 @@
|
|||||||
143,
|
143,
|
||||||
146,
|
146,
|
||||||
147,
|
147,
|
||||||
148,
|
|
||||||
149,
|
|
||||||
150,
|
150,
|
||||||
151,
|
151,
|
||||||
163,
|
163,
|
||||||
164,
|
164,
|
||||||
|
170,
|
||||||
|
171,
|
||||||
172,
|
172,
|
||||||
173,
|
173,
|
||||||
174,
|
174,
|
||||||
@ -3329,7 +3310,10 @@
|
|||||||
176,
|
176,
|
||||||
177,
|
177,
|
||||||
178,
|
178,
|
||||||
183
|
188,
|
||||||
|
183,
|
||||||
|
186,
|
||||||
|
187
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3524,13 +3508,13 @@
|
|||||||
187,
|
187,
|
||||||
188,
|
188,
|
||||||
189,
|
189,
|
||||||
190,
|
190,
|
||||||
191,
|
191,
|
||||||
192,
|
192,
|
||||||
193,
|
193,
|
||||||
194,
|
194,
|
||||||
195,
|
195,
|
||||||
196
|
196
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3541,6 +3525,12 @@
|
|||||||
"for_club": 2,
|
"for_club": 2,
|
||||||
"name": "GC Kfet",
|
"name": "GC Kfet",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
|
32,
|
||||||
|
56,
|
||||||
|
58,
|
||||||
|
55,
|
||||||
|
57,
|
||||||
|
52,
|
||||||
23,
|
23,
|
||||||
24,
|
24,
|
||||||
25,
|
25,
|
||||||
@ -3550,16 +3540,20 @@
|
|||||||
29,
|
29,
|
||||||
30,
|
30,
|
||||||
31,
|
31,
|
||||||
32,
|
70,
|
||||||
37,
|
72,
|
||||||
38,
|
143,
|
||||||
41,
|
|
||||||
43,
|
|
||||||
148,
|
|
||||||
149,
|
|
||||||
166,
|
166,
|
||||||
167,
|
167,
|
||||||
168,
|
168,
|
||||||
|
170,
|
||||||
|
171,
|
||||||
|
176,
|
||||||
|
177,
|
||||||
|
178,
|
||||||
|
179,
|
||||||
|
180,
|
||||||
|
181,
|
||||||
182
|
182
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -3571,9 +3565,6 @@
|
|||||||
"for_club": 2,
|
"for_club": 2,
|
||||||
"name": "Res[pot]",
|
"name": "Res[pot]",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
19,
|
|
||||||
25,
|
|
||||||
26,
|
|
||||||
37,
|
37,
|
||||||
38,
|
38,
|
||||||
41,
|
41,
|
||||||
@ -3596,8 +3587,6 @@
|
|||||||
"name": "GC WEI",
|
"name": "GC WEI",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
22,
|
22,
|
||||||
70,
|
|
||||||
72,
|
|
||||||
76,
|
76,
|
||||||
85,
|
85,
|
||||||
86,
|
86,
|
||||||
@ -3619,8 +3608,8 @@
|
|||||||
111,
|
111,
|
||||||
112,
|
112,
|
||||||
113,
|
113,
|
||||||
128,
|
130,
|
||||||
130
|
131
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3633,13 +3622,12 @@
|
|||||||
"permissions": [
|
"permissions": [
|
||||||
22,
|
22,
|
||||||
84,
|
84,
|
||||||
115,
|
|
||||||
117,
|
117,
|
||||||
118,
|
118,
|
||||||
119,
|
|
||||||
120,
|
120,
|
||||||
121,
|
121,
|
||||||
122
|
122,
|
||||||
|
115
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3700,7 +3688,18 @@
|
|||||||
"name": "Adhérent WEI",
|
"name": "Adhérent WEI",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
77,
|
77,
|
||||||
114
|
87,
|
||||||
|
90,
|
||||||
|
93,
|
||||||
|
95,
|
||||||
|
97,
|
||||||
|
99,
|
||||||
|
101,
|
||||||
|
108,
|
||||||
|
109,
|
||||||
|
114,
|
||||||
|
128,
|
||||||
|
130
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3711,9 +3710,6 @@
|
|||||||
"for_club": 1,
|
"for_club": 1,
|
||||||
"name": "Secrétaire BDE",
|
"name": "Secrétaire BDE",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
37,
|
|
||||||
41,
|
|
||||||
53,
|
|
||||||
54,
|
54,
|
||||||
55,
|
55,
|
||||||
56,
|
56,
|
||||||
@ -3722,21 +3718,15 @@
|
|||||||
135,
|
135,
|
||||||
136,
|
136,
|
||||||
137,
|
137,
|
||||||
138,
|
|
||||||
139,
|
139,
|
||||||
140,
|
140,
|
||||||
143,
|
143,
|
||||||
145,
|
145,
|
||||||
146,
|
146,
|
||||||
147,
|
147,
|
||||||
148,
|
|
||||||
149,
|
|
||||||
150,
|
150,
|
||||||
176,
|
176,
|
||||||
177,
|
177
|
||||||
180,
|
|
||||||
181,
|
|
||||||
183
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -3748,16 +3738,20 @@
|
|||||||
"name": "PC Kfet",
|
"name": "PC Kfet",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
6,
|
6,
|
||||||
|
22,
|
||||||
24,
|
24,
|
||||||
25,
|
25,
|
||||||
|
26,
|
||||||
27,
|
27,
|
||||||
30,
|
30,
|
||||||
34,
|
|
||||||
49,
|
49,
|
||||||
50,
|
50,
|
||||||
55,
|
55,
|
||||||
56,
|
56,
|
||||||
|
57,
|
||||||
|
58,
|
||||||
70,
|
70,
|
||||||
|
72,
|
||||||
135,
|
135,
|
||||||
137,
|
137,
|
||||||
143,
|
143,
|
||||||
@ -3768,7 +3762,8 @@
|
|||||||
168,
|
168,
|
||||||
176,
|
176,
|
||||||
177,
|
177,
|
||||||
197
|
180,
|
||||||
|
181
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -339,7 +339,6 @@ class Role(models.Model):
|
|||||||
"member.Club",
|
"member.Club",
|
||||||
verbose_name=_("for club"),
|
verbose_name=_("for club"),
|
||||||
on_delete=models.PROTECT,
|
on_delete=models.PROTECT,
|
||||||
blank=True,
|
|
||||||
null=True,
|
null=True,
|
||||||
default=None,
|
default=None,
|
||||||
)
|
)
|
||||||
|
18
apps/treasury/migrations/0005_auto_20230129_2348.py
Normal file
18
apps/treasury/migrations/0005_auto_20230129_2348.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 2.2.28 on 2023-01-29 22:48
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('treasury', '0004_auto_20211005_1544'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='invoice',
|
||||||
|
name='bde',
|
||||||
|
field=models.CharField(choices=[('TotalistSpies', 'Tota[list]Spies'), ('Saperlistpopette', 'Saper[list]popette'), ('Finalist', 'Fina[list]'), ('Listorique', '[List]orique'), ('Satellist', 'Satel[list]'), ('Monopolist', 'Monopo[list]'), ('Kataclist', 'Katac[list]')], default='TotalistSpies', max_length=32, verbose_name='BDE'),
|
||||||
|
),
|
||||||
|
]
|
@ -28,8 +28,9 @@ class Invoice(models.Model):
|
|||||||
|
|
||||||
bde = models.CharField(
|
bde = models.CharField(
|
||||||
max_length=32,
|
max_length=32,
|
||||||
default='Saperlistpopette',
|
default='TotalistSpies',
|
||||||
choices=(
|
choices=(
|
||||||
|
('TotalistSpies', 'Tota[list]Spies'),
|
||||||
('Saperlistpopette', 'Saper[list]popette'),
|
('Saperlistpopette', 'Saper[list]popette'),
|
||||||
('Finalist', 'Fina[list]'),
|
('Finalist', 'Fina[list]'),
|
||||||
('Listorique', '[List]orique'),
|
('Listorique', '[List]orique'),
|
||||||
@ -95,7 +96,7 @@ class Invoice(models.Model):
|
|||||||
products = self.products.all()
|
products = self.products.all()
|
||||||
|
|
||||||
self.place = "Gif-sur-Yvette"
|
self.place = "Gif-sur-Yvette"
|
||||||
self.my_name = "BDE ENS Cachan"
|
self.my_name = "BDE ENS Paris Saclay"
|
||||||
self.my_address_street = "4 avenue des Sciences"
|
self.my_address_street = "4 avenue des Sciences"
|
||||||
self.my_city = "91190 Gif-sur-Yvette"
|
self.my_city = "91190 Gif-sur-Yvette"
|
||||||
self.bank_code = 30003
|
self.bank_code = 30003
|
||||||
|
BIN
apps/treasury/static/img/TotalistSpies.png
Normal file
BIN
apps/treasury/static/img/TotalistSpies.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 MiB |
BIN
apps/treasury/static/img/TotalistSpies_bg.jpg
Normal file
BIN
apps/treasury/static/img/TotalistSpies_bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
@ -108,7 +108,7 @@ class InvoiceListView(LoginRequiredMixin, SingleTableView):
|
|||||||
name="",
|
name="",
|
||||||
address="",
|
address="",
|
||||||
)
|
)
|
||||||
if not PermissionBackend.check_perm(self.request, "treasury.view_invoice", sample_invoice):
|
if not PermissionBackend.check_perm(self.request, "treasury.add_invoice", sample_invoice):
|
||||||
raise PermissionDenied(_("You are not able to see the treasury interface."))
|
raise PermissionDenied(_("You are not able to see the treasury interface."))
|
||||||
return super().dispatch(request, *args, **kwargs)
|
return super().dispatch(request, *args, **kwargs)
|
||||||
|
|
||||||
|
18
apps/wei/migrations/0004_auto_20220904_2325.py
Normal file
18
apps/wei/migrations/0004_auto_20220904_2325.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 2.2.26 on 2022-09-04 21:25
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('wei', '0003_bus_size'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='weiclub',
|
||||||
|
name='year',
|
||||||
|
field=models.PositiveIntegerField(default=2022, unique=True, verbose_name='year'),
|
||||||
|
),
|
||||||
|
]
|
18
apps/wei/migrations/0005_auto_20230128_1850.py
Normal file
18
apps/wei/migrations/0005_auto_20230128_1850.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 2.2.28 on 2023-01-28 17:50
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('wei', '0004_auto_20220904_2325'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='weiclub',
|
||||||
|
name='year',
|
||||||
|
field=models.PositiveIntegerField(default=2023, unique=True, verbose_name='year'),
|
||||||
|
),
|
||||||
|
]
|
72
note_kfet/static/css/custom.css
Normal file → Executable file
72
note_kfet/static/css/custom.css
Normal file → Executable file
@ -65,7 +65,10 @@ mark {
|
|||||||
|
|
||||||
/* Last BDE colors */
|
/* Last BDE colors */
|
||||||
.bg-primary {
|
.bg-primary {
|
||||||
background-color: rgb(102, 83, 105) !important;
|
/* background-color: rgb(18, 67, 4) !important; */
|
||||||
|
/* MODE VIEUXCON=ON */
|
||||||
|
/* background-color: rgb(166, 0, 2) !important; */
|
||||||
|
background-color: rgb(0, 0, 0) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -80,15 +83,15 @@ body {
|
|||||||
.btn-outline-primary:hover,
|
.btn-outline-primary:hover,
|
||||||
.btn-outline-primary:not(:disabled):not(.disabled).active,
|
.btn-outline-primary:not(:disabled):not(.disabled).active,
|
||||||
.btn-outline-primary:not(:disabled):not(.disabled):active {
|
.btn-outline-primary:not(:disabled):not(.disabled):active {
|
||||||
color: #fff;
|
color: rgb(241, 229, 52);
|
||||||
background-color: rgb(102, 83, 105);
|
background-color: rgb(228, 35, 132);
|
||||||
border-color: rgb(102, 83, 105);
|
border-color: rgb(228, 35, 132);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-outline-primary {
|
.btn-outline-primary {
|
||||||
color: rgb(102, 83, 105);
|
color: #fff;
|
||||||
background-color: rgba(248, 249, 250, 0.9);
|
background-color: #000;
|
||||||
border-color: rgb(102, 83, 105);
|
border-color: #464647;
|
||||||
}
|
}
|
||||||
|
|
||||||
.turbolinks-progress-bar {
|
.turbolinks-progress-bar {
|
||||||
@ -98,36 +101,63 @@ body {
|
|||||||
.btn-primary:hover,
|
.btn-primary:hover,
|
||||||
.btn-primary:not(:disabled):not(.disabled).active,
|
.btn-primary:not(:disabled):not(.disabled).active,
|
||||||
.btn-primary:not(:disabled):not(.disabled):active {
|
.btn-primary:not(:disabled):not(.disabled):active {
|
||||||
color: #fff;
|
color: rgb(241, 229, 52);
|
||||||
background-color: rgb(102, 83, 105);
|
background-color: rgb(228, 35, 132);
|
||||||
border-color: rgb(102, 83, 105);
|
border-color: rgb(228, 35, 132);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
color: rgba(248, 249, 250, 0.9);
|
color: #fff;
|
||||||
background-color: rgb(102, 83, 105);
|
background-color: #000;
|
||||||
border-color: rgb(102, 83, 105);
|
border-color: #adb5bd;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border-primary {
|
.border-primary {
|
||||||
border-color: rgb(115, 15, 115) !important;
|
border-color: rgb(228, 35, 132) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-secondary {
|
||||||
|
color: #fff;
|
||||||
|
background-color: #000;
|
||||||
|
border-color: #adb5bd;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-secondary:hover,
|
||||||
|
.btn-secondary:not(:disabled):not(.disabled).active,
|
||||||
|
.btn-secondary:not(:disabled):not(.disabled):active {
|
||||||
|
color: rgb(241, 229, 52);
|
||||||
|
background-color: rgb(228, 35, 132);
|
||||||
|
border-color: rgb(228, 35, 132);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.btn-outline-dark {
|
||||||
|
color: #343a40;
|
||||||
|
border-color: #343a40;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-outline-dark:hover,
|
||||||
|
.btn-outline-dark:not(:disabled):not(.disabled).active,
|
||||||
|
.btn-outline-dark:not(:disabled):not(.disabled):active {
|
||||||
|
color: rgb(241, 229, 52);
|
||||||
|
background-color: rgb(228, 35, 132);
|
||||||
|
border-color: rgb(228, 35, 132);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: rgb(102, 83, 105);
|
color: rgb(228, 35, 132);
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
color: rgb(200, 30, 200);
|
color: rgb(228, 35, 132);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control:focus {
|
.form-control:focus {
|
||||||
box-shadow: 0 0 0 0.25rem rgba(200, 30, 200, 0.25);
|
box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 50%);
|
||||||
border-color: rgb(200, 30, 200);
|
border-color: rgb(228, 35, 132);
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-outline-primary.focus {
|
.btn-outline-primary.focus {
|
||||||
box-shadow: 0 0 0 0.25rem rgba(200, 30, 200, 0.5);
|
box-shadow: 0 0 0 0.25rem rgb(228 35 132 / 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -17,3 +17,6 @@ django-tables2~=2.3.1
|
|||||||
python-memcached~=1.59
|
python-memcached~=1.59
|
||||||
phonenumbers~=8.9.10
|
phonenumbers~=8.9.10
|
||||||
Pillow>=5.4.1
|
Pillow>=5.4.1
|
||||||
|
oauthlib<3.2.1
|
||||||
|
lxml<4.9.2
|
||||||
|
zipp>=2.0.0,<2.0.1
|
||||||
|
2
tox.ini
2
tox.ini
@ -16,7 +16,7 @@ skipsdist = True
|
|||||||
sitepackages = True
|
sitepackages = True
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
coverage
|
coverage<6.5.0
|
||||||
commands =
|
commands =
|
||||||
coverage run --omit='apps/scripts*,*_example.py,note_kfet/wsgi.py' --source=apps,note_kfet ./manage.py test apps/
|
coverage run --omit='apps/scripts*,*_example.py,note_kfet/wsgi.py' --source=apps,note_kfet ./manage.py test apps/
|
||||||
coverage report -m
|
coverage report -m
|
||||||
|
Reference in New Issue
Block a user