Commit Graph

66 Commits

Author SHA1 Message Date
Oliver 90593a187c PEP fixes 2021-10-17 21:39:07 +11:00
Oliver 283bf1682f Remove old views / forms 2021-10-17 11:25:33 +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 76668b0d54 Remove unused code (views / forms) 2021-10-05 09:21:33 +11:00
Oliver 40f1ccf9f8 Remove BuildAutoAllocate form 2021-10-05 00:40:10 +11:00
Oliver 59b794f0e5 Cleanup old forms 2021-07-01 14:25:14 +10:00
Oliver Walters 3e63334125 Change file just to re-run CI 2021-04-21 17:34:56 +10:00
Oliver Walters 59341397ba Fixes 2021-04-21 16:44:18 +10:00
Oliver Walters 9b763ca715 Adds ability to specify "status" of a build output at time of completion 2021-04-21 16:44:18 +10:00
Oliver Walters 9e470d4064 Add separate section for "untracked" part allocation 2021-04-21 16:44:16 +10:00
Matthias 32eaf48c12 fixed styling 2021-04-06 18:33:57 +02:00
Matthias 20c455384e added more translation-strings 2021-04-04 22:44:14 +02:00
Matthias 446bc06c1b switched translation methode to lazy 2021-04-03 04:01:40 +02:00
Matthias 2de6fcbfa4 added missing translation fields #753 2021-04-03 03:59:09 +02:00
eeintech acb0b2c10a Fixed build typo 2021-03-12 11:46:56 -05:00
Oliver Walters ba542dcbdb Auto-fill build quantity 2021-02-17 13:06:18 +11:00
Oliver Walters 31a8c94d2f Adds 'issued_by' and 'responsible' field to BuildOrder
- issued_by is a user
- responsible is a user or a group
2021-02-16 15:40:27 +11:00
Oliver Walters b2a732197b Fix target date form field for SalesOrder 2021-01-02 21:54:07 +11:00
Oliver Walters 2b57ffeb08 Custom date picker field
- Prevents picker from being "required" by the form
2021-01-02 21:50:10 +11:00
Oliver Walters a9310d4a39 Add a #TODO in code 2020-12-16 16:16:07 +11:00
Oliver Walters a8704a05d6 PEP style fixes 2020-12-16 16:15:39 +11:00
Oliver Walters 597bf8be73 Add date input to build target_date 2020-12-16 16:13:38 +11:00
Oliver Walters 802dd5174c Add "target_date" for Build model
- Add "overdue" status to Build serializer
2020-12-15 23:24:37 +11:00
Oliver Walters d44092b209 Fix issue with shadowed form field
- Rename "quantity" to "output_quantity" to address this
2020-11-05 15:52:38 +11:00
Oliver Walters 5988e847ce Add serial number suggestions 2020-11-03 21:01:14 +11:00
Oliver Walters 500da8099b Add forms / views for creating a new build output, and completing the build
- Also some refactoring of how forms are handled and saved
2020-11-02 22:56:26 +11:00
Oliver Walters b02c87ea50 Lots of work towards multiple build output 2020-11-02 01:24:31 +11:00
Oliver Walters a263d2fdcd Fixes for "auto allocate" concept 2020-10-29 00:49:01 +11:00
Oliver Walters 22a5f921b8 Auto-generate build outputs when a build is created 2020-10-27 23:09:17 +11:00
Oliver Walters b38fde85f2 Added some more buttons, etc 2020-10-26 22:34:40 +11:00
Oliver Walters 5e0d1fe25a Allocate "non tracked" parts separately from tracked ones 2020-10-26 18:21:45 +11:00
Oliver Walters 7525bc2ead Attachment functionality for BuildOrder 2020-10-26 17:00:31 +11:00
Oliver Walters a3265ef9fd Unallocate stock against a particular line item 2020-10-24 13:15:13 +11:00
Oliver Walters ea7b1b65d6 Delete a build output entirely
TODO: Needs to describe in the confirmation dialog what is going to happen!
2020-10-24 00:14:27 +11:00
Oliver Walters a71a51b848 Build can be "unallocated" against a single build output 2020-10-23 23:52:59 +11:00
Oliver Walters fae516b38e Add build output selection to builditem creation form 2020-10-22 23:28:15 +11:00
Oliver Walters ac79e131bc Add "destination" field to BuildOrder 2020-10-20 21:01:51 +11:00
Oliver Walters 9b7a9a3ee0 Update formatting of order pages 2020-10-19 23:23:16 +11:00
Oliver Walters 0b7cf9e7f3 Add "reference" to build order forms 2020-10-19 22:49:28 +11:00
Oliver Walters 40735d66a1 Translation tweaks 2020-05-16 17:32:20 +10:00
Oliver Walters 7190a8ef69 Serial number placeholder text for BuildComplete form 2020-05-16 17:29:41 +10:00
Oliver Walters 01a68270ea Add verbose names for multiple Build model fields
- Improve methods for different models
2020-04-25 23:17:07 +10:00
Oliver Walters d5f3498238 Add a "sales_order" reference to the Build model
- If a build order is made to fulfil a sales order
- Add sales_order filtering to the Build API
- Pass initial information through to the BuildCreate view
2020-04-25 13:15:45 +10:00
Oliver Walters 789712acbe Rename Build.URL -> Build.link 2020-04-06 11:28:35 +10:00
Oliver Walters a7846940c4 Markdownify the notes field for Build model 2020-02-02 00:00:19 +11:00
Oliver Walters 86b2b9cdb1 Allow unserialized build 2019-08-29 08:05:45 +10:00
Oliver Walters 9a8e4d25d2 Input serial numbers when creating a new build 2019-07-22 13:45:09 +10:00
Oliver Walters 9986df2074 Add confirmation to cancel a build 2019-05-14 18:20:54 +10:00
Oliver Walters 3588161632 Build.getAutoAllocations() only selects parts from the designation location 2019-05-10 19:03:45 +10:00
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