Commit Graph

9694 Commits

Author SHA1 Message Date
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
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
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
Oliver
dfdbb4f7d1
Update version.py
Bumped version number for dev branch
2021-10-04 09:35:21 +11: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
Oliver
0b70ba756d Fix: New translations django.po from Crowdin 2021-10-03 01:37:54 +10:00
Oliver
b288072ac7 Fix: New translations django.po from Crowdin 2021-10-03 01:37:52 +10:00
Oliver
ae016b0fe6 Fix: New translations django.po from Crowdin 2021-10-03 01:37:51 +10:00
Oliver
6fc9e7868d Fix: New translations django.po from Crowdin 2021-10-03 01:37:49 +10:00
Oliver
b7ff50ca87
Merge pull request #2090 from SchrodingersGat/po-api-fix
Fix for purchase order API
2021-10-03 01:33:23 +10:00
Oliver
8c78d3b8ea Add unit test 2021-10-03 01:03:40 +10:00
Oliver
6d448d8475 Handle internal django errors when receiving purchase order items via the API
(cherry picked from commit 9355c68024)
2021-10-03 00:24:09 +10:00
Oliver
a4f33ad839 Fix: New translations django.po from Crowdin 2021-10-01 08:51:29 +10:00
Oliver
6c8c45f1df Fix: New translations django.po from Crowdin 2021-10-01 08:51:28 +10:00
Oliver
fdcd836d11 Fix: New translations django.po from Crowdin 2021-10-01 08:51:27 +10:00
Oliver
7ab7cb1d6b Fix: New translations django.po from Crowdin 2021-10-01 08:51:25 +10:00
Oliver
ff6b4afb6d Fix: New translations django.po from Crowdin 2021-10-01 08:51:24 +10:00
Oliver
9185b18fd1 Fix: New translations django.po from Crowdin 2021-10-01 08:51:23 +10:00
Oliver
7db4f23c31 Fix: New translations django.po from Crowdin 2021-10-01 08:51:21 +10:00
Oliver
0970df1178 Fix: New translations django.po from Crowdin 2021-10-01 08:51:20 +10:00
Oliver
e91237e2f3 Fix: New translations django.po from Crowdin 2021-10-01 08:51:19 +10:00
Oliver
9887ca7dd5 Fix: New translations django.po from Crowdin 2021-10-01 08:51:18 +10:00
Oliver
511624d827 Fix: New translations django.po from Crowdin 2021-10-01 08:51:16 +10:00
Oliver
23a51c08b5 Fix: New translations django.po from Crowdin 2021-10-01 08:51:15 +10:00
Oliver
0d5c9d1179 Fix: New translations django.po from Crowdin 2021-10-01 08:51:14 +10:00
Oliver
eb9a1657ca Fix: New translations django.po from Crowdin 2021-10-01 08:51:12 +10:00
Oliver
5634ecf45a Fix: New translations django.po from Crowdin 2021-10-01 08:51:11 +10:00
Oliver
60368ae3cd Fix: New translations django.po from Crowdin 2021-10-01 08:51:10 +10:00
Oliver
e21b7f3663 Fix: New translations django.po from Crowdin 2021-10-01 08:51:09 +10:00