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 |
|
Matthias
|
fadf4d5ca8
|
fix tests
|
2021-10-03 14:25:40 +02:00 |
|
Matthias
|
094feec495
|
also run tests in samples
|
2021-10-03 14:23:13 +02:00 |
|
Matthias
|
8fc2610a9d
|
simplify loading
|
2021-10-03 14:16:21 +02:00 |
|
Matthias
|
cd343d224b
|
PEP fix
|
2021-10-03 13:44:30 +02:00 |
|
Matthias
|
9695d50bf4
|
enable templates for plugins
|
2021-10-03 13:39:11 +02:00 |
|
Matthias
|
04eee50653
|
initiate plugins on startup
|
2021-10-03 13:36:42 +02:00 |
|
Oliver
|
fdfc65ad4d
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:15 +10:00 |
|
Oliver
|
f7a2f5927d
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:13 +10:00 |
|
Oliver
|
378f87ee08
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:12 +10:00 |
|
Oliver
|
a48a013685
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:11 +10:00 |
|
Oliver
|
af421a7d35
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:10 +10:00 |
|
Oliver
|
f0ce58cfb9
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:08 +10:00 |
|
Oliver
|
fb1ae01262
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:05 +10:00 |
|
Oliver
|
d6ac20bb8a
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:04 +10:00 |
|
Oliver
|
f0adb19dd7
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:03 +10:00 |
|
Oliver
|
c5c2b07a75
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:38:00 +10:00 |
|
Oliver
|
c4f33f478f
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:37:59 +10:00 |
|
Oliver
|
9b95dd7961
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:37:58 +10:00 |
|
Oliver
|
610b1b62a4
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:37:56 +10:00 |
|
Oliver
|
2ad87a044c
|
Fix: New translations django.po from Crowdin
|
2021-10-03 01:37:55 +10:00 |
|