2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00
Commit Graph

1129 Commits

Author SHA1 Message Date
79686ebb2a Merge pull request #2082 from SchrodingersGat/stock-item-delete
Override the "delete" behaviour for StockItem API

(cherry picked from commit 344383d3d4)
2021-09-28 10:57:43 +10:00
ecc7bd2d5b Unit test fixes 2021-09-07 22:27:39 +10:00
5ab4be7025 Unit test fixes 2021-09-07 17:36:53 +10:00
918106c225 Adds a background task to remove StockItem objects which are scheduled for deletion 2021-09-07 16:45:58 +10:00
7d3cd03d6c Add "scheduled_for_deletion" field to StockItem
- If set to True, this StockItem will be deleted (soon) by the background worker
- As deletion takes significant time, this prevents delete operations from blocking the UI
2021-09-07 16:28:57 +10:00
0ebc45e834 replace i html tags 2021-09-02 00:18:47 +02:00
6a420fd95c replace bold tags 2021-09-02 00:17:12 +02:00
610c05384b Merge pull request #2020 from SchrodingersGat/mpn-sorting-fix
Mpn sorting fix
2021-08-26 22:06:06 +10:00
bad246bca6 Fixes for ordering of stock table 2021-08-26 08:24:31 +10:00
9c9407b1ab Add unit test for catching bug
- Turns out that in an image was uploaded with more than ~2000 vertical pixels it would crash
- Smaller images worked fine?
2021-08-25 14:48:45 +10:00
bb8b85c375 Separate purchase_price and purchase_price_currency for StockItem serializer
- Add "purchase_price_string" for a read-only stringified representation
- Unit testing
2021-08-23 21:44:12 +10:00
23b2b56de4 StockItemAttachment 2021-08-16 10:56:00 +10:00
c564896355 Localization of item.quantity removed
Localization of quantity for different cultures(turkish in my case) using comma(,) instead of dot(.) leads syntax error in javascript code and prevents stock item history to load.
2021-08-09 12:11:53 +03:00
69f242d11d Merge pull request #1892 from eeintech/stock_installed_items
Re-enabled installing stock items into others
2021-08-04 09:01:28 +10:00
172a08fbba Removed old quantity setting lines 2021-08-03 09:53:08 -04:00
f057937df0 Fix for non-integer serial numbers 2021-08-03 09:46:28 +10:00
1c4924a4a5 Style duh 2021-08-02 15:14:55 -04:00
ac3dcac641 Re-enabled installing stock items into others 2021-08-02 15:05:24 -04:00
e9be3fb4ec Redirect to stock index if stock item is completely depleted 2021-07-27 11:11:30 -04:00
4ee0004c97 Filtering for Build and StockItem 2021-07-21 21:34:16 +10:00
9cf372f633 PEP fixes 2021-07-21 21:24:18 +10:00
85a40ec418 Tree exclusion for PartCategory and StockLocation 2021-07-21 21:23:30 +10:00
140396ccdd Merge pull request #1854 from SchrodingersGat/url-unit-test
Add unit test for validation of reverse url lookup
2021-07-21 11:09:10 +10:00
893628d1b8 URL fixes 2021-07-21 10:52:14 +10:00
598ea11211 Add manager class for StockItem 2021-07-21 09:28:58 +10:00
4413699844 PEP fixes 2021-07-19 17:23:51 +10:00
efb4f194b6 Refactor StockExportOptions form 2021-07-19 17:23:18 +10:00
753fe9c80f Ordering and rendering for StockLocation 2021-07-18 21:15:51 +10:00
533a3aa368 Refactor StockItem pages 2021-07-15 22:19:13 +10:00
b1640fcc23 Refactor StockLocation pages 2021-07-15 21:38:05 +10:00
2d2ad91545 Move "stock" part view 2021-07-15 12:52:36 +10:00
0cb2b49333 Remove unused forms 2021-07-12 22:23:08 +10:00
bd8b52d7d2 Merge pull request #1804 from SchrodingersGat/api-stock-adjustments
Api stock adjustments
2021-07-12 22:16:56 +10:00
30fd3c8841 Unit test fixes 2021-07-12 22:03:36 +10:00
77cfadad42 Add 'title' option for contsructed fields 2021-07-12 21:11:29 +10:00
52eedef820 remove old StockAdjust view 2021-07-12 21:03:28 +10:00
e9bf4b4cef Add some more functionality to StockLocation page 2021-07-12 20:53:36 +10:00
2ea4824030 Add option to move stock for a part 2021-07-12 20:45:45 +10:00
9fc7976569 Refactor all "adjustment" forms to use the new API approach 2021-07-12 20:38:54 +10:00
2bebf2d41a Test fixes 2021-07-12 20:00:50 +10:00
11ee8e8369 Raise error if specified quantity is above available quantity 2021-07-12 19:59:10 +10:00
51314a0261 Refactor error messaging for stock adjustment API 2021-07-12 19:41:50 +10:00
e04828214a Refactor showApiError() function 2021-07-12 19:20:29 +10:00
e3f85414fa Stock API URL cleanup 2021-07-12 17:32:06 +10:00
c045a3b6f6 Refactorin' 2021-07-11 20:36:52 +10:00
03fb6e5c61 support leading zeros in serial numbers 2021-07-10 17:54:17 +02:00
cbd291849c More unit test fixes 2021-07-09 01:49:17 +10:00
a985e11aa8 Simplify and add filters for StockList API endpoint 2021-07-08 20:10:22 +10:00
c7f79a5a08 Fixes 2021-07-08 19:23:01 +10:00
79d90b1c4a Additional filtering options for name and IPN fields 2021-07-08 17:46:57 +10:00