Commit Graph

244 Commits

Author SHA1 Message Date
a77d4b97b4 Refactor stock_list endpoint to use the new mixin 2022-05-12 11:29:33 +10:00
1cefdfc2e4 PEP style fixes 2022-05-04 17:31:44 +10:00
adbcd68fe8 Refactor "uninstall stock item" form to use the API 2022-05-04 17:25:24 +10:00
de6507e918 update translation commands 2022-05-01 22:03:49 +02:00
67ab45bdee update depreciated paths 2022-05-01 22:00:18 +02:00
e75daec695 Merge branch 'inventree:master' into matmair/issue2694 2022-04-30 19:50:25 +02:00
0bda9c974e PEP fixes 2022-04-29 01:35:09 +10:00
e0189be5a6 Adds ability to filter StockItemTestresult API list by Build ID
- Allows us to retrieve stock item test results in a single API query
2022-04-29 01:19:36 +10:00
b3dca68c6b Merge branch 'inventree:master' into matmair/issue2694 2022-04-19 18:24:12 +02:00
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
5240c60e0b Render part information in stock item tracking table (if provided) 2022-04-19 13:14:54 +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
68a02af9cd finish renaming SO / PO 2022-03-27 01:41:16 +01:00
0ec0f55e17 Style fixes 2022-03-03 17:44:12 +11:00
549f16b7aa Adds "export" option to StockItem API endpoint, allowing export to file 2022-03-03 13:53:09 +11:00
ebd54045ec PEP fix 2022-02-20 04:40:18 +01:00
306725ef92 merge satement 2022-02-20 04:25:17 +01:00
3226a1906f Critical bug fix: Check if serial numbers already exist when creating new StockItem 2022-02-17 17:17:09 +11:00
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
22892565ed JS linting fixes 2022-01-28 08:28:52 +11:00
3127b1b34a Remove incorrect line 2022-01-27 13:48:16 +11:00
4a45ba3a44 Fix data mutability issues 2022-01-27 13:37:42 +11:00
d0aa09337a Simplify creation of serialized stock via the API
- Fixes atomicity issues
- Don't create-then-delete stock items
2022-01-27 12:08:50 +11:00
95ee4f908f Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append 2021-12-29 23:45:19 +01:00
2ec41b02f8 append information about next serial numbe to fnc call
Fixes #2484
2021-12-29 03:01:52 +01:00
f8ce23217e simplify call 2021-12-29 02:22:10 +01:00
fdf79065a9 Adds framework for API endpoint and serializer to merge stock items 2021-12-20 18:03:08 +11:00
9e16989c91 Add same breadcrumb tree for StockLocation and StockItem 2021-12-11 00:25:59 +11:00
e0d52843a4 Basic stock assignment serializer implementation 2021-12-08 23:42:27 +11:00
93a240d9c3 Remove the "scheduled_for_deletion" field from the StockItem model
Reverts back to the original behaviour - stock items are just deleted
2021-12-05 18:14:14 +11:00
123aab89bc Adds an "available" filter for stock item API 2021-12-02 21:40:03 +11:00
98bbee8159 Adds function to lookup stock item by serial number 2021-12-02 15:55:00 +11:00
d884e62be1 [FR] Confirm to W293
Fixes #2335
2021-11-23 00:28:23 +01:00
15a0d260f8 Handle case where user is not specified 2021-11-18 23:15:40 +11:00
bfb32f3bf6 Record the user information when creating or updating a stock item 2021-11-18 21:26:26 +11:00
25ce043337 Adjust ordering sequence for StockItem 2021-11-10 11:00:43 +11:00
85b906f49d Adds "stock" column sorting for stock table 2021-11-10 09:48:52 +11:00
78ac40083a Fixes for stock api unit tests
- Remove old unit tests
- Require quantity when creating a new stock item
2021-11-05 00:27:26 +11:00
b41dbba2b0 Correctly handle serialization of newly created stock 2021-11-04 23:18:59 +11:00
be7b224f14 Adds API endpoint for serialization of stock items 2021-11-03 10:12:42 +11:00
2b69d9c2af Correctly serialize stock when creating via the API 2021-11-03 07:41:47 +11:00
c2a8cfd183 PEP style fixes 2021-10-30 12:57:49 +11:00
4eea8c8193 Remove old tree classes 2021-10-30 00:18:41 +11:00
535d45bce4 Remove outdated Views / Forms 2021-10-06 20:19:29 +11:00
336b05aa4e Exclude sales order allocations when searching stock 2021-10-06 17:42:00 +11:00
758e402a66 PEP style fixes 2021-10-05 23:06:12 +11:00
102f886d81 All stock adjustment actions ported to new scheme
- Bumped API version too
2021-10-05 22:26:21 +11:00