2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-10 05:40:55 +00:00
Commit Graph

641 Commits

Author SHA1 Message Date
Oliver
9bcbaaa5f5 Remove more python2 stuff 2022-05-17 16:57:31 +10:00
Matthias
fb55f5d2a2 convert remaining function 2022-05-17 01:32:08 +02:00
Oliver
c51f052f25 Merge pull request #3011 from matmair/matmair/issue2996
Remove python 2 code
2022-05-17 00:51:31 +10:00
Oliver
31667020ae Merge pull request #3004 from SchrodingersGat/events-fix
Add required imports to plugin.events
2022-05-16 23:05:45 +10:00
Oliver
042cb021de Merge pull request #2957 from SchrodingersGat/locate-mixin
Adds plugin mixin to "locate" items
2022-05-16 22:57:20 +10:00
Oliver Walters
73413baa59 Add required imports to plugin.events 2022-05-16 22:01:34 +10:00
Oliver Walters
bd17458f37 Add metadata endpoints for SalesOrder and PurchaseOrder models 2022-05-16 21:40:10 +10:00
Oliver Walters
37a74dbfef Adds a metadata serializer class for accessing instance metadata via the API
- Adds endpoint for Part
- Adds endpoint for PartCategory
- Adds endpoint for StockItem
- Adds endpoint for StockLocation
2022-05-16 20:59:09 +10:00
Oliver
57d481a8b8 Merge pull request #2999 from matmair/fix-todos
Fix Todo texts
2022-05-16 09:16:34 +10:00
Matthias
74a3abc4a2 make args wider 2022-05-15 23:26:46 +02:00
Matthias
ecccfbd546 Remove encoding header
Fixes #2996
2022-05-15 20:33:00 +02:00
Matthias
9c342e1fe3 fix definition 2022-05-15 20:06:07 +02:00
Matthias
a8d3ee15bf fix func definition 2022-05-15 20:05:56 +02:00
Matthias
cced30c081 pass through request data 2022-05-15 18:41:39 +02:00
Matthias
23608e6933 remove unneeded args 2022-05-15 18:36:33 +02:00
Matthias
d9fe7ac272 general Todo - no specific task
removed therefore
2022-05-15 18:09:39 +02:00
Matthias
f4fbd57e6e errors fail whole plugins now so no saving 2022-05-15 18:09:05 +02:00
Matthias
45d70737bd we do not have server stats checks so this does not make sende 2022-05-15 18:08:42 +02:00
Matthias
9e590c1bc6 this seems fine - just keep it that way 2022-05-15 18:06:32 +02:00
Matthias
c7a2d11893 refactor to make simpler 2022-05-15 18:02:12 +02:00
Matthias
ca0508f2f0 update to https to match hotspots 2022-05-15 17:22:58 +02:00
Matthias
076098a0e0 use static reference
this is stupid but is required
2022-05-15 16:50:17 +02:00
Oliver Walters
28b811d961 PEP style fixes 2022-05-16 00:47:00 +10:00
Matthias
0c0b2efbe0 raise error 2022-05-15 16:46:05 +02:00
Oliver Walters
097afed78e Adds metadata mixin class for adding JSON field to internal tables
- Add metadata field to stocklocation
- Add metadata field to stockitem
2022-05-16 00:45:16 +10:00
Oliver Walters
818be32e31 Move location plugin sample into its own directory 2022-05-16 00:35:34 +10:00
Oliver Walters
eebdad154a PEP fixes 2022-05-16 00:12:33 +10:00
Oliver Walters
95dbfa1958 Merge remote-tracking branch 'inventree/master' into locate-mixin
# Conflicts:
#	InvenTree/InvenTree/api.py
#	InvenTree/InvenTree/urls.py
#	InvenTree/plugin/base/integration/mixins.py
#	InvenTree/plugin/mixins/__init__.py
2022-05-16 00:10:38 +10:00
Oliver Walters
fa954b3812 Merge remote-tracking branch 'inventree/master' into locate-mixin
# Conflicts:
#	InvenTree/InvenTree/api_version.py
#	InvenTree/InvenTree/urls.py
2022-05-15 23:44:07 +10:00
Matthias Mair
dcbd9d906b Update errors 2022-05-15 04:47:45 +02:00
Matthias
897dd115f9 PEP fix 2022-05-15 04:14:13 +02:00
Matthias
b0439267ea fix error-type to use custom errors 2022-05-15 04:12:57 +02:00
Matthias
025c6f9b82 raise proper error 2022-05-15 04:08:45 +02:00
Matthias
7a102dcd8e PEP fix 2022-05-15 03:22:43 +02:00
Matthias
976cbfbb8b remove old definition 2022-05-15 03:20:11 +02:00
Matthias
5048d51558 Refactor printer into own base dir 2022-05-15 03:19:47 +02:00
Matthias
43b1d25016 PEP fix 2022-05-15 03:06:35 +02:00
Matthias
4fa23cbe4d split up tests 2022-05-15 02:58:01 +02:00
Matthias
777e3f42df fix test 2022-05-15 02:57:23 +02:00
Matthias
68940deb5b rename test 2022-05-15 02:56:05 +02:00
Matthias
e68cd009f6 fix input 2022-05-15 02:54:21 +02:00
Matthias
eb7e9f4703 test url args in action 2022-05-15 02:49:08 +02:00
Matthias
7abdffae0d Add post test 2022-05-15 02:48:59 +02:00
Matthias
7c0dea69b0 add test for api_call with full url 2022-05-15 02:42:40 +02:00
Matthias
039dbbbe7e fix doctest 2022-05-15 02:40:23 +02:00
Matthias
442341de50 split into more tests 2022-05-15 02:39:55 +02:00
Matthias
3e6b37bf55 Add test without simple_response 2022-05-15 02:35:06 +02:00
Matthias
8c6061d3b7 move failing test to seperate test 2022-05-15 02:32:26 +02:00
Matthias
aeaf15b374 Test action error messages 2022-05-15 02:25:30 +02:00
Matthias
abac26725b use returns for checks 2022-05-15 01:47:44 +02:00