Matthias Mair
2d65f6f905
Merge branch 'inventree:master' into fr-1421-sso
2021-10-06 02:01:16 +02:00
Oliver
05de802d1d
javascript linting
2021-10-06 09:14:06 +11:00
Oliver
95e7cc7a5d
Fixes for unit tests
2021-10-06 08:56:24 +11:00
Oliver
dd760bfecd
Add filtering by "completed" status for purchase order line items
2021-10-05 17:15:41 +11:00
Oliver
5e951ef64b
Add 'filtering' for purchase order line item table
2021-10-05 16:57:33 +11:00
Oliver
ce7552bc5b
JS linting
2021-10-05 16:10:46 +11:00
Oliver
dd4428464d
Receiving items against a purchase order now makes use of the API forms
...
- Delete old unused code
- Improve serializer validation
2021-10-05 16:05:18 +11:00
Oliver
a579bc8721
Initialize destination field
2021-10-05 15:10:16 +11:00
Oliver
b75e817447
Construct bare-bones API form
2021-10-05 14:57:50 +11:00
Oliver
e39f1c320c
Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements
2021-10-05 12:53:47 +11:00
Oliver
a3ba33cae8
Fixes for build output tables
...
- Only show "completed" builds in the "completed builds" table (should be obvious)
- Display "serial number" appropriately in build output allocation table
2021-10-05 12:32:54 +11:00
Oliver
7ecd4c70e7
JS linting
2021-10-05 11:02:57 +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
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
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
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
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
ab9d247531
server-side pagination for manufacturer part table
2021-09-30 20:17:10 +10:00
Oliver
b9c8e46e1c
Fixes for supplierpart table
...
- Paginate on server side
2021-09-30 20:12:27 +10:00
Oliver
15d96a3288
Fix for URL in supplier parts table
2021-09-30 19:50:16 +10:00
Oliver
6cf144c61f
Retain "original" search parameter in query
2021-09-30 17:53:14 +10:00
Oliver
b1730914c3
Display "full_name" rather than "name" in quick search bar
2021-09-29 22:12:20 +10:00
Matthias Mair
acbea53a3d
Merge branch 'inventree:master' into fr-1421-sso
2021-09-29 00:41:25 +02:00
Oliver
ef01bdff07
Fix links in part table
2021-09-27 11:42:47 +10:00
Oliver
beaa93f9b5
Fix ?display= URLs for part stock view
2021-09-27 11:41:24 +10:00
Oliver
f53aac0784
Remove "default_supplier" field when duplicating a part
2021-09-24 12:04:36 +10:00
Oliver
d2b9993e96
Fix form filters for "default_supplier"
2021-09-24 12:04:25 +10:00
Matthias Mair
44c5003839
Merge branch 'inventree:master' into fr-1421-sso
2021-09-24 00:32:38 +02:00
rocheparadox
c1a827819c
css for part to occupy full height - fix for bug Inventree#1848
2021-09-20 17:00:45 +05:30
Oliver
5bd5c61b9d
Fix callback for test template table
2021-09-14 10:43:40 +10:00
Matthias
847fb62ab5
js style
2021-09-13 23:25:13 +02:00
Matthias
c890a4a6d0
only add button per name once
2021-09-13 23:18:44 +02:00
Oliver
387680fbcd
More linting
2021-09-08 13:13:40 +10:00
Oliver
a32a30de52
javascript linting
2021-09-08 13:02:03 +10:00
Oliver
8368798280
Move po-line-item-table into javascript file
...
- for better linting
2021-09-08 12:51:49 +10:00
Oliver Walters
f349dc01ea
JS lint
2021-09-07 23:41:13 +10:00
Oliver Walters
125554c53f
Merge remote-tracking branch 'upstream/master' into receive-via-api
...
# Conflicts:
# InvenTree/templates/js/dynamic/inventree.js
# InvenTree/templates/js/translated/forms.js
# InvenTree/templates/js/translated/tables.js
2021-09-07 22:34:00 +10:00
Matthias
dd5a11b921
PEP fixes
2021-09-05 10:37:14 +02:00
Matthias
6e8bf01a97
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso
2021-09-05 10:29:57 +02:00
Oliver Walters
e5872f4b67
improve js debug comment
2021-09-03 23:16:35 +10:00