Commit Graph

2260 Commits

Author SHA1 Message Date
Oliver Walters
e225d3b765 Fix action buttons in "part" table on category page 2022-04-07 19:09:43 +10:00
Oliver Walters
ed69f06620 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-04-07 18:54:00 +10:00
eeintech
ad366ef0bd Fix part and po files import 2022-04-06 16:45:23 -04:00
Oliver Walters
0908aa8c8c Allow sorting of part table by unallocated_stock 2022-04-05 00:31:44 +10:00
Kálmán Rózsahegyi
a9f7457c12 New part table filter on available stock 2022-04-03 12:30:53 +02:00
Oliver Walters
271cb3f8b1 Rebuild tree structure before running unit tests! 2022-04-02 13:26:39 +11:00
Oliver Walters
fb0b87db3d Further unit test fixes 2022-04-02 12:00:08 +11:00
Oliver Walters
0ab2ff306c Fix incorrect value for "available stock" 2022-04-02 11:13:43 +11:00
Oliver Walters
4593b0f412 Unit test fixes 2022-04-02 11:12:54 +11:00
Oliver Walters
484a0693d7 Check that the sales_order_allocations information is provided in the API endpoint 2022-04-02 10:25:38 +11:00
Oliver Walters
57be4b337d Check that new annotated fields exist in the API dataset 2022-04-02 09:55:37 +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
bf6a9b69ce Annotate with "unallocated_stock" quantity (calculated field) 2022-04-01 17:44:05 +11:00
Oliver Walters
94068f6bad Adds annotation for build order allocation count 2022-04-01 17:31:01 +11:00
Oliver Walters
4e100643f5 Add annotation for "allocated_to_sales_orders" 2022-04-01 17:24:15 +11:00
Oliver Walters
13af1cb853 Hide label printing buttons of labels are not enabled 2022-03-28 20:44:33 +11:00
Oliver
c1b408f8a3 Send notification if printing fails
If label printing fails (due to a plugin error) then the user is notified.
2022-03-25 15:57:32 +11:00
Oliver Walters
293294cce8 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-03-24 20:54:38 +11:00
Oliver
31b71fe29f Catch error when incorrect date format string is passed 2022-03-24 11:56:39 +11:00
Oliver
b720c2e431 Check for empty string when rendering dates 2022-03-24 11:49:34 +11:00
Oliver Walters
4fc605ee28 Render a form for ordering parts 2022-03-23 21:26:11 +11:00
Matthias
028fff1473
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-03-20 00:23:29 +01:00
Oliver Walters
c103f0c100 Do not generate parameter data on the server side when rendering part category templates 2022-03-19 22:14:18 +11:00
Oliver Walters
81d5ff8f79 Adds ability to list part parameters via the Part API 2022-03-19 21:56:57 +11:00
Oliver Walters
62d01cdbab Adds filtering options to PartParameterTemplate endpoint
- Allows filtering by part
- Allows filtering by category
2022-03-19 21:31:28 +11:00
Oliver Walters
c3ea94827b Load stock location pages "on demand" 2022-03-19 07:50:37 +11:00
Oliver Walters
52a0665e32 load category tables "Just in time" 2022-03-18 23:28:46 +11:00
Oliver
277f9451a1
Merge pull request #2759 from matmair/matmair/issue2756
[BUG] ValueError on Part page
2022-03-18 11:12:10 +11:00
Matthias
927f7bbdad
only render it as a date 2022-03-18 00:05:12 +01:00
Matthias
771f6de93a
[BUG] ValueError on Part page
Fixes #2756
2022-03-17 23:56:48 +01:00
Oliver
219fd1da41 Template fixes for part sidebar display 2022-03-16 23:39:21 +11:00
Oliver
c447fb2c1c Improve stock overview display on part page 2022-03-16 23:36:44 +11:00
Oliver
4a381c7474 Part allocation query improvements 2022-03-16 23:28:30 +11:00
Oliver
c49cd52df7 style fix 2022-03-16 23:27:39 +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
Oliver
e691536a84 Remove redundant table on Part page 2022-03-16 23:13:29 +11:00
Oliver
529acb3bf6 Fix queries for displaying sales order allocation quantities 2022-03-16 22:57:30 +11:00
Matthias Mair
4100834ce9
Merge branch 'inventree:master' into matmair/issue2279 2022-03-14 23:14:29 +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
Oliver
d5fe62262d Refactor "delete part category" dialog
- Translations
- Simplification
2022-03-10 12:51:49 +11:00
Matthias Mair
0a9e85e801
Merge branch 'inventree:master' into matmair/issue2279 2022-03-08 21:26:05 +01:00
Oliver
f7d724aa0c Merge remote-tracking branch 'inventree/master' into scheduling
# Conflicts:
#	InvenTree/InvenTree/version.py

(Update API version)
2022-03-08 12:25:36 +11:00
Matthias Mair
2c8e7ac810
Merge branch 'inventree:master' into matmair/issue2279 2022-03-07 00:03:47 +01:00
Matthias
4e832bb9ac
make sure 'no date' elements do not fail 2022-03-07 00:01:30 +01:00
Oliver
434f563a41 Adds API endpoint for "auto allocating" stock items against a build order.
- If stock exists in multiple locations, and the user "does not care" where to take from, simply iterate through and take
2022-03-04 15:26:00 +11:00
Matthias Mair
6071f6545b
Merge branch 'inventree:master' into matmair/issue2279 2022-03-03 23:55:04 +01:00
Oliver
99f3d97f13
Merge pull request #2709 from SchrodingersGat/stock-exporter
Stock export refactor
2022-03-04 00:26:49 +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