2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-11 11:48:52 +00:00

64 Commits

Author SHA1 Message Date
Oliver
b5d26580b4
Update API to match server changes (#196)
* Support updated API which changes detail of PartCategory list

* Update version to 0.8.1
2022-08-01 11:22:56 +10:00
Oliver
19ad3153e4
Remove and fix some TODO entries (#188) 2022-07-20 14:18:07 +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
78a5a9090d Adds new custom widget for displaying Bill of Materials data 2022-07-05 19:16:06 +10:00
Oliver Walters
e35c4df846 Allows displays of Bill of Materials for assembled parts 2022-07-05 16:59:32 +10:00
Oliver Walters
ada64f3971 Adds attachment support for the StockItem model 2022-06-04 00:23:10 +10:00
Oliver Walters
10783cd1c4 Refactor PartAttachmentWidget
- Now displays generic attachments
- Augment the InvenTreeAttachment class to "know" about its model reference
2022-06-04 00:12:44 +10:00
Oliver Walters
0140ffd96f Fix duplicate display of units 2022-05-07 15:25:26 +10:00
Oliver Walters
60475f518e Render link to "parent template part" (if it exists) 2022-04-21 00:51:52 +10:00
Oliver Walters
84edaef10a Bug fix and refactoring
- Display difference between "in stock" and "unallocated stock"
- Refactor to use single function in detail and list widgets
2022-04-18 21:49:10 +10:00
Oliver Walters
046af50146 Use 'available_stock' when available (new API) 2022-04-18 21:39:09 +10:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver
cbb668687e Set default location for part
- Used as "default" when creating new StockItem for that part
2021-09-29 00:24:21 +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 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
8bca501fc4 Allow file fields for api forms 2021-08-16 20:22:05 +10:00
Oliver
ffd423cf9a Add model for InvenTreePartAttachment 2021-08-15 16:49:59 +10:00
Oliver
a1a07aefd8 Refactor part form fields 2021-08-10 16:48:06 +10:00
Oliver
67ccbf64b5 Adds convenience function for editing model 2021-08-10 08:40:36 +10:00
Oliver
2dfe8921eb Fix URL getters 2021-08-09 07:51:46 +10:00
Oliver
48d5c2e560 Display number of items on order 2021-08-02 20:07:29 +10:00
Oliver
71ef6b3c5a Render list of SupplierPart 2021-08-02 20:05:05 +10:00
Oliver
013e977031 Request list of supplierparts 2021-08-02 14:00:39 +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
f058cefad2 Fixes for double.tryParse 2021-07-13 00:17:35 +10:00
Oliver
40613c9c36 .empty() -> []
Turns out .empty() creates an empty list which is fixed length!
2021-07-13 00:13:38 +10:00
Oliver
d3eec6a79e Many many changes for null-safety support 2021-07-09 23:56:38 +10:00
Oliver
9e1305b1f0 Allow upload of part images
- Requires API v6
2021-06-23 08:51:41 +10:00
Oliver
65cabc2fa9 Update package versions and refactor accordingly 2021-06-18 21:28:07 +10:00
Oliver Walters
de9226aab6 Toggle part star status 2021-02-25 23:40:08 +11:00
Oliver Walters
d93f32ac2c v0.1.1 2021-02-22 22:05:50 +11:00
Oliver Walters
ddafed1fe6 Add "starred parts" to home screen 2021-02-12 23:48:50 +11:00
Oliver Walters
33bb6148de Cleanup for API error handling
Ref: https://stackoverflow.com/questions/54617432/looking-up-a-deactivated-widgets-ancestor-is-unsafe
2021-02-09 21:38:50 +11:00
Oliver Walters
c2aa51ed95 Cleanup 2021-02-09 20:10:36 +11:00
Oliver Walters
83465511aa Create detail view for part stock
- Shows all in-stock stock items
2021-01-20 23:56:25 +11:00
Oliver Walters
72512329e9 Bug fix for part without a category defined 2021-01-20 23:12:51 +11:00
Oliver Walters
153bb1c077 Include category detail when requesting part information 2021-01-20 22:58:04 +11:00
Oliver Walters
d2967db8a8 Do not use cascading display of stock location or part category 2020-05-30 22:02:39 +10:00
Oliver Walters
e89713660b Display test results 2020-05-23 22:52:10 +10:00
Oliver Walters
56dd22c656 Add some getters 2020-05-23 21:15:02 +10:00
Oliver Walters
0a5419eb6d PartTestTemplate is now class based 2020-05-23 15:41:52 +10:00
Oliver Walters
70ca369529 Get list of required tets 2020-05-23 14:37:27 +10:00
Oliver Walters
687b5ed8c7 Add 'tests' button for part 2020-05-23 14:28:43 +10:00
Oliver Walters
952f98d78b qr_utils is causing issues - comment out for now, need to look at a different barcode library 2020-05-23 11:31:30 +10:00