Commit Graph
100 Commits
Author SHA1 Message Date
Oliver a5edb84723 Upload part attachnents
- Select file from device
- Take picture with camera
2021-08-15 17:27:25 +10:00
Oliver d9d52613b6 Display part attachments 2021-08-15 16:50:59 +10:00
Oliver ffd423cf9a Add model for InvenTreePartAttachment 2021-08-15 16:49:59 +10:00
Oliver 40805b2aff Skeleton for part attachment widget 2021-08-15 16:20:33 +10:00
Oliver 30c26d167c Merge branch 'create-part' 2021-08-15 16:00:36 +10:00
Oliver a4c96694bb Refactorin' 2021-08-15 15:34:40 +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 a09d0b6887 rendering support for "part" foreign key 2021-08-15 14:32:46 +10:00
Oliver 81602512a5 Display error message when form submission returns error 2021-08-15 13:44:27 +10:00
Oliver cae6dd412c Merge branch 'master' into create-part 2021-08-15 13:32:50 +10:00
Oliver d8a1b741c6 Improve widget for submitting user feedback 2021-08-15 13:32:19 +10:00
Oliver 232535d166 Reduce error reporting for model requests 2021-08-11 08:14:40 +10:00
Oliver 0d6d0f754a Fix barcode appBar text 2021-08-10 21:01:03 +10:00
Oliver 2cb3e89a9a Cleanup 2021-08-10 20:59:07 +10:00
Oliver 4ff6ce1ca3 Refactor some more forms 2021-08-10 20:47:36 +10:00
Oliver 1cadaa23d2 skeleton for creating new stock item in category 2021-08-10 17:27:00 +10:00
Oliver 76c0ab3d7f Create a new stock location 2021-08-10 17:21:12 +10:00
Oliver 0d11af002b Adds placeholder for action to delete part 2021-08-10 16:58:59 +10:00
Oliver fcc5bf8c30 Check that the user has the required permisions 2021-08-10 16:53:20 +10:00
Oliver ed94d4eb96 Create new part from category 2021-08-10 16:51:34 +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 67ccbf64b5 Adds convenience function for editing model 2021-08-10 08:40:36 +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 8a8b38da93 Fix translation submodule 2021-08-10 08:04:27 +10:00
Oliver Walters 6233102c46 Update release notes 2021-08-10 00:13:53 +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 Walters 2d005ba86b Adds app bar with back button to barcode scanning widget 2021-08-09 23:59:53 +10:00
Oliver Walters 248ca6f328 Do no provide a "drawer" unless on the home screen 2021-08-09 23:53:48 +10:00
Oliver Walters d442206c12 change default user settings values 2021-08-09 23:53:18 +10:00
Oliver Walters c658ae48d8 Getting iOS build to compile 2021-08-09 23:41:15 +10:00
Oliver Walters 540c6e58fa Fix hard-coded path 2021-08-09 23:07:54 +10:00
Oliver Walters c2ac2512ab ignore export_environment file 2021-08-09 22:11:04 +10:00
Oliver f8e007e07d Merge branch 'master' into create-part 2021-08-09 12:37:30 +10:00
Oliver 3df40d3dfb Update export_environments file 2021-08-09 09:16:02 +10:00
Oliver 4774710aa7 0.4.3
- Update version number
- Update release notes
2021-08-09 09:14:57 +10:00
Oliver 6de29cf6d5 Include required file 2021-08-09 09:09:26 +10:00
Oliver 3e19e7f1cb Decode response data when file upload fails 2021-08-09 08:38:43 +10:00
Oliver 3e2b4454dd Catch error when decoding permissions 2021-08-09 08:27:29 +10:00
Oliver 8f02092731 Add extra error reporting information in sentry errors 2021-08-09 08:22:36 +10:00
Oliver 607d4b61ef Show message if image upload fails 2021-08-09 07:56:38 +10:00
Oliver 3447d08d7b Action tiles to create new category and new part 2021-08-09 07:52:09 +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 acecec113e Show snack when encountering a server error 2021-08-05 08:54:02 +10:00
Oliver ca35f44dc8 Error fixes / catches
- Barcode scan returns invalid response
- model.reload() returns invalid response
- model.create() returns invalid response
- model.get() returns invalid response
2021-08-05 08:37:11 +10:00
Oliver ca73ff0d35 Catch null purchase_price 2021-08-05 08:20:28 +10:00
Oliver 293750dce7 Refactor company list views:
- Suppliers
- Manufacturers
- Customers
2021-08-03 01:38:58 +10:00
Oliver e5f09acf3f Update CompanyDetail page 2021-08-03 01:00:55 +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 5429c06349 Add isManufacturer accessor for Company 2021-08-02 17:33:13 +10:00
Oliver 944f1e2cdc Add default list filters for ManufacturerPart 2021-08-02 16:31:44 +10:00
Oliver 0b44b3a0c9 Add default list filters for SupplierPart 2021-08-02 16:31: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
Oliver 21985584c2 Add accessor functions for SupplierPart and ManufacturerPart models 2021-08-02 13:45:57 +10:00
Oliver 76e0dd6803 Add model for ManufacturerPart 2021-08-02 11:51:49 +10:00
Oliver 77532a4026 Add more details to the part page
- "on order" count
- "used in" count
- "supplier" count
- "bill of material" count
2021-08-02 11:42:21 +10:00
Oliver 1f3e73fdd1 0.4.1 2021-08-02 11:25:50 +10:00
Oliver aca7b79a96 Merge branch 'barcode-fixes' 2021-07-30 11:10:47 +10:00
Oliver d290f98445 Refactor showFormDialog function 2021-07-30 11:09:46 +10:00
Oliver 07017c4745 Barcode handler code cleanup 2021-07-30 11:09:01 +10:00
Oliver b423d43db8 Cleanup 2021-07-29 17:23:07 +10:00
Oliver 3ae9342a86 Provide release code to sentry 2021-07-29 16:13:15 +10:00
Oliver b41f1a2ac7 Update package_info and device_info 2021-07-29 16:08:44 +10:00
Oliver 489f4bee50 Specify environment for sentry.io 2021-07-29 15:25:29 +10:00
Oliver 6d1bed29c0 Pass BuildContext variable to barcode views, rather than storing it locally 2021-07-29 01:26:35 +10:00
Oliver 058cde1d3d Adjust calls in barcode.dart to match example 2021-07-28 22:36:39 +10:00
Oliver efce514be3 v0.4.0
- Update version number and release notes
2021-07-28 16:49:19 +10:00
Oliver d6a2a41ab2 Enable multi-line text editing for API forms
- User can edit part notes
- User can edit stock item notes
2021-07-28 16:19:42 +10:00
Oliver b8379e05db Update to allow android 30 (and newer) to open HTTPS links
Ref: https://medium.com/flutter-community/package-visibility-for-url-launcher-on-android-11-api-30-7c03cbce76a5
2021-07-28 16:18:49 +10:00
Oliver 6f366452f8 Bumped build number 2021-07-27 09:00:07 +10:00
Oliver 9b090723f9 Update release notes,
- Also adds locale support for more language codes
2021-07-27 08:56:40 +10:00
OliverandGitHub 51f3be899b Merge pull request #55 from SchrodingersGat/api-forms
Api forms
2021-07-27 08:41:48 +10:00
Oliver 5b36b8e4e3 Bump release version 2021-07-27 08:41:12 +10:00
Oliver 9b29f617c9 bump release notes to 0.3.1 2021-07-26 23:35:36 +10:00
Oliver fd821bbfc5 Display purcahse price for stock item 2021-07-26 23:31:36 +10:00
Oliver 8a114d345f Display "action" items with color 2021-07-26 23:18:52 +10:00
Oliver 08eb6fc4b1 Remove typeahead library 2021-07-26 23:04:43 +10:00
Oliver 978cefd6bf edit stock item
- Render choice fields
2021-07-26 22:26:56 +10:00
Oliver e8cb002e3c Edit StockLocation 2021-07-26 22:03:37 +10:00
Oliver bc713dfdcd API form for editing PartCategory
- Custom related field renderer function
- Grab related field data from the server
2021-07-26 21:56:29 +10:00
Oliver 377da3c2fb Handle "filters" for related fields 2021-07-26 21:02:24 +10:00
Oliver 2bdadc2140 Cleanup 2021-07-26 17:28:16 +10:00
Oliver d07b704014 Looks like dropdown_search is the way to go! 2021-07-26 17:21:17 +10:00
Oliver ca4297ae6d Working on implementation of a related field 2021-07-25 23:26:27 +10:00
Oliver a002ce1e8a Add more editable fields to the Part 2021-07-23 13:07:15 +10:00
Oliver 1e4e75dfb7 Refactor colors used in the app 2021-07-23 12:57:56 +10:00
Oliver 7a6457f870 Improve rendering for checkbox fields 2021-07-23 12:36:03 +10:00
Oliver 5c2f747b93 Improve formatting of error messages
Also run onSuccess function when form completes
2021-07-23 09:42:05 +10:00
Oliver 64aed4b31a Refactor modal form into a new stateful widget 2021-07-22 17:49:43 +10:00
Oliver 885df45138 Merge branch 'master' into api-forms 2021-07-22 17:00:13 +10:00