Commit Graph

10157 Commits

Author SHA1 Message Date
Oliver
6a534e0322 Improve options for installing a part into another part
- Allow "variant" parts when the BOM specifies that variants are allowed for a particular BOM item
2021-11-10 11:11:52 +11:00
Oliver
067f12d5eb PEP fixes 2021-11-10 11:01:12 +11:00
Oliver
25ce043337 Adjust ordering sequence for StockItem 2021-11-10 11:00:43 +11:00
Oliver
738ba4eddf Data migration to initially update serial number fields for all stock items
- Also automatically updates serial_int field when saving StockItem
2021-11-10 10:59:48 +11:00
Oliver
257be18d79 Add 'serial_int' field to stockitem model
- Allows for integer sorting of stock items
2021-11-10 10:47:17 +11:00
Oliver
85b906f49d Adds "stock" column sorting for stock table 2021-11-10 09:48:52 +11:00
Oliver
ab32ab0b3b
Merge pull request #2277 from SchrodingersGat/multi-report-fix
Fix for printing multiple reports at once
2021-11-10 09:26:55 +11:00
Oliver
558c2cc275
Merge pull request #2275 from SchrodingersGat/settings-via-api
Settings via api
2021-11-10 09:06:02 +11:00
Oliver
56bf0f0487 Fix for printing multiple reports at once
(bug introduced in 79434bb)
2021-11-10 09:03:15 +11:00
Oliver
3dae0c9c1c Remove old unit test code 2021-11-10 08:48:51 +11:00
Oliver
cfb873bb4f Bug fix for loading part table without enabling grid view 2021-11-09 22:47:19 +11:00
Oliver
db31bf91e6 Improve display of "no response from server" message 2021-11-09 22:41:54 +11:00
Oliver
e303b5a39b Catch for null value for settings choices 2021-11-09 22:37:50 +11:00
Oliver
8d7b73e2a8 Adds support for "multiple choice" field 2021-11-09 22:25:42 +11:00
Oliver
721d10a9ec Allow empty URLs 2021-11-09 22:14:26 +11:00
Oliver
1e80e33634 typo fix 2021-11-09 21:49:14 +11:00
Oliver
11dd187df2 javascript linting 2021-11-09 21:43:47 +11:00
Oliver
6347345c23 Ignore template files in common 2021-11-09 21:40:35 +11:00
Oliver
7dce9f3f3b PEP fixes 2021-11-09 21:37:54 +11:00
Oliver
476d2545ad Remove old server-side view 2021-11-09 21:33:32 +11:00
Oliver
eb5b810be0 Update displayed setting when API returns success 2021-11-09 21:29:31 +11:00
Oliver
5df4374607 javascript for editing settings via API 2021-11-09 21:16:37 +11:00
Oliver
324335a620 Convert to "native value" in the serializer 2021-11-09 17:43:36 +11:00
Oliver
4433befbdc Add list of 'choices' (read only) to serializer
- Check that the specified value is one of the valid options (if provided)
2021-11-09 17:21:59 +11:00
Oliver
07851f0b2c Include 'setting type' in API data 2021-11-09 17:07:41 +11:00
Oliver
0374c27d7c Adds "detail" view for user setting
- Users can only view / edit their own settings
2021-11-09 16:14:10 +11:00
Oliver
f3b4f7aa28 Add "detail" view for global settings objects
- Can view and edit (but not delete)
- User must have "staff" status to access
2021-11-09 16:07:25 +11:00
Oliver
cb583eb466 Add LIST endpoint for global settngs and user settings
- Read only, cannot create new settings
- User settings filters against the user making the request
2021-11-09 15:59:09 +11:00
Oliver
6c8f04b387
Merge pull request #2274 from SchrodingersGat/po-receive-fix
Add unit test to check an "empty" (null) barcode can be supplied
2021-11-09 12:38:56 +11:00
Oliver
30684685f9 Add unit test to check an "empty" (null) barcode can be supplied 2021-11-09 12:07:57 +11:00
Oliver
1520c296dd
Merge pull request #2270 from SchrodingersGat/navbar-fix
Fixes navbar menu positioning for smaller screens
2021-11-08 17:44:21 +11:00
Oliver
8fee117870
Merge pull request #2273 from SchrodingersGat/owner-filter
Adds search capability to "owner" API
2021-11-08 17:11:20 +11:00
Oliver
f1eaeef949 PEP fixes 2021-11-08 16:53:43 +11:00
Oliver
ca0619a482 Adds API filtering for the "user" list 2021-11-08 16:53:15 +11:00
Oliver
3d553cf7de Adds search capability to "owner" API
- Currently a bit of a hack, but it works...
2021-11-08 16:49:15 +11:00
Oliver
2c889fbcff
Merge pull request #2272 from SchrodingersGat/convert-to-variant-fix
Convert to variant fix
2021-11-08 15:56:45 +11:00
Oliver
619c029d3d
Merge pull request #2271 from SchrodingersGat/stock-actions-fix
Fix missing actions for stock item
2021-11-08 15:10:46 +11:00
Oliver
cb075ed2c2 Fix logic for converting stock items to applicable variants 2021-11-08 15:10:41 +11:00
Oliver
64f5007d3a Fix missing actions for stock item
(cherry picked from commit c128438ebf)
2021-11-08 14:50:03 +11:00
Oliver
c128438ebf Fix missing actions for stock item 2021-11-08 14:47:14 +11:00
Oliver
bcc086657a
Merge pull request #2269 from SchrodingersGat/bo-form
Improvements for build order forms
2021-11-08 14:28:34 +11:00
Oliver
35cfa387d1 Fixes navbar menu positioning for smaller screens 2021-11-08 13:38:03 +11:00
Oliver
b2ae346343 Provide model-level default function option 2021-11-08 13:30:59 +11:00
Oliver
8d5c3ab18a add extra icons for build order form 2021-11-08 13:10:33 +11:00
Oliver
9c2193a4cc
Merge pull request #2265 from matmair/matmair/issue2257
Matmair/issue2257
2021-11-08 11:10:53 +11:00
Oliver
a12baadc09
Merge pull request #2266 from SchrodingersGat/login-tweaks
Login tweaks
2021-11-08 10:19:23 +11:00
Oliver
96e8c499fc
Merge pull request #2262 from matmair/ui-tweaks
Small UI tweaks
2021-11-08 10:00:20 +11:00
Oliver
ac97edd18b JS linting 2021-11-08 09:58:55 +11:00
Oliver
c9924470ad Replace dialog messages with alerts 2021-11-08 09:44:45 +11:00
Oliver
ef75838ab8 Properly display notifications when logging in 2021-11-08 09:34:57 +11:00