Oliver Walters
d535e4fa12
Add 'available_variant_stock' to BomItem serializer
...
- Note: This is definitely *not* the optimum solution here
2022-04-15 22:38:31 +10:00
Oliver
df2f7d195a
Merge pull request #2827 from SchrodingersGat/variant-stock
...
Allocation quantity functions include variants
2022-04-14 12:26:17 +10:00
Oliver
35aa5f25be
Allocation quantity functions include variants
...
- For calculation of total "available_stock", variants are included
- Update the allocation quantity functions to also include variants
- Otherwise, the calculations are "out of sync"
2022-04-14 11:54:30 +10:00
Oliver
bcbfc9c292
Show "can build" detail even for template parts
2022-04-14 11:40:22 +10:00
Oliver
93257d547c
Merge pull request #2806 from SchrodingersGat/bom-serializer-quantity
...
Bom serializer quantity
2022-04-13 07:43:25 +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
Oliver Walters
e1784c93b2
Simplification
2022-04-10 18:03:19 +10:00
Oliver Walters
641785a02b
Refactor into a monolithic js function
2022-04-10 17:53:09 +10:00
Oliver Walters
957494f483
Custom headings
2022-04-10 16:29:31 +10:00
Oliver Walters
241e2e35c0
Display part notes inline, and allow updating via API
2022-04-10 15:58:36 +10:00
Oliver Walters
82b8230a7e
Prune some dead code
2022-04-10 15:36:27 +10:00
Oliver Walters
b7937a4750
Add some more unit tests for BOM API endpoints
2022-04-09 19:22:12 +10:00
Oliver Walters
78ed5d9cc4
Some more API unit tests
2022-04-08 21:59:59 +10:00
Oliver Walters
8ab54c8e55
Add more unit tests
2022-04-08 21:39:41 +10:00
Matthias
3ffe51b4c3
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2385
2022-04-08 01:58:17 +02:00
Oliver Walters
be9648cbc7
Remove unused function which shadowed name of query annotation
2022-04-07 19:22:20 +10:00
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
Oliver Walters
eef768e01f
Merge remote-tracking branch 'inventree/master' into bom-serializer-quantity
2022-04-07 18:53:43 +10:00
Oliver Walters
ba81e6caf9
Style fixes
2022-04-07 18:50:10 +10:00
eeintech
ad366ef0bd
Fix part and po files import
2022-04-06 16:45:23 -04:00
Oliver Walters
dc2da4bcb9
BomItem API - improve annotation of available substitute stock quantity
2022-04-05 21:24:57 +10:00
Oliver Walters
30a4c38eb7
Ensure queryset is properly annotated for BomItem detail
2022-04-05 21:12:43 +10:00
Oliver Walters
e0acfe492b
Merge remote-tracking branch 'inventree/master' into bom-serializer-quantity
2022-04-05 19:49:06 +10:00
Matthias Mair
41b75e4928
Merge branch 'inventree:master' into matmair/issue2385
2022-04-05 02:05:05 +02:00
Matthias
347be2aa3a
fix test
2022-04-05 01:58:28 +02:00
Matthias
785cdc5267
patch loading methods for selective loading
2022-04-05 01:29:19 +02:00
Matthias
42f630cff1
fix tests
...
due to changes in the loading mechansim they need to be fethced now
2022-04-05 01:10:52 +02:00
Matthias
ad9d067033
typo fix
2022-04-05 01:08:35 +02:00
Matthias
1eb511e8a0
user notification settings
2022-04-04 23:46:19 +02:00
Oliver Walters
0908aa8c8c
Allow sorting of part table by unallocated_stock
2022-04-05 00:31:44 +10:00
Oliver Walters
e4ca638a2e
Add field for substitute_stock (work in progress)
2022-04-04 23:52:45 +10:00
Oliver Walters
c6ba104ae8
Condense into single "available_stock" field
2022-04-04 23:07:44 +10:00
Oliver Walters
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
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