2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 18:25:26 +00:00
Commit Graph

1251 Commits

Author SHA1 Message Date
e22ba95214 New translations app_en.arb (German) (#450) 2023-11-12 23:26:07 +11:00
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
c1c0d46957 New translations app_en.arb (Chinese Simplified) (#447) 2023-11-10 20:16:10 +11:00
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
40fad26c06 Bump version number
- 0.13.0
0.13.0
2023-10-25 22:50:01 +11:00
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
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
8f1cd1cae1 Prevent notification dismissal from ocurring multiple times (#435) 2023-10-23 21:37:33 +11:00
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
382c8461f9 New translations app_en.arb (Japanese) (#433) 2023-10-21 23:24:02 +11:00
0d44bd3799 Update release_notes.md (#432) 2023-10-19 23:35:13 +11:00
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
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
c76309341b New translations app_en.arb (German) (#430) 2023-10-08 20:18:14 +11:00
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
a119bcc465 New translations app_en.arb (Spanish, Mexico) (#427) 2023-10-01 13:46:37 +11:00
3cc57101c4 Android: reduce minSdkVersion to 21 (#426)
Fixes https://github.com/inventree/inventree-app/issues/425
2023-09-21 21:17:55 +10:00
6520873384 Translation fix (#424)
* Fix locale header

- Moving to new framework meant that Intl.getCurrentLocale was no longer working

* Update release notes

* Fix typo in pubspec.yaml

* Clear cached values when locale is changed

* Add extra context check
2023-09-20 08:37:48 +10:00
dd12769a51 Stock transfer extra (#420)
* Add API version check

* Support "packaging" and "status" fields when performing a stock-transfer action

* Update release notes
2023-09-09 00:32:57 +10:00
9203ee8a3f New Crowdin updates (#417)
* New translations app_en.arb (Swedish)

* New translations app_en.arb (Russian)
2023-08-25 23:31:45 +10:00
1960016288 Do not run flutter upgrade (#418) 2023-08-25 23:22:14 +10:00
81907ad72f Flutter upgrades (#416)
* Upgrade flutter version

* Update packages

* update prj files

* Bump android sdk target to 33
2023-08-22 22:52:18 +10:00
af09cde29e New translations app_en.arb (French) (#414) 2023-08-21 17:50:11 +10:00
32c301a9b1 Show version (#415) 2023-08-21 17:43:19 +10:00
38dfb03669 Update release notes 0.12.7 2023-08-12 20:59:15 +10:00
e6ad1bcb98 New translations app_en.arb (Turkish) (#413) 2023-08-12 20:44:59 +10:00
8200140976 Label fix (#411)
* Cleanup label printing options

- Improve calls to setState()
- Should fix potential race conditions

* Use name if description not available

* Code simplification

* Fetch plugins even if the server reports "plugins enabled"

- Builtin plugins are still a thing!

* Use name *and* description to display label
2023-08-12 20:41:11 +10:00
d81f0d532d New translations app_en.arb (Russian) (#412) 2023-08-10 22:32:00 +10:00
75c4e038f4 New translations app_en.arb (Vietnamese) (#410) 2023-08-09 21:57:41 +10:00
72f243e1a5 New Crowdin updates (#409)
* New translations app_en.arb (Swedish)

* New translations app_en.arb (Hindi)

* New translations app_en.arb (Vietnamese)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (Vietnamese)
2023-08-08 20:30:44 +10:00
d2a01a0286 Supplier part fix (#408)
* Change supplier part fields based on API version

* Display packaging info on supplier part page

* Icon consolidation

* Bump version number
2023-07-27 10:16:36 +10:00
d6460d58aa New Crowdin updates (#407)
* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (Spanish, Mexico)
2023-07-27 09:50:19 +10:00
e549968d58 Missed update to pubspec.yaml 2023-07-23 12:43:34 +10:00
b044c53d91 More debug (#405)
* Extra options for sentry

* Use string comparison

* Catch error when constructing related field

* Include field name in debug
0.12.6
2023-07-23 09:55:08 +10:00
2e2e9640d4 New translations app_en.arb (Hungarian) (#404) 2023-07-22 22:17:54 +10:00
174f1b2f2d New Crowdin updates (#402)
* New translations app_en.arb (Dutch)

* New translations app_en.arb (Chinese Traditional)
2023-07-21 22:28:43 +10:00
7a11fdead8 Tweaks (#401)
* Improve collect_translations.py

* Cleanup

* Update translation support

* Update release notes
2023-07-17 21:17:23 +10:00
3085d98ce1 New translations app_en.arb (Chinese Traditional) (#400) 2023-07-17 20:59:39 +10:00
443e6e856c Label print updates (#399)
* Allow download of printed label

* Add setting for controlling label printing

* Control display of label printing via setting

* Refactor label printing functionality

- Move to helpers.dart
- Will be used for other label types also

* Factor out request for label templates

* Add label printing support for part

* Support label printing for stock location

* update release notes
2023-07-16 00:51:11 +10:00
d78affc1cb New Crowdin updates (#397)
* New translations app_en.arb (Portuguese, Brazilian)

* New translations app_en.arb (French)
2023-07-13 22:05:10 +10:00
76457793b3 Bump version to 0.12.5 (#396) 0.12.5 2023-07-07 22:04:21 +10:00
7ef6da4b2a Add extra filtering options for stock items (#394) 2023-07-07 21:47:27 +10:00
637b058a8a New Crowdin updates (#393)
* New translations app_en.arb (Turkish)

* New translations app_en.arb (Turkish)
2023-07-07 21:47:15 +10:00
2babf27db5 Sentry fix (#395)
* Extra sentry diagnostics

* Fix unit test

* Unit test updates

* More unit test updates
2023-07-07 21:38:04 +10:00
6fe23fa846 Update release notes (#392)
* Update release notes

* Fix typo
0.12.4
2023-07-05 22:21:12 +10:00
e39ab9ad78 New Crowdin updates (#391)
* New translations app_en.arb (German)

* New translations app_en.arb (French)
2023-07-05 09:35:56 +10:00
9277e18028 New Crowdin updates (#390)
* New translations app_en.arb (Hungarian)

* New translations app_en.arb (Russian)

* New translations app_en.arb (French)

* New translations app_en.arb (Portuguese, Brazilian)
2023-07-04 19:27:45 +10:00
0365557475 Tweaks for home page widget (#389) 2023-07-02 20:24:07 +10:00
138cae2da0 Search improvements (#388)
* Refactor search widget

- visual improvements
- Simplifications
- Add refresh button
- Improve search button

* Track original search

* fix BOM widget

* Update release notes
2023-06-30 22:42:59 +10:00
23abcb48f2 New Crowdin updates (#387)
* New translations app_en.arb (Russian)

* New translations app_en.arb (Russian)
2023-06-30 22:30:51 +10:00