Oliver
ccaa7d2683
Merge branch 'master' into build-output-complete
2021-10-16 13:18:35 +11:00
Oliver
41e59e5311
Right align expand buttons
2021-10-16 13:01:19 +11:00
Oliver
4702c6b37f
Refactorin'
2021-10-15 00:25:36 +11:00
Oliver
0d49513092
Add button callbacks for top-level table
2021-10-14 23:58:03 +11:00
Oliver
bf47b57c82
working on updating build output tables
2021-10-14 23:46:21 +11:00
Oliver
54dd05a24d
Add an API serializer to complete build outputs
2021-10-14 23:13:01 +11:00
Oliver
4327cbedce
Remove debug message
2021-10-14 18:01:16 +11:00
Oliver
9b00ede61a
Add part queryset filtering to exclude particular ID values
2021-10-14 17:12:08 +11:00
Oliver
0c60387626
Extract a list of existing substitute parts from the form
2021-10-14 16:50:56 +11:00
Oliver
05791a8efd
Merge pull request #2138 from rocheparadox/master
...
Custom name format for parts - FR InvenTree#2085
2021-10-14 16:03:58 +11:00
Oliver
44b4061d7d
Fix table filtering bug
...
- Introduced in recent "BOM substitutes" PR
2021-10-14 11:56:26 +11:00
Oliver
7dfffcd5d3
Move "build unallocate" functionality to the API
...
- Much much simpler now!
- Filtering is against bom_item, not part
- Fixes a bug with the new (reasonably complex) substitution framework
2021-10-14 10:32:43 +11:00
Oliver
1cbce5dfbf
javascript fixes
2021-10-14 09:14:31 +11:00
Oliver
890741ef5d
Display badge indicating variant stock can be used
2021-10-13 23:57:50 +11:00
Oliver
be5c5496b2
Improvements to allocation of stock items against build orders
...
- Refactor functions for filtering stock using bom_item pk
- Allow selection of substitute items when allocating against build order
- Improvements for modal rendering
- Don't display filter drop-down if there are no filters available
2021-10-13 23:53:35 +11:00
Oliver
0f8c279aa2
Add some unit testing for the new model
2021-10-13 22:27:10 +11:00
Oliver
8512c2db75
Reload the parent table when adding or removing substitutes
2021-10-13 22:06:51 +11:00
Oliver
ea4c4c514f
Add uniqueness checking for the BomItemSubstitute model
2021-10-13 22:01:32 +11:00
Oliver
0e1e8226b1
Add a callback to remove individual rows
2021-10-13 21:42:50 +11:00
Oliver
8b41e68e6b
Launch a dialog displaying the available BOM substitutes
2021-10-13 21:33:41 +11:00
Oliver
6803f3cf63
Display "substitutes available" icon
2021-10-13 20:36:31 +11:00
Oliver
f3f41730be
Add "substitutes" column to BOM table
2021-10-13 11:58:40 +11:00
rocheparadox
beadfb4659
Merge remote-tracking branch 'upstream/master'
2021-10-11 22:29:01 +05:30
rocheparadox
2d77b21a4e
PART_NAME_FORMAT is introduced to display the names of parts in custom format. - For Feature Request InvenTree#2085
...
full_name construction in part.js is obsolete/redundant since the same is constructed in backend and sent through api response
2021-10-11 22:21:12 +05:30
Oliver
19a8c712d4
Merge pull request #2017 from matmair/fr-1421-sso
...
SSO!
2021-10-11 17:20:08 +11:00
Oliver
25031e09e4
Enable setting for legacy launchModalForm function
2021-10-11 11:22:17 +11:00
Oliver
a32b5fdd64
Adds setting to close forms using escape key
...
- Configurable per user
- Default = false (to preserve behavior)
2021-10-11 11:16:33 +11:00
Oliver
8d33ee6298
Merge pull request #2129 from SchrodingersGat/sub-part-from-bom
...
Add option to BomItem form to create a new part
2021-10-11 10:59:30 +11:00
Oliver
ede4ac9219
Add option to BomItem form to create a new part
2021-10-11 10:40:03 +11:00
Oliver
00275d61eb
Auto-focus on the 'sub_part' field
2021-10-11 10:25:36 +11:00
Matthias Mair
848a72604e
Merge branch 'inventree:master' into fr-1421-sso
2021-10-08 22:38:16 +02:00
Oliver
77c6e5e57e
Update display of BOM table based on the configurable setting
2021-10-08 12:47:51 +11:00
Matthias
fe7ab40b48
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso
2021-10-07 18:12:25 +02:00
Oliver
64cf916c50
Add a form to select export format
2021-10-07 13:33:10 +11:00
Oliver
31665e3b8d
Enable editing of "sales order" from build order
...
- Add a renderer for the sales order model
2021-10-07 10:45:14 +11:00
Oliver
d9fddf64f1
Make this setting a per-user setting
2021-10-06 22:22:20 +11:00
Oliver
166af3592d
Add optional display of part stock quantity in forms
2021-10-06 22:12:59 +11:00
Oliver
a8388b0999
JS linting
2021-10-06 20:35:51 +11:00
Oliver
5cdf5a2670
Only include "in stocK" field if the sales order is pending
2021-10-06 20:16:59 +11:00
Oliver
336b05aa4e
Exclude sales order allocations when searching stock
2021-10-06 17:42:00 +11:00
Oliver
cbd2732622
Merge remote-tracking branch 'inventree/master' into sales-order-allocation-fixes
2021-10-06 17:28:38 +11:00
Oliver
b5c5842e7d
Add ability to create a new sales order allocation using the API forms framework
2021-10-06 17:26:48 +11:00
Oliver
4d13674452
Migrate views to use the API forms architecture:
...
- SalesOrderAllocationEdit
- SalesOrderAllocationDelete
2021-10-06 17:16:01 +11:00
Oliver
87775ae16b
Brace yourseflf
2021-10-06 17:02:27 +11:00
Oliver
e055902f3e
More JS linting
2021-10-06 16:58:00 +11:00
Oliver
21be5b4a26
JS linting
2021-10-06 16:52:56 +11:00
Oliver
ac3a97d4d6
Fix button callbacks for the allocation table
2021-10-06 16:47:21 +11:00
Oliver
4d8bec9663
Fix rendering of row sub tables
2021-10-06 16:38:13 +11:00
Oliver
f9f8527ae5
Fix build button
...
- Now links into the API forms
2021-10-06 16:20:15 +11:00
Oliver
4d2cf233b3
Move the "loadSalesOrderLineItemTable" code to order.js
2021-10-06 16:14:39 +11:00