2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-04 00:08:53 +00:00

105 Commits

Author SHA1 Message Date
Oliver
19ff6eb526
Stock item serial number functionality (#199)
* Stock item serial number functionality

- Allow serial numbers to be specified when creating a new stock item
- Allow serial number to be edited from stock item context

* Update build number and release notes
2022-08-02 13:34:15 +10:00
Oliver
13ebaf43e1
List refactor (#179)
* Catch paginator bug if widget is disposed before request returns

* Refactoring paginated query widget

- Add option to enable / disable search filters

* Major refactor of paginated search widget

- Learned something new.. a state can access widget.<attribute>
- THIS CHANGES EVERTHING

* Preferences: Add code for tri-state values

- Also improve unit testing for preferences code

* Allow boolean form fields to be optionally tristate

* paginator: Allow custom boolean filters

* Remove outdated filtering preferences

* Refactor filter options

- Allow specification of more detailed options

* Add custom filters for "part" list

* filter tweaks

* Remove legacy "SublocationList" widget

* Add filtering option for locationlist

* Updates for stock location widget

* Refactor category display widget

* More widget refactoring

* Update main search widget

* Fix unit tests

* Improve filtering on BOM display page
2022-07-19 23:29:01 +10:00
Oliver
aa274b2e45
Stock location scan (#169)
* Add action for scanning a stock location into another location

* Adds barcode scan handler for new functionality

* Handle scanning of stock location

* Cleanup

* Refactor existing barcode scanning functions

- Will require extensive testing and validation

* Add entry to release notes

* Delete dead code

* Improved ordering based on stock quantity

* Bug fix for 'adjustStock' function

* Improve error responses for barcode scanning

* Improve error responses for barcode scanning

* Remove old debug statements

* Add some extra explanatory texts

* Icon change

* Fixes for unit tests

* Adds extra functionality for user profile manager

* Refactor barcode code - do not rely on BuildContext

* Adds initial unit testing for barcode scanning

- Work on mocking barcode data
- Add hooks for testing snackBar and audio files

* Linting fixes

* More barcode unit tests

* Cleanup unit tests for barcode

* Remove unused import

* Handle HTTPException in API

* Improvements for API unit testing

* Unit testing for scanning item into location

* Add unit test for scanning in items from a location context

* Unit test for scanning location into parent location

* Improve feedback for barcode scanning events
2022-07-18 22:10:00 +10:00
Oliver Walters
591c6a5592 Update stock display to indicate allocations 2022-07-05 18:38:28 +10:00
Oliver Walters
ada64f3971 Adds attachment support for the StockItem model 2022-06-04 00:23:10 +10:00
Oliver Walters
aa4317a2fe Add support for "quarantined" stock item status 2022-06-03 19:51:08 +10:00
Oliver Walters
850c2b8c12 Remove support for legacy stock transfer API code
- Relies on modern API now
- Checks for error messages against hidden fields in stock items
2022-05-22 15:59:19 +10:00
Oliver Walters
b98f044204 More checks 2022-05-22 09:56:22 +10:00
Oliver Walters
020f006410 Adds ability to "dismiss" a notification 2022-05-04 11:21:52 +10:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver Walters
139b166a5e bug fix 2022-03-28 21:54:53 +11:00
Oliver Walters
5c0ffe795c Fixes 2022-03-28 21:48:23 +11:00
Oliver Walters
43faec8b21 Display history 2022-03-28 21:23:56 +11:00
Oliver Walters
fd8fc9051a Show if stock item is "in production" 2022-03-26 18:58:59 +11:00
Oliver
518295f7cb Remove debug print 2022-01-09 08:00:22 +11:00
Oliver
ed5764336f Further fixes for adjustStock function 2022-01-09 07:59:13 +11:00
Oliver
5d0ffa059d Refactor stock adjustment functions
- Provide compatibility with "modern" and "legacy" API versions
2022-01-08 23:05:45 +11:00
Oliver
ba41ebde73 Add support for "modern" stock actions via the API
- In the future, will have to deprecate support for the old ways
- Probably v0.6.x?
2021-10-05 22:45:47 +11:00
Oliver
581d182464 Refactor StockList 2021-10-04 00:14:12 +11:00
Oliver
38e4735f77 Add a custom "back" button to refreshable state
- Long press to return to the "home" screen
2021-10-03 11:06:27 +11:00
Oliver
9eaf4a09da Linting fixes 2021-10-03 01:36:46 +10:00
Oliver
65180c7b2f Receive stock against purchase order line items 2021-10-03 01:33:16 +10:00
Oliver
2886f7c930 Display non-field errors as returned from the server 2021-10-03 01:20:37 +10:00
Oliver
be36811cb3 More linting again 2021-09-28 21:34:11 +10:00
Oliver
77bac9af36 Yet more linting 2021-09-28 20:35:19 +10:00
Oliver
ad0cc36540 More linting work 2021-09-28 20:24:55 +10:00
Oliver
c1152ee286 Fixes for type casting 2021-09-28 17:53:14 +10:00
Oliver
68d542cb6b Add API form support for date fields 2021-09-28 01:14:58 +10:00
Oliver Walters
f6302bd65d Add "units" for part
- Edit "units" for a part
- Display "units" after stock quantity
2021-08-26 22:03:36 +10:00
Oliver
f027dff2af Refactor upload test result 2021-08-16 20:27:44 +10:00
Oliver
ffd423cf9a Add model for InvenTreePartAttachment 2021-08-15 16:49:59 +10:00
Oliver
3e3ab680f6 Add more fields for stock item creation 2021-08-15 14:53:13 +10:00
Oliver
3fb6b38930 Create new stock item 2021-08-15 14:44:40 +10:00
Oliver
76c0ab3d7f Create a new stock location 2021-08-10 17:21:12 +10:00
Oliver
92a7a73408 Merge branch 'master' into create-part 2021-08-10 08:14:44 +10:00
Oliver
140687c386 Refactorin' 2021-08-10 08:06:52 +10:00
Oliver Walters
87864d2f07 display stock item packaging 2021-08-10 00:12:41 +10:00
Oliver Walters
baa3d3a1bb Display "batch code" for stock item 2021-08-10 00:10:20 +10:00
Oliver
2dfe8921eb Fix URL getters 2021-08-09 07:51:46 +10:00
Oliver
ca73ff0d35 Catch null purchase_price 2021-08-05 08:20:28 +10:00
Oliver
d47a8db289 More code cleanup 2021-08-02 21:53:57 +10:00
Oliver
68859b3d2e Code cleanup 2021-08-02 21:48:53 +10:00
Oliver
fd821bbfc5 Display purcahse price for stock item 2021-07-26 23:31:36 +10:00
Oliver
2bdadc2140 Cleanup 2021-07-26 17:28:16 +10:00
Oliver
6b226fafc9 Improve display of StockList tiles 2021-07-20 19:36:19 +10:00
Oliver
c99be189bb Updates!
- Add "last update date" to StockDetail view
- Add 'stocktake date" to StockDetail view
2021-07-20 19:32:48 +10:00
Oliver
e637e2a9bc make package name lowercase 2021-07-16 15:07:28 +10:00
Oliver
83e29777c2 More cleanup 2021-07-15 23:28:55 +10:00
Oliver
d2ce3fadf1 Code cleanup 2021-07-15 11:27:19 +10:00
Oliver
4691dd3054 URL fix 2021-07-13 08:34:30 +10:00