Commit Graph

145 Commits

Author SHA1 Message Date
Matthias ecccfbd546
Remove encoding header
Fixes #2996
2022-05-15 20:33:00 +02:00
Oliver Walters e57a3870c6 Fix build index template 2022-05-07 22:47:48 +10:00
Oliver Walters 06e79ee91b Move view mixin to plugin.views 2022-05-07 22:34:03 +10:00
Oliver Walters 60f799c90a Add plugin view support for most of the remaining views 2022-05-06 23:32:42 +10:00
Oliver Walters 243e3ff37d Fix calls to super() 2022-05-06 23:32:09 +10:00
Oliver Walters 1cefdfc2e4 PEP style fixes 2022-05-04 17:31:44 +10:00
Oliver Walters bd3d6f47a1 Refactor CancelBuild form 2022-05-04 16:30:46 +10:00
Matthias de6507e918
update translation commands 2022-05-01 22:03:49 +02:00
Oliver 2b344f1f25 PEP style fixes 2022-02-15 13:30:14 +11:00
Oliver 09853fd3df remove code which is now unused 2022-02-15 13:27:30 +11:00
Oliver 0d7b94fbfa Remove old form code which is no longer used 2022-02-10 00:48:06 +11:00
Oliver 566fd87e86 PEP style fixes 2022-02-03 14:16:33 +11:00
Oliver b387b4e173 Prevent build outputs being created with zero quantity 2022-02-03 14:13:13 +11:00
Oliver Walters 2bb1c4ea77 Remove old forms / outdated code 2022-01-07 11:34:33 +11:00
Matthias 2ec41b02f8
append information about next serial numbe to fnc call
Fixes #2484
2021-12-29 03:01:52 +01:00
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 54dd05a24d Add an API serializer to complete build outputs 2021-10-14 23:13:01 +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 dd4db6442e PEP fixes 2021-10-05 00:45:49 +11:00
Oliver 40f1ccf9f8 Remove BuildAutoAllocate form 2021-10-05 00:40:10 +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 c61fc7c1df Refactor part pricing page 2021-07-15 23:06:37 +10:00
Oliver 0fc558068f Refactor BuildOrder pages 2021-07-15 22:40:14 +10:00
Oliver 004b36b1df Refactor BuildOrderCreate form 2021-07-09 00:18:03 +10:00
Oliver 245c04367b Refactor BuildOrderEdit form 2021-07-08 23:57:42 +10:00
Oliver 4e23dbd0af Refactor delete views for SalesOrderAttachment and PurchaseOrderAttachment 2021-06-30 12:54:38 +10:00
Oliver 4d8e88c779 BuildAttachmentDelete form 2021-06-30 12:48:14 +10:00
Oliver 9ea3e511b9 Refactor BuildAttachment views 2021-06-30 11:05:35 +10:00
Matthias f2b0717d10 removes all lines consisting only of spaces
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
eeintech b1ff686395 Fixes to create build output form, added validation on quantity field 2021-04-28 11:18:47 -04:00
Oliver Walters c0ab2d1da9 Unit test fixes 2021-04-21 17:16:07 +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 715d912137 Bug fixes 2021-04-21 16:44:17 +10:00
Oliver Walters 76e2b67f36 Fix logic for completing builds
- Display better messages to the user, too
2021-04-21 16:44:17 +10:00
Oliver Walters 4420557863 Refactor various functions for assessing build allocation 2021-04-21 16:44:17 +10:00
Oliver Walters 16b01ed772 significant rework of the build allocation tables / views 2021-04-21 16:44:16 +10:00
Oliver Walters 9e470d4064 Add separate section for "untracked" part allocation 2021-04-21 16:44:16 +10:00
Matthias 446bc06c1b switched translation methode to lazy 2021-04-03 04:01:40 +02:00
Oliver Walters cd01bb0ad7 Refactor HTML view permission
- Introspect database model from View
- Automatically get the permission from the View class
2021-03-02 21:32:32 +11:00
Oliver Walters c1dd5b1ca1 Add "child build" page 2021-02-22 22:21:46 +11:00
Oliver Walters 98bd7dfa9a Style fixes 2021-02-17 13:16:15 +11:00
Oliver Walters ba542dcbdb Auto-fill build quantity 2021-02-17 13:06:18 +11:00
Oliver Walters a416c56e5a pre-fill 'issued_by' user 2021-02-16 15:55:09 +11:00
Oliver Walters 33d6396a4e Exclude expired stock from builds 2021-01-06 21:00:45 +11:00
Oliver Walters 464d76a819 Update form title strings 2020-12-16 19:09:53 +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 ac03dab8de Tweaks 2020-11-03 20:37:33 +11:00