2315d0cb5d
Adds ability to filter stock item tables by "tracked" status
...
- Also fixes some slight errors in the API filtering logic
2022-04-19 18:13:48 +10:00
5f503c7e0f
PEP fxies
2022-04-19 13:16:45 +10:00
5240c60e0b
Render part information in stock item tracking table (if provided)
2022-04-19 13:14:54 +10:00
48170ee096
Update stock item variant conversion form to use new function
2022-04-19 13:04:17 +10:00
87de7e4beb
Adds "convert_to_variant" function for the StockItem model
2022-04-19 12:52:36 +10:00
1cddb565da
PEP fixes
2022-04-18 23:20:59 +10:00
33401cb207
Adds ability to filter stockitem list by "has_batch" parmeter
2022-04-18 22:34:00 +10:00
688f53fdb1
Bump API version number
2022-04-14 12:52:09 +10:00
dfa3bbf655
Add ability to include test results from "installed items" in table
2022-04-14 12:49:27 +10:00
c7257a1bd3
build order
2022-04-10 20:03:40 +10:00
df9c5c0048
Refactor notes editing for "StockItem"
2022-04-10 18:08:09 +10:00
4ab27e5f3c
Merge branch 'inventree:master' into matmair/issue2694
2022-04-05 02:03:40 +02:00
7dae05acc5
Fix for scanItemsIntoLocation function
...
- Accept list of objects rather than pk values
- Conform to API requirements
2022-04-04 16:20:19 +10:00
fb0b87db3d
Further unit test fixes
2022-04-02 12:00:08 +11:00
4593b0f412
Unit test fixes
2022-04-02 11:12:54 +11:00
f9a0bf822e
Add more fixture data
...
- Stock items for part 100 (Bob)
2022-04-02 09:54:55 +11:00
13af1cb853
Hide label printing buttons of labels are not enabled
2022-03-28 20:44:33 +11:00
68a02af9cd
finish renaming SO / PO
2022-03-27 01:41:16 +01:00
7db4e5c6c7
Fix table toolbar for stock item allocations
2022-03-20 09:15:08 +11:00
c3ea94827b
Load stock location pages "on demand"
2022-03-19 07:50:37 +11:00
e2179fb4d1
Fixes for display of allocation tables (build order and / or sales order)
...
- Hide these tables where they do not make sense for a given Part or StockItem
- Remove redundant "loadStockAllocationTable" function
2022-03-16 23:25:51 +11:00
bd2b279390
add coverage to barcode api
2022-03-13 19:38:57 +01:00
a68ee5ce0b
fix API assertations
2022-03-12 03:52:50 +01:00
d8c20894ce
add uid to stockitem
2022-03-12 03:10:24 +01:00
266e5555c5
Add unit testing for PartCategory tree updates
2022-03-10 15:33:29 +11:00
82840b0590
Adds custom delete routine for PartCategory model
2022-03-10 15:01:20 +11:00
24af134a87
Fix behaviour when deleting a StockLocation
...
Adds unit tests
2022-03-10 14:56:44 +11:00
9bc686b76f
Refactor "delete stock location" dialog
...
- Simplify dialog
- Make text translatable
2022-03-10 12:44:57 +11:00
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
6fcc9ec8f0
Unit test fixes
2022-03-07 15:01:15 +11:00
ac512cb8bb
Add test for very large serial number
2022-03-07 14:52:31 +11:00
0adf89e793
Add unit tests for serial number functionality
2022-03-07 14:07:01 +11:00
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
776138f2e2
Merge pull request #2713 from SchrodingersGat/auto-allocate
...
Adds "Auto allocate" feature for build orders
2022-03-07 09:32:49 +11:00
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
4bb7c65d8a
Template fix
2022-03-04 17:42:37 +11:00
0ba71956cd
Add unit tests
2022-03-04 00:02:30 +11:00
ba406a4da9
Refactorin'
...
- Add the "download" button into the "filters" list
- Cuts down on boilerplate code
2022-03-03 21:16:27 +11:00
0ec0f55e17
Style fixes
2022-03-03 17:44:12 +11:00
10cc72910d
Remove StockExport view (no longer required!)
2022-03-03 17:25:41 +11:00
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
549f16b7aa
Adds "export" option to StockItem API endpoint, allowing export to file
2022-03-03 13:53:09 +11:00
f6b3760bb5
Make UI elements more consistent
...
Ref: https://github.com/inventree/InvenTree/issues/2692
2022-03-02 00:05:02 +11:00
aeb9dfe371
Allows deletion of serialized stock
2022-03-01 23:58:30 +11:00
b00ae67d68
Pass dates in templates through the new template tag
2022-02-28 19:10:33 +11:00
65e4ee5793
PEP style fixes
2022-02-25 23:01:02 +11:00
7c26d8f71d
Refactor ownership for StockItem model
2022-02-25 22:58:00 +11:00
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
0da5957c50
template fix
2022-02-25 21:23:20 +11:00
6bdac076d7
Adds a checkmark to indicate that a stock item has passed all required tests
2022-02-25 16:03:44 +11:00