Oliver Walters
06c03039da
Add version related tags
...
- Docs URL points to correct documentation version
- Display if we are in "development" version
2021-09-12 23:13:55 +10:00
Oliver
695370c8d7
Merge pull request #2048 from inventree/version-tags
...
Updates for docker workflows:
2021-09-12 22:28:26 +10:00
Oliver Walters
7b21270baf
Bump version number
2021-09-12 22:08:51 +10:00
Oliver Walters
08397c5e5f
different syntax
2021-09-12 22:06:06 +10:00
Oliver Walters
3d4a8bdd22
env prefix
2021-09-12 21:54:59 +10:00
Oliver Walters
06f323fe47
Use GITHUB_BASE_REF
2021-09-12 21:52:02 +10:00
Oliver Walters
6baaf98d7e
fix environment variable
2021-09-12 21:49:13 +10:00
Oliver Walters
5770789ddb
more fix
2021-09-12 21:40:56 +10:00
Oliver Walters
fd192b65bf
workflow fix
2021-09-12 21:37:30 +10:00
Oliver Walters
5ee004eabd
Add workflow to check version number
2021-09-12 21:36:14 +10:00
Oliver Walters
429add9000
Updates for docker workflows:
...
- check_version_number script now handles stable and development codes
2021-09-12 21:17:56 +10:00
Oliver
71ca60d679
Merge pull request #2044 from SchrodingersGat/new-line-item
...
Bug fix - "Add line item" button
2021-09-08 14:32:51 +10:00
Oliver
b9b23a3853
bug fix
2021-09-08 14:14:14 +10:00
Oliver
829dd0d637
Merge pull request #2043 from SchrodingersGat/received-stock-items
...
Fixes for purchase order stock table
2021-09-08 13:29:05 +10:00
Oliver
387680fbcd
More linting
2021-09-08 13:13:40 +10:00
Oliver
20788bb559
Bump pillow version for security fix
2021-09-08 13:02:49 +10:00
Oliver
a32a30de52
javascript linting
2021-09-08 13:02:03 +10:00
Oliver
1a21576f28
Adds separate option for "prevent_new_stock" to stock_table
2021-09-08 12:57:42 +10:00
Oliver
ba787a0485
Merge pull request #2041 from SchrodingersGat/metadata-fixes
...
Fix OPTIONS request lookup time
2021-09-08 12:52:00 +10:00
Oliver
8368798280
Move po-line-item-table into javascript file
...
- for better linting
2021-09-08 12:51:49 +10:00
Oliver
6012855ec4
PEP fixes
2021-09-08 12:24:33 +10:00
Oliver
919b39515f
Improve instance lookup for metadata layer
...
- Existing call to get_object() could take > 20 seconds in some cases
- Not really sure why, some issue with the DRF library
- Was probably parsing the entire queryset rather than doing a PK lookup
- Instead, directly use the provided pk to get the model
2021-09-08 12:18:07 +10:00
Oliver
22aa0a03c9
Merge pull request #2039 from SchrodingersGat/requirements
...
Re-add gunicorn to requirements file
2021-09-08 08:48:20 +10:00
Oliver
84528df6f8
Re-add gunicorn to requirements file
2021-09-08 08:01:05 +10:00
Oliver
a70f4c86eb
Merge pull request #2013 from SchrodingersGat/receive-via-api
...
Receive via api
2021-09-07 23:56:44 +10:00
Oliver Walters
f349dc01ea
JS lint
2021-09-07 23:41:13 +10:00
Oliver Walters
f38bf6e20a
Adds unit testing for barcode field
2021-09-07 23:34:14 +10:00
Oliver Walters
bf05c9cfae
Adds "barcode" field to POLineItem receive serializer
2021-09-07 23:06:36 +10:00
Oliver Walters
ccb191e5b1
Bump API version
2021-09-07 23:06:17 +10:00
Oliver
50ae331afd
Merge pull request #2034 from SchrodingersGat/build-complete-scheduling
...
Build completion scheduling
2021-09-07 22:51:52 +10:00
Oliver Walters
125554c53f
Merge remote-tracking branch 'upstream/master' into receive-via-api
...
# Conflicts:
# InvenTree/templates/js/dynamic/inventree.js
# InvenTree/templates/js/translated/forms.js
# InvenTree/templates/js/translated/tables.js
2021-09-07 22:34:00 +10:00
Oliver Walters
ecc7bd2d5b
Unit test fixes
2021-09-07 22:27:39 +10:00
Oliver
5ab4be7025
Unit test fixes
2021-09-07 17:36:53 +10:00
Oliver
918106c225
Adds a background task to remove StockItem objects which are scheduled for deletion
2021-09-07 16:45:58 +10:00
Oliver
7d3cd03d6c
Add "scheduled_for_deletion" field to StockItem
...
- If set to True, this StockItem will be deleted (soon) by the background worker
- As deletion takes significant time, this prevents delete operations from blocking the UI
2021-09-07 16:28:57 +10:00
Oliver
4b1c2677c5
Update README.md
2021-09-06 09:42:51 +10:00
Oliver
8b6ebc092a
Merge pull request #2033 from SchrodingersGat/clip.html-fix
...
Run HTML linting as .github action
2021-09-04 09:43:14 +10:00
Oliver
f363c0f084
Fix workflow file
2021-09-04 09:22:52 +10:00
Oliver
c7d6b985bd
LINT ALL THE THINGS
2021-09-04 09:08:46 +10:00
Oliver
42637ddefa
more linting
2021-09-04 08:59:02 +10:00
Oliver
9b001cd298
Another fix
2021-09-04 08:48:34 +10:00
Oliver
f0e5d1984c
Fix for about.html
2021-09-04 08:46:30 +10:00
Oliver
0a8365e3bc
Fix for clip.html
2021-09-04 08:45:06 +10:00
Oliver
514db57c0c
Run HTML linting as .github actino
2021-09-04 08:31:47 +10:00
Oliver
c275bf8d98
Merge pull request #2026 from inventree/js-linting
...
Js linting
2021-09-03 23:35:14 +10:00
Oliver Walters
e5872f4b67
improve js debug comment
2021-09-03 23:16:35 +10:00
Oliver
888fa51cd7
lots of linting fixes for JS files
2021-09-03 22:54:17 +10:00
Oliver
3db830e7cd
Merge pull request #2031 from SchrodingersGat/polineitem-destination
...
Fix on_delete for PurchaseOrderLineItem.destination
2021-09-02 11:37:54 +10:00
Oliver
5d703af932
Add migration file
2021-09-02 11:11:25 +10:00
Oliver
43c4e936a7
Fix on_delete for PurchaseOrderLineItem.destination
...
- Currently set to DO_NOTHING
- However when deleting a StockLocation which has a PurchaseOrderLineItem.destionation point to it, this will cause an IntegrityError
2021-09-02 10:41:23 +10:00