28 Commits
Author SHA1 Message Date
Miklós MártonandGitHub cc60692388 Implement Latest parts dashboard widget (#11540)
* Implement Latest parts dashboard widget

* Removed unused variables

* Fix StylishText include
2026-05-04 20:25:48 +10:00
Miklós MártonandGitHub 4865a2b2a0 Remove unnecessary semicolon passed to FontFace constructor (#11603)
Fixes #11583
2026-03-24 22:15:44 +11:00
Miklós MártonandGitHub 7100569e45 Support image upload from clipboard (#11577)
* Support image upload from clipboard

* Suffix the image upload dialog message with the clipboard paste capability
2026-03-23 21:45:36 +11:00
3cbfcc11cb Added test statistics (#7164)
* Added test statistics

Fixed #5995

* Bump API version

* Fix javascript varible scopes

* Fix javascript exports

* Remove duplicated import

* Add files modified by the pre-commit scripts

* Move test statistics API urls to a separate endpoint

* Merge test-statistics urls

* Undo unrelated changes

* Formatting fix

* Fix API urls for test statistics in PUI

* Fix prefixing in test statistic functions

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-07-31 16:23:00 +10:00
e5814ea486 Fix issues made in #7614 (#7622)
* Fix issues made in #7614

* Flip cases

* Remove caching of the debug settings

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-07-13 14:57:37 +10:00
Miklós MártonandGitHub c87b5c8f3d Remove caching of the DEBUG settings from the label printer plugin (#7640) 2024-07-13 08:21:45 +10:00
Miklós MártonandGitHub 5d1f2b3ac0 Change "Edit/Delete test result" to "Edit/Delete test template" tooltip of (#7625)
the test template list actions.
2024-07-12 08:25:32 +10:00
Miklós MártonandGitHub 4e6879407e Add debug option to the sheet printer plugin (#7614) 2024-07-11 13:28:29 +10:00
Miklós MártonandGitHub 60ddbe980e Add field description to the currency_exchange_retrieve API call (#7147)
* Add field description to the currency_exchange_retrieve API call

* Bump API version

* Do not call constuctor for the serializer exposed for extend schema in the CurrencyExchangeView
2024-05-03 13:54:52 +10:00
Miklós MártonandGitHub e04fd3dac1 Add test start, end date and test station to the next gen UI (#6883)
* Add test start, end date and test station to the next gen UI

* [PUI]Add new test fields to the forms too

* Fix review comments

* Fix review comments #2
2024-04-02 10:34:06 +11:00
Miklós MártonandGitHub 0c661f4f83 Add additional test fields (#6149)
* Add new fields for the test results:
- Test start timestamp
- Test finish timestamp
- Test station name

* Add is_retest field to the stock_stockitemtestresult items

* Remove unnecessary print from migration

* Fix test result start/finished date rendering on UI

* Remove is_retest field

* Rerun pre-commit run --all-files to fix formatting

* Fix migrations

* Bump API version

* Fix API version again
2024-03-18 09:24:33 +11:00
ad1c1ae604 Add option to disable the build output completion if are tests not passed (#6057)
* Add option to disable the build output completion if required tests not passed

Fixes #5037

* Fix review comments

* Added tests

* Add settinsg option to PUI

* Utilize F" string concatenation

* Add validation to serializer too to being able to generate proper error message in the case if multiple outputs having incomplete tests

* Fix other build tests failing because of the new stock items

* Remove len from array empty check

* Update serializers.py

* Update models.py

Simplify error message

* Update settings.py

Formatting fix

* Update models.py

More style fixes

* Update models.py

Remove empty line

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-02-18 10:28:37 +11:00
045af50f99 Mention the API version bump in CONTRIBUTION.md (#6436)
* Mention the API version bump in CONTRIBUTION.md

* Update CONTRIBUTING.md

---------

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-02-07 09:18:19 +11:00
Miklós MártonandGitHub 74d0eb729c Allow orders' creation date edit via API (#6178)
* Add creation_date to the serializers of the Orders (to make it changeable by API)

Fixes #6159

* Add API tests for the creation_date field

* Fix missing , in test_api.py

* Allow null to be passed (transleted to current date later) for creation_date of the Orders in the serializers too
2024-02-04 20:09:17 +11:00
Miklós MártonandGitHub 3a7b1510b3 Disable prefetch on part when saving stock items (#6051)
Contributes to #6013
2023-12-08 07:19:48 +11:00
Miklós MártonandGitHub 25334c0d91 Fix selecting the default stock item template (#5318) 2023-07-23 19:42:56 +10:00
Miklós MártonandGitHub feeccc5c91 Fix selecting default label template (#5317) 2023-07-23 17:09:41 +10:00
Miklós MártonandGitHub 6b4717cb28 Show built in label printing plugin even if the external plugins are disabled (#5304) 2023-07-21 21:55:51 +10:00
Miklós MártonandGitHub 46a808c064 Add user settings to remember the last/favourite label template (#4938)
* Add user settings to remember the last/favourite label template

Fixes #4932

* Remove settings_value from translated templates

Thanks Oliver for the hint!
2023-06-01 20:01:48 +10:00
Miklós MártonandGitHub 0b4a06ae7e Fix completeSalesOrderShipment typo in sales_order.js (#4908) 2023-05-27 09:48:14 +10:00
Miklós MártonandGitHub 21dafdee8e - Bump djLint to 1.29.0 (from 1.25.0) in the CI linting scripts (#4907)
- Add alt attribute to the img tags in the templates (required by the bump)
2023-05-27 08:52:10 +10:00
Miklós MártonandGitHub 0b8feb2c4a Display proper printing target name in the label printing modal dialog (#4727)
Fix #4717
2023-05-02 07:59:54 +10:00
Miklós MártonandGitHub 0716238f3b Implement structural stock locations (#3949)
* Implement structural stock locations

* Bumped API version
2022-11-19 22:24:18 +11:00
Miklós MártonandGitHub 73c1c50d01 Support structural part categories (#3931)
* Support structural part categories

Structural categories cannot have parts assigned (only sub-categories)

Fixed #3897

* Fixed unit test

* Fix Oliver's review comments
2022-11-18 08:10:06 +11:00
Miklós MártonandGitHub 8ceb1af3c3 Add support for recursively delete the stock locations (#3926) 2022-11-14 08:07:16 +11:00
Miklós MártonandGitHub f6cfc12343 Add option to recursively delete part categories (#3435)
* Add option to recursively delete part categories

Fixes #3384

* - Added test (broken ATM)
- Refactored parameters to booleanish

* Fix styling issues reported by flake8

* Working on unit testing

* Added on_commit debugging callback

* Separate the recursive part of the deletion into another method
to make sure that the delete operation is performed in a single transaction

* Trying transactions with @transactions.atomic

* Fix flake8 reported issues

* Removed unused debug callback

* Fixed tests for category recursive deletion

* Fix flake reported issues

* Fix flake reported issues
Again

* Remove unrelated formatting changes

* Fixed a part of review comments
2022-11-08 11:57:00 +11:00
Miklós MártonandGitHub 9beefd09f7 Remove special character restrictions in parameter template names (#3883)
* Remove special character restrictions in parameter template names

Fixes #3852

* Added migration
2022-10-31 11:28:49 +11:00
Miklós MártonandGitHub f3dee187bc Make PartCategories to be filterable by name and description (#3854)
* Make PartCategories to be filterable by name and description

* Bump API version
2022-10-26 09:46:28 +11:00