Commit Graph

67 Commits

Author SHA1 Message Date
thomas girod
7cbb3a2c5d Merge pull request #1256 from ae-utbm/remove-is_validated
Database optimisations on counter
2025-11-24 16:46:15 +01:00
thomas girod
4f802ac56e Merge pull request #1260 from ae-utbm/fix-warnings
Fix warnings
2025-11-24 07:43:51 +01:00
imperosol
6709befb1f fix timezone issues 2025-11-23 01:30:44 +01:00
imperosol
b60bd3a42b fix: product scheduled action on product creation
cf. issue #1257
2025-11-21 11:13:06 +01:00
imperosol
c588e5117d make Refilling.payment_method a SmallIntegerField 2025-11-19 21:03:55 +01:00
imperosol
ad87617018 remove Refilling.bank 2025-11-19 21:03:55 +01:00
imperosol
56c2c2b70e remove Refilling.is_validated 2025-11-19 21:03:55 +01:00
imperosol
78fe4e52ca make Selling.payment_method a SmallIntegerField 2025-11-19 21:03:55 +01:00
imperosol
2a5893aa79 remove Selling.is_validated 2025-11-19 21:03:55 +01:00
imperosol
2e9e1b6a78 remove deprecated api csrf argument 2025-11-09 21:34:26 +01:00
imperosol
f027464d0e apply new ruff rules 2025-11-07 16:24:28 +01:00
imperosol
8bd82c9d7c Complete invoice call validation feature 2025-10-17 13:44:03 +02:00
Kenneth SOARES
3bcd417ad0 Basic implementation of invoice call validation 2025-10-17 13:40:05 +02:00
imperosol
f398c9901c fix: 500 on product create view 2025-10-10 20:42:36 +02:00
imperosol
5b91fe2145 use ModelFormSet instead of FormSet for scheduled actions 2025-10-10 20:40:44 +02:00
imperosol
abd905c24d write tests 2025-10-10 20:40:44 +02:00
Noa Fouich
262281adda Add test case 2025-09-18 14:40:20 +02:00
imperosol
67884017f8 fix old permanences having end replaced by activity 2025-06-25 01:22:13 +02:00
Sli
8af6af1303 Test basket creation 2025-04-22 23:03:06 +02:00
Sli
31575d0b64 Add tests 2025-04-11 17:12:23 +02:00
Thomas Girod
ff220e67c1 use new django.url.reverse query kwarg 2025-04-11 14:54:06 +02:00
Thomas Girod
9e0cb7647b fix counter stats page access 2025-04-06 14:18:20 +02:00
imperosol
26d4c4b811 move accound refound view to counter 2025-04-04 10:35:17 +02:00
imperosol
e7bb08448c feat: generic returnable products 2025-04-04 09:29:54 +02:00
imperosol
805b146f17 change Club.unix_name to Club.slug_name and remove it from forms 2025-03-28 17:42:53 +01:00
Sli
1978658b9c Allow transactions on counter when an user has recorded too many products as long as he doesn't record more 2025-02-21 14:50:07 +01:00
imperosol
428fe68cdb fix CustomerQuerySet.update_amount 2025-01-23 14:55:10 +01:00
imperosol
14ed43aaa5 fix office counter click access 2025-01-23 13:32:13 +01:00
Sli
a4c6439981 Fix selling ordering bug that created "not enough money" errors
* Add tests
* Add tests for cons/dcons
2025-01-10 16:35:42 +01:00
Sli
0c4d72e17a Switch from poetry to uv 2025-01-06 16:17:54 +01:00
imperosol
af47587116 Split groups and ban groups 2025-01-05 15:49:08 +01:00
Sli
139221dd22 Apply review comments 2024-12-23 15:15:24 +01:00
Sli
7f6fd7dc47 Fix wrong tests/permissions 2024-12-23 02:37:41 +01:00
Sli
ccf5118c9d Add invalid form tests 2024-12-23 02:26:39 +01:00
Sli
022c19c020 Fix counter permissions issues 2024-12-23 02:17:28 +01:00
Sli
2e5e217842 Disable eboutic in counter click/main 2024-12-23 01:35:44 +01:00
Sli
9c93c004ec Add more counter click tests 2024-12-23 01:18:01 +01:00
Sli
b8d43a629b Increase selling label size and add more counter click tests 2024-12-23 00:00:40 +01:00
Sli
f6693e12cf Basic counter click tests 2024-12-22 19:24:07 +01:00
Sli
38f491cf57 Properly test annotations in counter click 2024-12-22 16:43:07 +01:00
Sli
3464d5d860 Add proper tests for refilling view 2024-12-22 16:16:28 +01:00
imperosol
a7b1406e06 post-rebase fix 2024-12-19 10:53:11 +01:00
imperosol
8d643fc6b4 Apply review comments 2024-12-17 17:23:13 +01:00
imperosol
c79c251ba7 Add ProductTypeController 2024-12-17 13:35:29 +01:00
imperosol
6c8a6008d5 api route to search products with detailed infos. 2024-12-17 12:38:59 +01:00
Sli
03c27b10e5 Fix refill permissions
* Remove ability to refill from counters
* Fix bug where you could refill without any board member on a BAR
* Add a warning message explaining why refilling are disabled
2024-12-17 02:42:07 +01:00
Sli
fc0ef29738 Remove GetCustomer API endpoint 2024-12-17 01:42:10 +01:00
Sli
cde864fdc7 Apply review comments 2024-12-15 22:47:59 +01:00
Sli
e9361697f7 Convert customer refill to a fragment view 2024-12-15 21:33:19 +01:00
Sli
2cc4308a58 Fix tooltip shadow and position and improve unittests 2024-12-15 16:49:24 +01:00