2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

1286 Commits

Author SHA1 Message Date
Oliver
715cd06946
Long sn fix (#499)
* Improve tasks.py

- Works from any subdir now

* Update stock detail display

* FIx width of "serial" column in stock item list
2024-06-03 21:50:24 +10:00
Oliver
7575ba0136
New Crowdin updates (#497)
* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Portuguese)
2024-06-03 21:46:01 +10:00
João Nuno
4302f542dc
Update README.md (#496)
Some checks failed
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
2024-06-01 09:21:28 +10:00
Oliver
349b3d4366
New Crowdin updates (#495)
Some checks failed
iOS / build (push) Has been cancelled
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Spanish)
2024-05-30 19:03:36 +10:00
Oliver
9638b782cc
New Crowdin updates (#493)
Some checks failed
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* New translations app_en.arb (German)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Portuguese)
2024-05-21 09:02:29 +10:00
Oliver
541060aa03
Print label key (#491)
Some checks failed
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
* We now use the plugin key for printing labels

* Bump API version for modern label printing

* Fix typo
2024-05-15 20:19:34 +10:00
Oliver
9a6e1e6381
New translations app_en.arb (Russian) (#490)
Some checks failed
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
2024-05-12 20:42:08 +10:00
Oliver
3c0bca276d
Label printing fix (#489)
* Add check for modern label printing interface

* Update getLabelTemplates

* Fix typo

* Refactor / simplify

* Revert parameter type

* Update version number and release notes

* Refactor label printing function

- Will require some cleanup in the future
- Still needs testing

* Fix for modern printing

* Typo fix
2024-05-12 20:41:02 +10:00
Oliver
91cb24c74c
New translations app_en.arb (Hungarian) (#488)
Some checks failed
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled
2024-05-10 23:52:26 +10:00
Oliver
86425ebb2b
New translations app_en.arb (Ukrainian) (#487)
Some checks failed
CI / test (push) Has been cancelled
Android / build (push) Has been cancelled
iOS / build (push) Has been cancelled
2024-04-29 20:28:59 +10:00
Oliver
177f040324
New Crowdin updates (#486)
* New translations app_en.arb (French)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Bulgarian)

* New translations app_en.arb (Czech)

* New translations app_en.arb (Danish)

* New translations app_en.arb (German)

* New translations app_en.arb (Greek)

* New translations app_en.arb (Finnish)

* New translations app_en.arb (Hebrew)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (Korean)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Slovak)

* New translations app_en.arb (Slovenian)

* New translations app_en.arb (Swedish)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Chinese Traditional)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Indonesian)

* New translations app_en.arb (Persian)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Thai)

* New translations app_en.arb (Latvian)

* New translations app_en.arb (Hindi)

* New translations app_en.arb (Serbian (Latin))
2024-04-19 10:33:09 +10:00
Oliver Walters
f986e163e3 Bump version number 0.14.3 2024-04-18 22:54:19 +10:00
Oliver
4499f3e00e
Barcode workflow (#485)
* Refactor stock barcode operations into new file

* Add setting to control confirmation of stock transfer actions

* Update details when scannign stock item

* Confirm movement when moving items into location

* Cleanup
2024-04-18 22:53:21 +10:00
Oliver
a889417fe0
Company active filters (#484)
* Add support for "active" status for:

- SupplierPart
- Company

* Add filtering options

* Fix default value

* Add inactive tiles

* Update text and release notes
2024-04-18 21:48:45 +10:00
Oliver
0e658febe2
New Crowdin updates (#483)
* New translations app_en.arb (French)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Bulgarian)

* New translations app_en.arb (Czech)

* New translations app_en.arb (Danish)

* New translations app_en.arb (German)

* New translations app_en.arb (Greek)

* New translations app_en.arb (Finnish)

* New translations app_en.arb (Hebrew)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (Korean)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Slovak)

* New translations app_en.arb (Slovenian)

* New translations app_en.arb (Swedish)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Chinese Traditional)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Indonesian)

* New translations app_en.arb (Persian)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Thai)

* New translations app_en.arb (Latvian)

* New translations app_en.arb (Hindi)

* New translations app_en.arb (Serbian (Latin))

* New translations app_en.arb (Chinese Traditional)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Czech)
2024-04-17 21:26:09 +10:00
Oliver
3f60b52a68
New Crowdin updates (#482)
* New translations app_en.arb (French)

* New translations app_en.arb (Czech)

* New translations app_en.arb (German)

* New translations app_en.arb (Finnish)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Slovak)

