2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00
Commit Graph

2618 Commits

Author SHA1 Message Date
30a4c38eb7 Ensure queryset is properly annotated for BomItem detail 2022-04-05 21:12:43 +10:00
e0acfe492b Merge remote-tracking branch 'inventree/master' into bom-serializer-quantity 2022-04-05 19:49:06 +10:00
41b75e4928 Merge branch 'inventree:master' into matmair/issue2385 2022-04-05 02:05:05 +02:00
347be2aa3a fix test 2022-04-05 01:58:28 +02:00
785cdc5267 patch loading methods for selective loading 2022-04-05 01:29:19 +02:00
42f630cff1 fix tests
due to changes in the loading mechansim they need to be fethced now
2022-04-05 01:10:52 +02:00
ad9d067033 typo fix 2022-04-05 01:08:35 +02:00
1eb511e8a0 user notification settings 2022-04-04 23:46:19 +02:00
0908aa8c8c Allow sorting of part table by unallocated_stock 2022-04-05 00:31:44 +10:00
e4ca638a2e Add field for substitute_stock (work in progress) 2022-04-04 23:52:45 +10:00
c6ba104ae8 Condense into single "available_stock" field 2022-04-04 23:07:44 +10:00
f6664b2477 Add annotated fields to BomItem API:
- total-stock / allocated_to_build_orders / allocated_to_sales_orders
2022-04-04 22:50:13 +10:00
a9f7457c12 New part table filter on available stock 2022-04-03 12:30:53 +02:00
271cb3f8b1 Rebuild tree structure before running unit tests! 2022-04-02 13:26:39 +11:00
fb0b87db3d Further unit test fixes 2022-04-02 12:00:08 +11:00
0ab2ff306c Fix incorrect value for "available stock" 2022-04-02 11:13:43 +11:00
4593b0f412 Unit test fixes 2022-04-02 11:12:54 +11:00
484a0693d7 Check that the sales_order_allocations information is provided in the API endpoint 2022-04-02 10:25:38 +11:00
57be4b337d Check that new annotated fields exist in the API dataset 2022-04-02 09:55:37 +11:00
f9a0bf822e Add more fixture data
- Stock items for part 100 (Bob)
2022-04-02 09:54:55 +11:00
bf6a9b69ce Annotate with "unallocated_stock" quantity (calculated field) 2022-04-01 17:44:05 +11:00
94068f6bad Adds annotation for build order allocation count 2022-04-01 17:31:01 +11:00
4e100643f5 Add annotation for "allocated_to_sales_orders" 2022-04-01 17:24:15 +11:00
13af1cb853 Hide label printing buttons of labels are not enabled 2022-03-28 20:44:33 +11:00
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
293294cce8 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-03-24 20:54:38 +11:00
31b71fe29f Catch error when incorrect date format string is passed 2022-03-24 11:56:39 +11:00
b720c2e431 Check for empty string when rendering dates 2022-03-24 11:49:34 +11:00
4fc605ee28 Render a form for ordering parts 2022-03-23 21:26:11 +11:00
028fff1473 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-03-20 00:23:29 +01:00
c103f0c100 Do not generate parameter data on the server side when rendering part category templates 2022-03-19 22:14:18 +11:00
81d5ff8f79 Adds ability to list part parameters via the Part API 2022-03-19 21:56:57 +11:00
62d01cdbab Adds filtering options to PartParameterTemplate endpoint
- Allows filtering by part
- Allows filtering by category
2022-03-19 21:31:28 +11:00
c3ea94827b Load stock location pages "on demand" 2022-03-19 07:50:37 +11:00
52a0665e32 load category tables "Just in time" 2022-03-18 23:28:46 +11:00
277f9451a1 Merge pull request #2759 from matmair/matmair/issue2756
[BUG] ValueError on Part page
2022-03-18 11:12:10 +11:00
927f7bbdad only render it as a date 2022-03-18 00:05:12 +01:00
771f6de93a [BUG] ValueError on Part page
Fixes #2756
2022-03-17 23:56:48 +01:00
219fd1da41 Template fixes for part sidebar display 2022-03-16 23:39:21 +11:00
c447fb2c1c Improve stock overview display on part page 2022-03-16 23:36:44 +11:00
4a381c7474 Part allocation query improvements 2022-03-16 23:28:30 +11:00
c49cd52df7 style fix 2022-03-16 23:27:39 +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
e691536a84 Remove redundant table on Part page 2022-03-16 23:13:29 +11:00
529acb3bf6 Fix queries for displaying sales order allocation quantities 2022-03-16 22:57:30 +11:00
4100834ce9 Merge branch 'inventree:master' into matmair/issue2279 2022-03-14 23:14:29 +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
d5fe62262d Refactor "delete part category" dialog
- Translations
- Simplification
2022-03-10 12:51:49 +11:00
0a9e85e801 Merge branch 'inventree:master' into matmair/issue2279 2022-03-08 21:26:05 +01:00