Oliver
266e5555c5
Add unit testing for PartCategory tree updates
2022-03-10 15:33:29 +11:00
Oliver
82840b0590
Adds custom delete routine for PartCategory model
2022-03-10 15:01:20 +11:00
Oliver
24af134a87
Fix behaviour when deleting a StockLocation
...
Adds unit tests
2022-03-10 14:56:44 +11:00
Oliver
9bc686b76f
Refactor "delete stock location" dialog
...
- Simplify dialog
- Make text translatable
2022-03-10 12:44:57 +11:00
Oliver
d56fed3211
Fixes for "duplicate stock item" form
...
- Redirect to the new stock item
- Display a success message
2022-03-09 10:34:47 +11:00
Oliver
6fcc9ec8f0
Unit test fixes
2022-03-07 15:01:15 +11:00
Oliver
ac512cb8bb
Add test for very large serial number
2022-03-07 14:52:31 +11:00
Oliver
0adf89e793
Add unit tests for serial number functionality
2022-03-07 14:07:01 +11:00
Oliver
2f3f57148a
Refactor previous code for looking up "previous" and "next" serial numbers
...
- Old way was extremely inefficient, especially when large spaces existed between serial numbers
- New method reduces O(n) to O(1)
2022-03-07 13:47:38 +11:00
Oliver
776138f2e2
Merge pull request #2713 from SchrodingersGat/auto-allocate
...
Adds "Auto allocate" feature for build orders
2022-03-07 09:32:49 +11:00
Oliver Walters
89f2317e1c
Bug fix for stock serial numbers:
...
- empty strings do not count as a valid serial number
2022-03-06 22:18:31 +11:00
Oliver
4bb7c65d8a
Template fix
2022-03-04 17:42:37 +11:00
Oliver
0ba71956cd
Add unit tests
2022-03-04 00:02:30 +11:00
Oliver
ba406a4da9
Refactorin'
...
- Add the "download" button into the "filters" list
- Cuts down on boilerplate code
2022-03-03 21:16:27 +11:00
Oliver
0ec0f55e17
Style fixes
2022-03-03 17:44:12 +11:00
Oliver
10cc72910d
Remove StockExport view (no longer required!)
2022-03-03 17:25:41 +11:00
Oliver
6b7a0fde1b
Store table query parameters when performing a bootstrap-table query
...
- For now it only supports .csv format
2022-03-03 17:17:27 +11:00
Oliver
549f16b7aa
Adds "export" option to StockItem API endpoint, allowing export to file
2022-03-03 13:53:09 +11:00
Oliver
f6b3760bb5
Make UI elements more consistent
...
Ref: https://github.com/inventree/InvenTree/issues/2692
2022-03-02 00:05:02 +11:00
Oliver
aeb9dfe371
Allows deletion of serialized stock
2022-03-01 23:58:30 +11:00
Oliver
b00ae67d68
Pass dates in templates through the new template tag
2022-02-28 19:10:33 +11:00
Oliver
65e4ee5793
PEP style fixes
2022-02-25 23:01:02 +11:00
Oliver
7c26d8f71d
Refactor ownership for StockItem model
2022-02-25 22:58:00 +11:00
Oliver
d6764573c3
Refactor "ownership" concepts in templates
...
- Template code was very messy
- Makes it a lot "simpler"
- Adds convenience functions to the StockLocation model
- Adds pre-calculated data to the template
- Display ownership information on the stocklocation page
2022-02-25 22:45:24 +11:00
Oliver Walters
0da5957c50
template fix
2022-02-25 21:23:20 +11:00
Oliver
6bdac076d7
Adds a checkmark to indicate that a stock item has passed all required tests
2022-02-25 16:03:44 +11:00
Oliver
fea6091e42
Fix incorrect inputs
2022-02-25 15:57:30 +11:00
Oliver
ef9c6e9fe0
Bug fix
2022-02-25 15:56:40 +11:00
Oliver
9e3406efc9
Add stock tracking code to indicate stock has been consumed by a build order
2022-02-25 15:56:09 +11:00
Matthias
ebd54045ec
PEP fix
2022-02-20 04:40:18 +01:00
Matthias
306725ef92
merge satement
2022-02-20 04:25:17 +01:00
Matthias
1ff6988ffd
remove unneeded assignment
2022-02-20 04:24:13 +01:00
Oliver
3226a1906f
Critical bug fix: Check if serial numbers already exist when creating new StockItem
2022-02-17 17:17:09 +11:00
Oliver
f485bc7d53
PEP fixes
2022-02-17 17:04:51 +11:00
Oliver
0604e1a127
Adds API endpoint for installing stock items into other stock items
...
- Requires more filtering for the Part API
- Adds more BOM related functionality for Part model
- Removes old server-side form
2022-02-17 17:03:17 +11:00
Oliver
578c161d4f
Adds information on test result being deleted
2022-02-17 13:36:00 +11:00
Oliver
f6f512c40b
Fix breadcrumb tree for stock item page
2022-02-16 22:22:04 +11:00
Oliver
0f0325daba
Adds a button to quickly "pass" a test
2022-02-16 17:16:17 +11:00
Matthias
dbb4c3f407
Merge branch 'master' of https://github.com/inventree/InvenTree into coverage-fixes
2022-02-13 17:46:09 +01:00
Matthias
0ad3b5bcba
ignore coverage in exsisting migrations
2022-02-13 17:45:46 +01:00
Matthias
491bb0b28f
fix import
2022-02-13 05:34:06 +01:00
Matthias
12a5b6b148
remove dead code
2022-02-13 05:11:47 +01:00
Matthias
021faf4c1f
move up comment so unneeded functions are not not covered
2022-02-13 05:11:14 +01:00
Matthias
c84be228f1
remove dead code
2022-02-13 05:08:37 +01:00
Matthias
3ed836f19d
ignore branches
2022-02-13 04:43:18 +01:00
Matthias
5d277a888d
ignore migration
2022-02-13 04:41:44 +01:00
Matthias Mair
975c81ccfe
Merge branch 'inventree:master' into fix-html-tags
2022-02-12 00:32:26 +01:00
Oliver
ea1f1b398e
Prevent AttributeError from being thrown
...
Ref: https://github.com/inventree/InvenTree/issues/2587
2022-02-02 12:40:10 +11:00
Oliver
22892565ed
JS linting fixes
2022-01-28 08:28:52 +11:00
Oliver
0ea0edf1bb
Merge pull request #2574 from SchrodingersGat/allocation-tab
...
Allocation tab
2022-01-27 15:58:41 +11:00