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

1161 Commits

Author SHA1 Message Date
e0d3facfac Refactor sidebar for "stock item" page 2021-10-29 00:40:16 +11:00
2778ff55da Remove btn-default 2021-10-28 19:57:17 +11:00
f8ac016d60 replace labels with badges 2021-10-28 17:41:40 +11:00
05d350b6c8 Tweaks for settings pages 2021-10-28 12:38:33 +11:00
ae2c3e8293 remove "panel-inventree" references 2021-10-28 08:31:36 +11:00
8535dd7572 part category and stock location views 2021-10-27 23:53:41 +11:00
a21959f54d Refactor stock location view 2021-10-27 23:46:09 +11:00
840187f577 refactor stock item page 2021-10-27 23:35:59 +11:00
711b3ba923 remove "panel-default" 2021-10-27 23:08:15 +11:00
e178a2c370 Refactoring for "stock" pages 2021-10-27 21:50:18 +11:00
9df9aaa18f breadcrumbs 2021-10-27 20:17:37 +11:00
2d910022ac Fix for supplier price breaks
- Make "price" field an InvenTreeMoneySerializer instance
- Add client-side validation for number inputs
2021-10-26 01:55:41 +11:00
fb6f15f462 Delete a bunch of old template files 2021-10-17 22:57:15 +11:00
a97a918860 cut out the fat
(removing dead code for outdated form views)
2021-10-17 21:46:33 +11:00
9319113793 quick bug fix 2021-10-14 16:27:10 +11:00
0581885ad5 Simplify BOM table buttons 2021-10-14 00:26:34 +11:00
ab4c428031 Allow conversion of out-of-stock items 2021-10-11 11:31:23 +11:00
535d45bce4 Remove outdated Views / Forms 2021-10-06 20:19:29 +11:00
336b05aa4e Exclude sales order allocations when searching stock 2021-10-06 17:42:00 +11:00
95e7cc7a5d Fixes for unit tests 2021-10-06 08:56:24 +11:00
758e402a66 PEP style fixes 2021-10-05 23:06:12 +11:00
6fd1abb07a Remove unused view class 2021-10-05 22:58:28 +11:00
0a2a81582e Handle case where notes are not provided 2021-10-05 22:46:34 +11:00
102f886d81 All stock adjustment actions ported to new scheme
- Bumped API version too
2021-10-05 22:26:21 +11:00
f197d8b1da Adds a DRF serializer for stock adjustments
- Currently the "StockCount" action has been transferred
2021-10-05 22:04:17 +11:00
e39f1c320c Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements 2021-10-05 12:53:47 +11:00
a3ba33cae8 Fixes for build output tables
- Only show "completed" builds in the "completed builds" table (should be obvious)
- Display "serial number" appropriately in build output allocation table
2021-10-05 12:32:54 +11:00
563deb5ffa Add ability to specify "source location" for stock allocations
- Defaults to build.take_from
- User-selectable at run-time
- Selected value affects select2 query
2021-10-05 10:38:18 +11:00
ae0efe73d1 Further improvements to build allocation form
- Auto-allocation button ignores outputs which are complete
- StockItem API allows filtering by BomItem
- Quantity inputs are now auto-filled
- Display progress bar in the modal form
2021-10-05 08:25:10 +11:00
62e62af5fc PEP style fixes 2021-09-28 10:41:30 +10:00
d9704f4123 Add unit test for deleting stock items via the API 2021-09-28 10:41:03 +10:00
2d9ca7c1b6 Do not rebuild the entire StockItem tree every time a single StockItem is deleted! 2021-09-28 10:36:01 +10:00
16e00962f5 Override the "delete" behaviour for StockItem API
- Mark for deletion instead of calling database delete
- Returns (almost) instantly instead of hanging
- Much better UI experience when performing bulk delete operations
2021-09-28 10:14:25 +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