2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-06 15:28:49 +00:00

1568 Commits

Author SHA1 Message Date
Oliver Walters
06e79ee91b Move view mixin to plugin.views 2022-05-07 22:34:03 +10:00
Oliver Walters
60f799c90a Add plugin view support for most of the remaining views 2022-05-06 23:32:42 +10:00
Oliver
1dee578907
Merge pull request #2931 from SchrodingersGat/more-api-functionality
Converting more forms to the API
2022-05-04 23:24:28 +10:00
Oliver Walters
82541ede32 More unit tests
- BuildOrderCancel
- StockItemInstall
- StockItemUninstall
2022-05-04 22:49:21 +10:00
Oliver Walters
1cefdfc2e4 PEP style fixes 2022-05-04 17:31:44 +10:00
Oliver Walters
adbcd68fe8 Refactor "uninstall stock item" form to use the API 2022-05-04 17:25:24 +10:00
Oliver Walters
5cf30a850d Prune a lot of dead code 2022-05-04 17:01:19 +10:00
Matthias
e7b189ba29
fix templates 2022-05-02 22:41:24 +02:00
Matthias
de6507e918
update translation commands 2022-05-01 22:03:49 +02:00
Matthias
67ab45bdee
update depreciated paths 2022-05-01 22:00:18 +02:00
Matthias
d05472b30c
upgrade to pyhton 3.9 syntax
using pyupgrade
2022-05-01 21:53:12 +02:00
Matthias Mair
e75daec695
Merge branch 'inventree:master' into matmair/issue2694 2022-04-30 19:50:25 +02:00
Oliver Walters
0bda9c974e PEP fixes 2022-04-29 01:35:09 +10:00
Oliver Walters
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
Matthias Mair
dfd51174cb
Merge branch 'inventree:master' into matmair/issue2694 2022-04-27 17:48:19 +02:00
Oliver Walters
24da5d41b8 Add migration file 2022-04-26 20:21:15 +10:00
Oliver Walters
314cec5ad0 Generate default batch code for stock items 2022-04-26 20:18:33 +10:00
Matthias Mair
b118890676
Merge branch 'inventree:master' into matmair/issue2694 2022-04-23 21:30:01 +02:00
Oliver Walters
292d28d378 Account for cases where serial number could be an integer! 2022-04-22 01:00:02 +10:00
Oliver Walters
9a9ed5f192 Fix validation of duplicate IPN
- Duplicate IPN check does not apply if an empty IPN value is set
- Note that "if x" is a more pythonic test than "if x not in [None, '']"
2022-04-22 00:36:30 +10:00
Matthias Mair
b3dca68c6b
Merge branch 'inventree:master' into matmair/issue2694 2022-04-19 18:24:12 +02:00
Oliver Walters
5fe2fb615b Style fixes 2022-04-19 20:41:08 +10:00
Oliver Walters
cffeb62bd1 Bug fix for StockItem.clean() 2022-04-19 20:28:13 +10:00
Oliver Walters
141f6ccbdf Increase unit testing for StockItem API 2022-04-19 20:10:07 +10:00
Oliver Walters
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
Oliver
5f503c7e0f PEP fxies 2022-04-19 13:16:45 +10:00
Oliver
5240c60e0b Render part information in stock item tracking table (if provided) 2022-04-19 13:14:54 +10:00
Oliver
48170ee096 Update stock item variant conversion form to use new function 2022-04-19 13:04:17 +10:00
Oliver
87de7e4beb Adds "convert_to_variant" function for the StockItem model 2022-04-19 12:52:36 +10:00
Oliver Walters
1cddb565da PEP fixes 2022-04-18 23:20:59 +10:00
Oliver Walters
33401cb207 Adds ability to filter stockitem list by "has_batch" parmeter 2022-04-18 22:34:00 +10:00
Oliver
688f53fdb1 Bump API version number 2022-04-14 12:52:09 +10:00
Oliver
dfa3bbf655 Add ability to include test results from "installed items" in table 2022-04-14 12:49:27 +10:00
Oliver Walters
c7257a1bd3 build order 2022-04-10 20:03:40 +10:00
Oliver Walters
df9c5c0048 Refactor notes editing for "StockItem" 2022-04-10 18:08:09 +10:00
Matthias Mair
4ab27e5f3c
Merge branch 'inventree:master' into matmair/issue2694 2022-04-05 02:03:40 +02:00
Oliver
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
Oliver Walters
fb0b87db3d Further unit test fixes 2022-04-02 12:00:08 +11:00
Oliver Walters
4593b0f412 Unit test fixes 2022-04-02 11:12:54 +11:00
Oliver Walters
f9a0bf822e Add more fixture data
- Stock items for part 100 (Bob)
2022-04-02 09:54:55 +11:00
Oliver Walters
13af1cb853 Hide label printing buttons of labels are not enabled 2022-03-28 20:44:33 +11:00
Matthias
68a02af9cd
finish renaming SO / PO 2022-03-27 01:41:16 +01:00
Oliver Walters
7db4e5c6c7 Fix table toolbar for stock item allocations 2022-03-20 09:15:08 +11:00
Oliver Walters
c3ea94827b Load stock location pages "on demand" 2022-03-19 07:50:37 +11:00
Oliver
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
Matthias
bd2b279390
add coverage to barcode api 2022-03-13 19:38:57 +01:00
Matthias
a68ee5ce0b
fix API assertations 2022-03-12 03:52:50 +01:00
Matthias
d8c20894ce
add uid to stockitem 2022-03-12 03:10:24 +01:00
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