Matthias Mair
9d1c146a40
Merge branch 'inventree:master' into plugin-2037
2021-10-04 23:26:59 +02:00
Oliver
ae0efe73d1
Further improvements to build allocation form
...
- Auto-allocation button ignores outputs which are complete
- StockItem API allows filtering by BomItem
- Quantity inputs are now auto-filled
- Display progress bar in the modal form
2021-10-05 08:25:10 +11:00
Oliver
0c04bfaa85
Move "rebuild_thumbnails" to being a management command
...
- Does not run every time the server reboots
- Has to be called manually
- Normally does not need to be run and is a long-running process!
2021-10-05 08:05:26 +11:00
Matthias
2d5854e1e5
fix nav error
2021-10-04 23:00:07 +02:00
Matthias
c7a077fb33
more human datetimes
2021-10-04 22:59:07 +02:00
Matthias
4dbf87da56
refactor
2021-10-04 22:47:26 +02:00
eeintech
a735a3e15c
Added migration file
2021-10-04 16:41:41 -04:00
Matthias
950ae247a5
cleaner signature status
2021-10-04 22:39:45 +02:00
Matthias
a79dba5ed3
plugin information section remodel
2021-10-04 22:37:09 +02:00
Matthias
7ad9cf3b3d
human name in navbar
2021-10-04 22:22:37 +02:00
Matthias
f406ad7537
only show version if present
2021-10-04 22:21:15 +02:00
Matthias
40789db66c
better readable badges
2021-10-04 22:20:50 +02:00
Matthias
e7237d13ae
added version identifier
2021-10-04 22:10:31 +02:00
eeintech
6e31a8111b
Fix plural name for Companies in Admin interface
2021-10-04 15:57:07 -04:00
Matthias
ef858f7701
publishing date for integration plugins
2021-10-04 20:00:27 +02:00
Matthias
575be5b36a
author information for integration plugin
2021-10-04 19:54:20 +02:00
Matthias
cec29310dc
struc
2021-10-04 19:50:56 +02:00
Matthias
90d36069c8
add navigation icon
2021-10-04 19:40:55 +02:00
Matthias
87fff78944
navigtion-mixin icon setting
2021-10-04 19:30:54 +02:00
Matthias
a5c7676be6
set nav-tab name
2021-10-04 19:25:42 +02:00
Matthias
117baa72eb
nav mixin: set nav-tab name
2021-10-04 19:24:41 +02:00
Oliver
17df4ca91e
Refactor allocation form
...
- The data is already loaded in the main table!
- Why would we want to throw that data away?
2021-10-05 01:05:42 +11:00
Oliver
28509dbd68
Remove old unit test
2021-10-05 00:48:03 +11:00
Oliver
dd4db6442e
PEP fixes
2021-10-05 00:45:49 +11:00
Oliver
40f1ccf9f8
Remove BuildAutoAllocate form
2021-10-05 00:40:10 +11:00
Oliver
416ba51e22
Add auto-fill option to select2 inputs on API forms
...
- WIll fill input if a single result is returned
2021-10-05 00:39:22 +11:00
Oliver
8a90b9df6d
Improve clean() function for BuildItem model
...
- BuildItemDelete now handled by API forms
- BuildItemEdit now handled by API forms
2021-10-05 00:14:31 +11:00
Oliver
8f298f71ef
Add detail API endpoint for BuildItem model
2021-10-04 23:57:02 +11:00
Oliver
5ded23fd99
Fixes for serializer validation
...
- Note: use the validate() function!
- Ref: https://www.django-rest-framework.org/api-guide/serializers/
- override serializer.save() functionality for simpler operation
2021-10-04 23:44:23 +11:00
Oliver
074466f087
Updates for stock allocation form
...
- Data submission
- Nested error handling
- Button callbacks to remove rows
2021-10-04 23:20:03 +11:00
Oliver
a9d5b776d3
Adds error handling of nested form fields in the API form processing layer
...
- Muy complejo
- But the results speak for themselves!
-This will need to be rolled out into the coming refactor...
2021-10-04 22:41:59 +11:00
Matthias
9ed502f1ae
plugin name nicer
2021-10-04 12:31:31 +02:00
Matthias
258d159093
human name for plugins
2021-10-04 12:31:12 +02:00
Matthias
d1c2a399eb
Default value for SLug is None
2021-10-04 12:19:43 +02:00
Matthias
d6145fc803
fix test
2021-10-04 12:07:35 +02:00
Matthias
63e7a9caee
PEP fix
2021-10-04 12:06:27 +02:00
Oliver
75a35773c6
More unit tests
2021-10-04 20:44:15 +11:00
Oliver
957867f504
Implement unit tests for new build allocation API feature
2021-10-04 18:53:10 +11:00
Oliver
99c1819c69
Implement API endpoint and serializer for allocation of stock items
2021-10-04 18:26:30 +11:00
Oliver
22d6d49b97
Create a select2 stockitem input and a quantity input for each allocation row
2021-10-04 17:42:47 +11:00
Oliver
cd657daf50
Fixes for stockitem rendering in API forms
...
- Also improved rendering for other models
2021-10-04 17:41:09 +11:00
Oliver
49dc88abbc
Add configurable options for the stockitem renderer
2021-10-04 17:31:38 +11:00
Matthias
7654d176cb
slugs for plugins
2021-10-04 07:59:07 +02:00
Oliver
eba0d15fe4
Rough layout of javascript function
...
- allocateStockToBuild
- provide build ID and part ID
- optionally provide output ID
- optionally provide list of part ID to filter against
2021-10-04 16:11:15 +11:00
Matthias
b416a13cc8
rename to make function of base class clearer
2021-10-04 00:53:01 +02:00
Matthias
0333b3fc72
mixin for full app functions
...
mainly migrations right now
2021-10-04 00:48:21 +02:00
Oliver
dfdbb4f7d1
Update version.py
...
Bumped version number for dev branch
2021-10-04 09:35:21 +11:00
Matthias
b31c7ccd24
PEP fix
2021-10-03 15:02:47 +02:00
Matthias
c5fc8ba6ab
typo fix
2021-10-03 14:52:36 +02:00
Matthias
d977aac6a0
fix test for actions
2021-10-03 14:51:37 +02:00