Oliver
7ecd4c70e7
JS linting
2021-10-05 11:02:57 +11:00
Oliver
e7d78db87b
Fixes for unit tests
2021-10-05 10:53:11 +11:00
Oliver
b90838db9c
Fix: New translations django.po from Crowdin
2021-10-05 10:43:56 +11:00
Oliver
4f7f9ae7bc
Fix: New translations django.po from Crowdin
2021-10-05 10:43:55 +11:00
Oliver
08ef8642a0
Fix: New translations django.po from Crowdin
2021-10-05 10:43:53 +11:00
Oliver
1a2ad29b67
Fix: New translations django.po from Crowdin
2021-10-05 10:43:52 +11:00
Oliver
6682d60eb6
Fix: New translations django.po from Crowdin
2021-10-05 10:43:51 +11:00
Oliver
0a258f9cd0
Fix: New translations django.po from Crowdin
2021-10-05 10:43:49 +11:00
Oliver
7b027f96f6
Fix: New translations django.po from Crowdin
2021-10-05 10:43:48 +11:00
Oliver
58fb20949d
Fix: New translations django.po from Crowdin
2021-10-05 10:43:47 +11:00
Oliver
4c72e29e61
Fix: New translations django.po from Crowdin
2021-10-05 10:43:46 +11:00
Oliver
8fe8dd0067
Fix: New translations django.po from Crowdin
2021-10-05 10:43:44 +11:00
Oliver
1ef31d0f2a
Fix: New translations django.po from Crowdin
2021-10-05 10:43:43 +11:00
Oliver
da2e278f15
Fix: New translations django.po from Crowdin
2021-10-05 10:43:42 +11:00
Oliver
bf6bd514f2
Fix: New translations django.po from Crowdin
2021-10-05 10:43:41 +11:00
Oliver
0055f1331b
Fix: New translations django.po from Crowdin
2021-10-05 10:43:39 +11:00
Oliver
e209eb5beb
Fix: New translations django.po from Crowdin
2021-10-05 10:43:38 +11:00
Oliver
29afe328d1
Fix: New translations django.po from Crowdin
2021-10-05 10:43:37 +11:00
Oliver
c9ce2949db
Fix: New translations django.po from Crowdin
2021-10-05 10:43:35 +11:00
Oliver
6a6b7f57ce
Fix: New translations django.po from Crowdin
2021-10-05 10:43:34 +11:00
Oliver
09d0dd20fe
Merge pull request #2097 from eeintech/companies_admin
...
Fix plural name for Companies in Admin interface
2021-10-05 10:40:04 +11:00
Oliver
563deb5ffa
Add ability to specify "source location" for stock allocations
...
- Defaults to build.take_from
- User-selectable at run-time
- Selected value affects select2 query
2021-10-05 10:38:18 +11:00
Oliver
76668b0d54
Remove unused code (views / forms)
2021-10-05 09:21:33 +11:00
Oliver
f6cf84f912
Form now works for "tracked" build outputs
2021-10-05 08:48:50 +11:00
Matthias Mair
56221a33bf
Merge branch 'inventree:master' into fr-1421-sso
2021-10-04 23:26:07 +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
eeintech
a735a3e15c
Added migration file
2021-10-04 16:41:41 -04:00
eeintech
6e31a8111b
Fix plural name for Companies in Admin interface
2021-10-04 15:57:07 -04: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
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