2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 02:55:41 +00:00
Commit Graph

14126 Commits

Author SHA1 Message Date
47673c293e Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-app-refactor 2022-05-12 23:45:12 +02:00
c2dd8afea6 Merge pull request #2981 from SchrodingersGat/model-setting-reference
Add settings which reference *model instances* allowing better lookup of models
2022-05-12 17:59:56 +10:00
c4fa72e54c PEP style fixes 2022-05-12 17:30:52 +10:00
a81ea01e8e Model introspection
- Find the class registered to the model (or log an error)
- Pass the api_url through to the frontend
2022-05-12 17:28:55 +10:00
e112d555d4 Simplify the various settings objects, to improve retrieval of 'parameters' from the base class
- Remove the GenericReferencedSettingsClass mixin
- Each subclass defines a very simple get_kwargs() method
- Now, at object level *and* class level we can perform lookup of settings and actually get proper data back
- Adds "model" option to setting (precursor of things to come)
2022-05-12 16:45:27 +10:00
a68db90240 Merge pull request #2978 from SchrodingersGat/convert-to-variant-fix
Convert to variant fix
2022-05-12 15:42:22 +10:00
59cf9825fe Update comment 2022-05-12 15:16:26 +10:00
47ddafb728 Fix edge case when converting stock item to variant
- If the stock item had been created as part of a Build Order, and subsequently "converted" to a variant part, the conversion operation will fail
- Patch allows the build reference to be linked based on either the base part, or any conversion options
2022-05-12 15:15:51 +10:00
56f36d4b4b Merge pull request #2977 from SchrodingersGat/table-downloader
Adding "download" buttons for more tables
2022-05-12 13:27:11 +10:00
8edc0cc893 PEP fixes 2022-05-12 12:47:25 +10:00
a83c3289b7 Merge remote-tracking branch 'inventree/master' into table-downloader 2022-05-12 12:44:26 +10:00
c89547f58c Adds exporter and download functionality for BuildOrder table 2022-05-12 12:44:15 +10:00
e3508f99d9 Merge pull request #2976 from SchrodingersGat/auth-middleware-fix
Do not redirect requests for media / static / api / js files
2022-05-12 12:05:02 +10:00
d0ddb47b1f Adds exporter and download button for sales orders 2022-05-12 11:44:05 +10:00
1b1f7634b7 Adds exporter and download button for PurchaseOrder table 2022-05-12 11:41:25 +10:00
465e69c254 Refactor exporters for:
- Part
- PurchaseOrderLineItem
2022-05-12 11:33:17 +10:00
a77d4b97b4 Refactor stock_list endpoint to use the new mixin 2022-05-12 11:29:33 +10:00
650d082eca Bump API version 2022-05-12 11:23:58 +10:00
774bfdb9e7 Adds APIDownloadMixin class to implement common behaviour 2022-05-12 11:22:34 +10:00
21d2b54afe Fix CI step 2022-05-12 11:00:43 +10:00
aa9ee15fb4 Fix CI pipeline for python checks
- Recently updated the python binding test framework
2022-05-12 10:52:53 +10:00
151f2cae6f Do not redirect requests for media / static / api / js files
- For these paths, just return a 401
- This is necessary to stop unauthorized calls to the API or to request media files from redirecting to the login page
2022-05-12 10:45:30 +10:00
af8bddf690 fix boolean comp 2022-05-12 02:30:37 +02:00
262409eba9 Merge branch 'inventree:master' into theme-tests 2022-05-12 01:51:23 +02:00
4ed795174d PEP fix 2022-05-12 00:52:28 +02:00
3d580e732f change test to slug 2022-05-12 00:51:02 +02:00
eaab905bfd reset plugin name default 2022-05-12 00:50:29 +02:00
142398976c test plugin details 2022-05-12 00:38:21 +02:00
bd42fea5fa another pep check 2022-05-12 00:07:19 +02:00
699db12b24 make test more precise 2022-05-12 00:04:37 +02:00
a6e889b25e pep fix 2022-05-12 00:04:29 +02:00
c809398bda Add check for IntegrationPluginBase depreciation 2022-05-12 00:01:23 +02:00
da3b7ae7d0 fix assertation typ 2022-05-11 23:57:21 +02:00
c274228806 fix test 2022-05-11 23:46:41 +02:00
8becad3c0a reset zero behaviour 2022-05-11 23:45:45 +02:00
c462399fef check if depreciation fires 2022-05-11 23:45:17 +02:00
2c83728f71 also check message 2022-05-11 23:27:42 +02:00
f8e51c0873 fix test 2022-05-11 23:21:42 +02:00
912d0625f0 PEP fix 2022-05-11 23:12:27 +02:00
432a9b2e4d add warning if plugin testing - is need to probe for 2022-05-11 23:12:21 +02:00
4397f57acc test that a save() action on a plugin is reloading 2022-05-11 23:11:54 +02:00
baca0dc268 do not cover error 2022-05-11 23:05:22 +02:00
8a91fc362b test plugin model more 2022-05-11 23:05:08 +02:00
da885456b7 tests for template 2022-05-11 22:47:41 +02:00
fdc6c8300a Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-app-refactor 2022-05-11 22:03:32 +02:00
8366620c1d add test for user creation 2022-05-11 22:02:41 +02:00
86f663e834 this was only used for testing 2022-05-11 21:58:14 +02:00
63fa527fa4 ignore for cover 2022-05-11 21:58:03 +02:00
cea55a6ed9 Merge branch 'plugin-app-refactor' of https://github.com/matmair/InvenTree into plugin-app-refactor 2022-05-11 21:53:21 +02:00
036b58ea04 update path in test 2022-05-11 21:52:49 +02:00