2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-30 04:26:44 +00:00

58 Commits

Author SHA1 Message Date
Oliver Walters
f3075d2151 Build table now also shows availability of substitute stock 2022-04-07 18:48:23 +10:00
Oliver Walters
acc6cb8729 Fix calculation of "can_build" 2022-04-07 17:47:24 +10:00
Oliver Walters
6aceb24e41 Include available substitute stock when calculating total availability in BOM table 2022-04-07 17:45:11 +10:00
Oliver
fb4e44b73f Re-enable display of multi-level BOM 2022-03-02 22:46:58 +11:00
Oliver
f399f4fa34 Refactoring API endpoints
- Improved URL naming scheme
2022-02-16 16:57:27 +11:00
Oliver
ffb319e136 Disable "submit" button to prevent multiple simultaneous uploads 2022-02-10 00:00:23 +11:00
Oliver
d38a8adf4c Add button to display original row data 2022-02-09 23:49:26 +11:00
Oliver
383835aa89 Display initial errors when importing data 2022-02-09 23:26:32 +11:00
Oliver
7265360648 JS linting 2022-02-07 13:07:03 +11:00
Oliver
11d5900b69 Update upload file template 2022-02-07 12:25:09 +11:00
Oliver
131663cecc Adds options to clear existing BOM data when uploading 2022-02-07 12:20:18 +11:00
Oliver
2ade14c47b Check for duplicate BOM items as part of serializer validation 2022-02-07 11:35:07 +11:00
Oliver
a2c48d308f Adds a BomUpload endpoint to handle upload of complete BOM 2022-02-07 10:54:37 +11:00
Oliver
81271bf6b9 Add "clear input" callback function 2022-02-05 10:01:07 +11:00
Oliver
bdf0b5b446 Construct required form fields
- required some additional functionality in forms.js
2022-02-05 09:53:35 +11:00
Oliver
c620107625 Add callback for "remove row" button 2022-02-05 09:11:01 +11:00
Oliver
8a86932c7b Initialize related field for "part" selection 2022-02-05 01:36:46 +11:00
Oliver
8a8d718534 Basic javascript function to construct BOM table from extracted data 2022-02-05 01:26:34 +11:00
Oliver
c12191d3ed Disable multi-level BOM requests 2022-02-03 16:33:10 +11:00
Oliver
72be63572e Fixes issue with BOM export
- Cascading BOM export was broken
2022-02-03 14:52:38 +11:00
Oliver
e879c97e1e Display "base" part when selecting substitutes 2022-01-28 13:23:44 +11:00
Oliver
90474af76d Fix message 2022-01-28 08:47:03 +11:00
Oliver
70f9a0fe13 Furher logic improvements to BOM copy
- Remove "self" part from list
- Stop inherited BOM items from being copied incorrectly
- Allow user to select whether "inherited" BOM items are copied
2021-12-21 22:07:08 +11:00
Oliver
922b8b1c30 Fix typo
(cherry picked from commit 673a5779f9dd08aee3b821104e8c4bec3c83280e)
2021-12-13 23:12:18 +11:00
Oliver
01ce752a8c BOM export options are now han
(cherry picked from commit c797eb07037237a6ce273d1783f99d43551f77de)
2021-12-13 23:12:11 +11:00
Oliver
d75ce451be Allow user to select file format when downloadin BOM import template
(cherry picked from commit 8030ca0bb9be0ce564d041b406f0024512f99000)
2021-12-13 23:11:42 +11:00
Oliver
a13fe1f572 Adds "stock" column to substitute parts dialog 2021-11-24 12:36:10 +11:00
Oliver
20941ce00b JS linting 2021-11-16 00:15:18 +11:00
Oliver
6367f1a9ed Improve titles in table 2021-11-16 00:00:52 +11:00
Oliver
c367fd7941 Fixes multiple issues for "used in" table 2021-11-15 23:51:02 +11:00
Oliver
66032ea77a Indicate that a BOM item is inherited in the "uses" table 2021-11-15 23:14:13 +11:00
Oliver
0b487c6111 "used in" table now accommodates "inherited" BOMs 2021-11-15 23:00:05 +11:00
Oliver
00dc7dafe1 Construct "used in" table 2021-11-15 22:39:58 +11:00
Oliver
75c8faa09f Tweaks 2021-10-30 22:30:04 +11:00
Oliver
f8ac016d60 replace labels with badges 2021-10-28 17:41:40 +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
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
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
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