* New translations app_en.arb (Swedish)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Latvian)

* New translations app_en.arb (Serbian (Latin))
2024-04-14 07:35:04 +10:00
Oliver
4ae28d60a1
Readme updates (#476)
* Update README.md

- Add developer docs

* Remove RELEASE.md
2024-03-06 21:19:25 +11:00
Oliver
b02dc5bac7
Simplify DSN file (#475)
* Add checks for empty sentry DSN

* Add default DSN key

* Fix CI workflows
2024-03-06 21:09:06 +11:00
Oliver
a889c4adbe
Filter fix (#473)
* Add check for "null" top level locations and categories

* Fix API

- Top level location and category broken after API 174
- Ref: https://github.com/inventree/InvenTree/pull/6536
0.14.2
2024-02-28 16:23:46 +11:00
Oliver
1d41d229ca
Error report updates (#470)
* Prevent error reporting for certain status codes

- These error codes indicate that there is something wrong with the server setup
- Outside scope

* Bump version
2024-01-16 00:31:10 +11:00
Oliver
d152475de4
Catch errors (#469)
* Catch error comparing dropdown items

* Update version number and release notes

* Data conversion

* Catch error when loading image from network

* Suppress error reporting for statusCode -1
0.14.1
2024-01-10 23:24:40 +11:00
Oliver
4ef2e43bf3
Update version info (#467) 0.14.0 2023-12-14 00:14:29 +11:00
Oliver
571b491846
Sales order barcode (#466)
* Add barcode handler for allocating stock to sales order

* Refactor sales order allocation fields

* Improve barcode handling

* Handle barcode scan from sales order line detail view

* Remove debug statements
2023-12-13 23:49:55 +11:00
Oliver
edde9a9585
Update credits.md (#465) 2023-12-12 10:47:39 +11:00
Oliver
3ea5f8934c
Sales order allocation (#464)
* New string

* Typo fix

* Add model for SalesOrderShipment

* Add placeholder button to sales order item

* Create a new shipment from the sales order detail view

* Fix API URL

* Add paginated shipment list

* Upate colors

* Add API form for allocation of stock to sales order

* Build out sales order line detail widge

* Use unallocated quantity

* Update release notes

* linting fix
2023-11-27 22:51:20 +11:00
Oliver
70d0d4de93
Change rendering of part parameter (#463)
Closes https://github.com/inventree/inventree-app/issues/358
2023-11-27 22:09:39 +11:00
Oliver
1ec1a867d9
Add part to sales order via barcode scan (#461)
* Add part to sales order via barcode scan

* Update release notes

* Remove unused imports
2023-11-22 00:14:55 +11:00
Oliver
eb1be30df4
Fix display of sales order completion status (#460) 2023-11-21 08:23:09 +11:00
Oliver
711034f402
Update app release notes (#459) 2023-11-21 00:13:40 +11:00
Oliver
bf3df770c7
Po barcode scan (#458)
* Refactor existing barcode scan endpoint

- Break out into new file just for purchase orders

* Handle scanning of salesorder

* Add new handler for adding items to PO via barcode

* Allocate with barcode

* Add new string
2023-11-20 23:48:42 +11:00
Oliver
0a85441131
Purchase order updates (#456)
* Support supplierpart in related field

* Manual add line item to purchase order

* Update release notes
2023-11-15 23:53:47 +11:00
Oliver
1148f01d4a
New Crowdin updates (#455)
* New translations app_en.arb (French)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Bulgarian)

* New translations app_en.arb (Czech)

* New translations app_en.arb (Danish)

* New translations app_en.arb (German)

* New translations app_en.arb (Greek)

* New translations app_en.arb (Finnish)

* New translations app_en.arb (Hebrew)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (Korean)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Slovenian)

* New translations app_en.arb (Swedish)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Chinese Traditional)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Indonesian)

* New translations app_en.arb (Persian)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Thai)

* New translations app_en.arb (Hindi)
2023-11-15 21:00:33 +11:00
Oliver
8cb5dd20f0
Barcode Scanning Updates (#448)
* Add new setting for controlling manual barcode scan

* Adds ability to pause and resume scanning with button

- Camera is still "live" during this

* Add UI elements

* Change scan setting

- "Continuous" scanning
- Enabled by default

* Update release notes

* Scanner updates

- Use "hold to pause" in continuous scan
- Use "tap to pause" in single scan

* Improve barcode scanning options

- Allow tap-to-pause or hold-to-pause
- More obvious user interactions

* Ensure consistent icon placement

* Remove separate setting for barcode pause mode
2023-11-14 07:39:06 +11:00
Oliver
20127c6090
New Crowdin updates (#454)
* New translations app_en.arb (French)

* New translations app_en.arb (Spanish)

* New translations app_en.arb (Czech)

* New translations app_en.arb (Danish)

* New translations app_en.arb (German)

* New translations app_en.arb (Greek)

* New translations app_en.arb (Finnish)

* New translations app_en.arb (Hebrew)

* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Italian)

* New translations app_en.arb (Japanese)

* New translations app_en.arb (Korean)

* New translations app_en.arb (Dutch)

* New translations app_en.arb (Norwegian)

* New translations app_en.arb (Polish)

* New translations app_en.arb (Portuguese)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Slovenian)

* New translations app_en.arb (Swedish)

* New translations app_en.arb (Turkish)

* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Chinese Traditional)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Indonesian)

* New translations app_en.arb (Persian)

* New translations app_en.arb (Spanish, Mexico)

* New translations app_en.arb (Thai)

* New translations app_en.arb (Hindi)

* New translations app_en.arb (Bulgarian)
2023-11-13 20:48:28 +11:00
Oliver
bb87d0dd6d
Item deplete fix (#452)
* Add status code information to server error message

* More informative error message for 404

* Update release note
2023-11-12 23:43:52 +11:00
Oliver
e22ba95214
New translations app_en.arb (German) (#450) 2023-11-12 23:26:07 +11:00
Oliver
bdd5470e68
Sales order support (#438)
* Add new models for SalesOrder

- Create generic Order and OrderLine models with common functionality

* Refactor

- Move some widgets around
- Cleanup directory structure

* Add link to home screen and nav drawer

* Add SalesOrder list widget

* Linting fixes

* Fix string

* Refactor PurchaseOrderDetailWidget

* Tweaks to existing code

* linting

* Fixes for drawer widget

* Add "detail" page for SalesOrder

* Add more tiles to SalesOrder detail

* Allow editing of salesorder

* add list filters for sales orders

* Display list of line items

* Customer updates

- Display customer icon on home screen
- Fetch sales orders for customer detail page

* Cleanup company detail view

* Create new sales order from list

* Stricter typing for formFields method

* Create new PurchaseOrder and SalesOrder from company deatil

* Status code updates

- Add function for name comparison
- Remove hard-coded values

* Update view permission checks for home widget

* Add ability to manually add SalesOrderLineItem

* Add nice progress bar widgets

* Display detail view for sales order line item

* edit SalesOrderLineItem

* Fix unused import

* Hide "shipped items" tab

- Will be added in a future update
2023-11-12 23:13:22 +11:00
Oliver
c1c0d46957
New translations app_en.arb (Chinese Simplified) (#447) 2023-11-10 20:16:10 +11:00
Oliver
cf83ae86b9
New Crowdin updates (#443)
* New translations app_en.arb (Chinese Simplified)

* New translations app_en.arb (Bulgarian)
2023-11-09 20:49:01 +11:00
Oliver Walters
40fad26c06 Bump version number
- 0.13.0
0.13.0
2023-10-25 22:50:01 +11:00
Oliver
c641cea369
Scanner wedge mode (#437)
* Add code_scan_listener package

* Implement wedge controller widget

* Update barcode settings widget

- Allow user to choose which barcode scanner to use

* Fix typo

* Select barcode scanner widget based on user preference

* Fix rendering issues for wedge controller

* Update release notes

* Add unit test for wedge scanner widget

- Required some tweaks to other code

* Use better library

- https://github.com/fuadreza/flutter_barcode_listener
- Fork of https://github.com/shaxxx/flutter_barcode_listener
- Properly handles key "case" issues (shift, essentially)
- Verified that it works correctly for multiple character types

* Local copy of code, rather than relying on package which is not available on pub.dev

* Fix unit test
2023-10-25 22:40:49 +11:00
Oliver
b6ab9d5da5
Refresh fix (#436)
* Add notificationPredicate to improve scroll-to-reload

Ref: https://api.flutter.dev/flutter/material/RefreshIndicator-class.html

* Add scroll-to-refresh for paginated list
2023-10-23 21:59:05 +11:00
Oliver
8f1cd1cae1
Prevent notification dismissal from ocurring multiple times (#435) 2023-10-23 21:37:33 +11:00
Oliver
76b6191a67
Token auth (#434)
* Embed device platform information into token request

* Remove username and password from userProfile

* Display icon to show if profile has associated user token

* Remove username / password from login settings screen

* Refactor login procedure around token auth

* Refactoring

* Add profile login screen

- Username / password values are not stored
- Just to fetch api token

* Login with basic auth

* Pass profile to API when connecting

* Remove _BASE_URL accessor

- Fixes URL caching bug

* Add more context to login screen

* Add helper functions for unit tests

- Change default port to 8000 (makes testing easier with local inventree instance)

* api.dart handles basic auth now

* fix api_test.dart

* Further test improvements

* linting fixes

* Provide feedback when login fails

* More linting

* Record user details on login, and display in "about" widget

* Fix string lookup

* Add extra debug

* Fix auth values

* Fix user profile test
2023-10-23 01:29:16 +11:00
Oliver
382c8461f9
New translations app_en.arb (Japanese) (#433) 2023-10-21 23:24:02 +11:00
Oliver
0d44bd3799
Update release_notes.md (#432) 2023-10-19 23:35:13 +11:00
Oliver
c65833cf6d
New Crowdin updates (#431)
* New translations app_en.arb (German)

* New translations app_en.arb (Japanese)
2023-10-19 23:29:33 +11:00
Bobbe
67fd6a564a
Add POReceiveBarcodeHandler to support barcode/po-receive/ endpoint (#421)
* Add POReceiveBarcodeHandler to support barcode/po-receive/ endpoint

* Remove german translation

* Add api version checks

* Add getOverlayText method to barcode handler

* Bump required API version to 139

* Update barcode.dart

The "quantity" field is not an integer, and can cause the app to crash if not handled correctly

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2023-10-19 23:28:32 +11:00
Oliver
c76309341b
New translations app_en.arb (German) (#430) 2023-10-08 20:18:14 +11:00
Oliver
f4be87e826
New Crowdin updates (#429)
* New translations app_en.arb (Russian)

* New translations app_en.arb (Chinese Simplified)
2023-10-05 00:17:44 +11:00