Matthias
1387709281
remove coverage from reverse action
2022-03-29 00:01:34 +02:00
Matthias
4cde888be6
fix docstrings
2022-03-28 23:59:50 +02:00
Matthias
5dcb84ec0f
stop adding blank part entries
2022-03-28 23:59:28 +02:00
Matthias
2bbad1d387
add unit test for migration
2022-03-28 23:52:26 +02:00
Matthias
e1b3de001f
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2694
2022-03-27 23:19:41 +02:00
Matthias
760dafcdb2
use sub-context for migrations
2022-03-27 23:18:20 +02:00
Matthias
a724908423
remove blank line
2022-03-27 23:14:28 +02:00
Oliver
aed7a35312
Merge pull request #2782 from SchrodingersGat/floating-point-fixes
...
Fix floating point issues
2022-03-27 21:57:44 +11:00
Oliver Walters
441a947dbb
Fix another quantity
2022-03-27 21:06:11 +11:00
Oliver Walters
ce323d80ea
Fix floating point issues
2022-03-27 20:29:59 +11:00
Matthias
7a32f8edfc
add migration to convert items
2022-03-27 04:18:19 +02:00
Oliver
dc8b986fc6
Merge pull request #2780 from SchrodingersGat/location-sort
...
Fix sorting for location column in part table
2022-03-27 12:48:34 +11:00
Matthias
085a7c7d11
unify migrations
2022-03-27 03:16:49 +02:00
Matthias
a1a743513f
add context to extra lines
2022-03-27 01:55:55 +01:00
Matthias
68a02af9cd
finish renaming SO / PO
2022-03-27 01:41:16 +01:00
Matthias
28cec5e9e5
make function simpler
2022-03-27 01:13:09 +01:00
Matthias
bff2fb81f3
rename AdditionalLineItems to ExtraLine
2022-03-27 01:11:25 +01:00
Oliver Walters
5b949b6f60
Fix sorting for location column in part table
2022-03-27 07:45:45 +11:00
Oliver
1bdebe1324
Merge pull request #2776 from SchrodingersGat/printer-dimensions
...
Supply label width and height to the label printing plugin
2022-03-26 16:57:11 +11:00
Oliver Walters
e18493a397
Supply label width and height to the label printing plugin
2022-03-26 13:43:48 +11:00
Oliver
223744eba1
Merge pull request #2775 from SchrodingersGat/print-error-tweak
...
Register notification against the plugin class, not the particular label
2022-03-26 11:25:55 +11:00
Oliver Walters
3e484317d2
Register notification against the plugin class, not the particular label
2022-03-25 23:49:15 +11:00
Oliver
b57c4591e5
Merge pull request #2774 from SchrodingersGat/setuptools-version
...
Pin setuptools version
2022-03-25 22:32:47 +11:00
Oliver Walters
fcfdec0ad6
Fix requirements.txt formatting
2022-03-25 21:47:38 +11:00
Oliver Walters
03eb5441c7
Pin setuptools version
...
- Recent update seems to have borked it
2022-03-25 21:43:10 +11:00
Oliver
db61c39400
Merge pull request #2773 from SchrodingersGat/plugin-api-permissions
...
Plugin api permissions
2022-03-25 17:21:32 +11:00
Oliver
6e30ec5603
PEP fix
2022-03-25 16:42:20 +11:00
Oliver
15a221509b
Bump API version
2022-03-25 16:40:30 +11:00
Oliver
052d9770ce
Override view permissions for plugin list API
...
- It is necessary for *any* logged in user to view this endpoint
- This is how the user determines which plugins are available (e.g. for label printing!)
2022-03-25 16:39:43 +11:00
Oliver
42f03296d2
Merge pull request #2772 from SchrodingersGat/print-failed
...
Send notification if printing fails
2022-03-25 16:22:30 +11:00
Oliver
9046c74628
Only send printing failed as a UI notification
2022-03-25 16:05:35 +11:00
Oliver
c1b408f8a3
Send notification if printing fails
...
If label printing fails (due to a plugin error) then the user is notified.
2022-03-25 15:57:32 +11:00
Oliver
5921964fdb
Merge pull request #2771 from SchrodingersGat/plugin-settings-fix
...
Ensure that kwargs are correctly passed through the settings chain
2022-03-25 14:53:22 +11:00
Oliver
011d97db3d
Tweak display of label printing plugins
2022-03-25 14:20:25 +11:00
Oliver
bc48a95844
PEP fixes
2022-03-25 14:13:02 +11:00
Oliver
5ee9af7f0e
Remove old "get_filters" function
...
- It was confusing!
- Manually filter where required
2022-03-25 14:10:05 +11:00
Oliver
63b5b95610
Ensure that kwargs are correctly passed through the settings chain
...
Problem: validate_unique fails
- Otherwise, the <plugin> object is not correctly passed
- Then, validate_unique fails
2022-03-25 13:43:19 +11:00
Oliver
fd03db4363
Merge pull request #2769 from SchrodingersGat/api-endpoint
...
Add 'plugins_enabled' information to the root API endpoint
2022-03-24 20:48:25 +11:00
Oliver Walters
acd796f127
Add 'plugins_enabled' information to the root API endpoint
2022-03-24 20:11:17 +11:00
Oliver
36665a7622
Merge pull request #2768 from SchrodingersGat/label-printing-plugin
...
Label printing plugin
2022-03-24 17:07:49 +11:00
Oliver
708ba566cb
URL fix
2022-03-24 16:44:46 +11:00
Oliver
b2b9ceec46
javascript fixes
2022-03-24 16:38:01 +11:00
Oliver
f24aa37f8f
Allow labels to be printed from the "incomplete build output" table
2022-03-24 16:34:47 +11:00
Oliver
2fc522ad15
Hard code url - it is not always available
2022-03-24 16:34:31 +11:00
Oliver
fcdd1eb55b
Remove old function call
2022-03-24 16:18:50 +11:00
Oliver
efc6af5f4c
PEP fixes
2022-03-24 16:18:08 +11:00
Oliver
f50dab22a6
fixes for label template
2022-03-24 16:17:04 +11:00
Oliver
6c25a5805d
Allow offloading of label printing to the configured plugin
2022-03-24 14:57:01 +11:00
Oliver
f1f07a1977
Extract plugin information from label printing request
2022-03-24 13:31:01 +11:00
Oliver
e62b6063bb
If printing plugins are available, let the user select them when printing
2022-03-24 13:20:26 +11:00