Commit Graph

17 Commits

Author SHA1 Message Date
Oliver Walters 05f5aa27c5 Add a 'Remove build allocation' function
- Removes all parts allocated to a given build
2019-05-10 08:33:54 +10:00
Oliver Walters 7835562396 Auto-allocation form now working
- Displays a list of stock items which will be allocated
2019-05-09 23:55:30 +10:00
Oliver Walters 905d78e25c Complete build now works
- Marks build as complete
- Deletes temporary BuildItem objects
- Preselects the part's default_location if there is one
- Creates a new stockitem in the selected location
2019-05-02 00:04:39 +10:00
Oliver Walters 7e7ac60a1a Tweaks
- Can't edit build status directly
- Refresh BOM table on reload
- Hide Company tabs that are not yet functional
2019-04-30 20:55:28 +10:00
Oliver Walters 0208c6efe6 New Form and View to create a new BuildItem object
- Allocates stock to a build
2019-04-30 15:35:35 +10:00
Oliver Walters a3d4c81939 Display and edit build URL field 2019-04-30 14:04:43 +10:00
Oliver Walters 989611cae2 Added BuildItemAllocation Model
- Used to link stock items to a build
2019-04-29 22:19:13 +10:00
Oliver Walters d9169a0dd1 Add docstrings for Build app 2019-04-27 20:35:14 +10:00
Oliver Walters b9f23554a5 PEP fixes for /build 2019-04-14 09:29:05 +10:00
Oliver bee760d184 Deleted extraneous form code 2018-04-30 00:59:36 +10:00
Oliver 5185173639 Updates for build app
- Added 'allocate' page (empty thus far)
- Added 'cancel' button and view
2018-04-30 00:23:44 +10:00
Oliver 7ebb723d15 Revert "Set initial value fields to disabled for some forms"
This reverts commit c1271367bd.
2018-04-28 12:19:50 +10:00
Oliver c1271367bd Set initial value fields to disabled for some forms
- Prevent user from changing certain fields
- Only when a form is launched from a particular view
2018-04-28 12:14:18 +10:00
Oliver bc597d7c21 Style fixes 2018-04-28 01:16:47 +10:00
Oliver 0dcdce82f8 Modals dialogs for 'Build' 2018-04-28 01:06:42 +10:00
Oliver 192f823b1a PEP fixes (not all yet) 2018-04-18 00:03:42 +10:00
Oliver 291992ab7f Added views and pages for Build model
- Edit / create
- View details
- View build index at /build/
2018-04-17 23:13:41 +10:00