2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 13:36:50 +00:00

119 Commits

Author SHA1 Message Date
Oliver
efb6fc353e
Bom optional (#227)
* Split part settings onto different screen

* show_bom setting controls whether BOM information is displayed

* linting
2022-12-04 23:05:35 +11:00
Oliver
c2574e9fa5
Part parameters (#224)
* Adds class representing the PartParameter model

* Adds API method for determining support for PartParmaters

* Display part parameter count in part detail widget

* Adds user setting for controlling if part parameters are displayed

* Fix URL for model

* Widget for displaying part parameters

* linting
2022-12-04 20:51:48 +11:00
Oliver
7fc109e0c2
Show used in assembly list (#209)
* Update default list filters for BomItem

* Display "usedIn" count for part detail view

* Improve BillOfMaterials widget to display "used in" parts

* Update release notes
2022-09-10 14:06:58 +10:00
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
c5162c1947
Check if widget is mounted before calling setstate() (#193) 2022-07-29 20:01:06 +10:00
Oliver
f652bebd83
Show loading overlay for "toggle star" operation (#192)
* Show loading overlay for "toggle star" operation

* Improve loading speed of PartDetail widget

* Improve loading of StockDetail widget
2022-07-29 19:30:22 +10:00
Oliver
01dd046dd1
Display overlay screen for blocking operations (#186)
* Catch state error in homepage widget

* Add flutter_overlay_loader lib

- Displays an overlay screen to indicate blocking operation

* Wrap blocking widget transitions in a loading overlay

- Prevents user from doing other things while loading
- Shows the user that something is happening

* Linting fixes

* Show overlay when uploading attachment file

* Show overlay when downloading file also

* Show overlay when loading or submitting API forms

- Major improvements to usability "feel"

* UI improvements for stock item test results widget

* Fix API_FORM bug

- onSuccess function was not being called
2022-07-20 09:05:21 +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
6d247f426c Further refactoring 2022-07-06 20:54:17 +10:00
Oliver Walters
7301243ed6 Major overhaul of "paginated list" widget class
- Simplify implementation
- Create mixin class for code reuse
- Allow custom app-bar
- Allow custom ordering / sorting options
- Improve code commenting / readability
2022-07-06 20:24:40 +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
62df40f4b3 Display "variants" in part detail view 2022-07-05 17:14:00 +10:00
Oliver Walters
e35c4df846 Allows displays of Bill of Materials for assembled parts 2022-07-05 16:59:32 +10:00
Oliver Walters
fcfda4ebff Display number of attachments on part view 2022-06-04 00:15:34 +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
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
2c660e3961 Fix "building" quantity string - remove trailing zero 2022-04-18 21:29:45 +10:00
Oliver Walters
2a6df373c5 Refactor imports 2022-03-29 19:54:19 +11:00
Oliver Walters
6c3b83c05b Same thing, but for the "part" display 2022-03-26 17:40:02 +11:00
Oliver Walters
faf8e45138 Pop to the previous context if the stock item is "bad" 2022-03-26 17:38:30 +11:00
Oliver
d50d628167 Use double quotes for imports 2022-03-10 17:06:43 +11:00
Oliver
582f6bace3 Adds success messages after editing things 2022-03-10 16:59:27 +11:00
Oliver
d296d589d9 Update barcode / qrcode icons 2022-01-05 12:08:47 +11:00
Oliver
a5b52ea1cc Linting 2021-10-04 08:31:39 +11:00
Oliver
581d182464 Refactor StockList 2021-10-04 00:14:12 +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
687afc4eed Fixes:
- Hide action that doesn't work yet
- Change "parent category" to "parent location"
2021-08-16 11:50:12 +10:00
Oliver
4243876111 Create new stock item from part detail view 2021-08-15 18:22:11 +10:00
Oliver
40805b2aff Skeleton for part attachment widget 2021-08-15 16:20:33 +10:00
Oliver
2cb3e89a9a Cleanup 2021-08-10 20:59:07 +10:00
Oliver
0d11af002b Adds placeholder for action to delete part 2021-08-10 16:58:59 +10:00
Oliver
a1a07aefd8 Refactor part form fields 2021-08-10 16:48:06 +10:00
Oliver
6d0282519d API forms return the JSON data to the onSuccess function 2021-08-10 14:33:08 +10:00
Oliver
2dfe8921eb Fix URL getters 2021-08-09 07:51:46 +10:00
Oliver
beeea794cb 0.4.2
- Disable "suppliers" detail window (for now)
2021-08-05 09:42:36 +10:00
Oliver
0fdc56d299 Remove unused imports 2021-08-02 21:57:20 +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
9b42c88b53 Refactor part image widget
- Separate buttons to upload image from gallery or camera
2021-08-02 21:35:33 +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
aa24274cb3 Code cleanup for part_detail view 2021-08-02 14:04:18 +10:00
Oliver
013e977031 Request list of supplierparts 2021-08-02 14:00:39 +10:00