Commit Graph
16 Commits
Author SHA1 Message Date
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