Commit Graph
527 Commits
Author SHA1 Message Date
Oliver 1c6eb41341 Ability to toggle part category "star" status via the API 2021-11-04 00:01:52 +11:00
Oliver b1c23e30f5 Fix CSS for user badges 2021-11-03 11:59:20 +11:00
Oliver 360f0406b5 CSS updates
- Add template for filter lists
- Filter lists now layout horizontally
- Change flex-row to flex-wrap
2021-11-01 08:38:24 +11:00
Oliver 57240865e8 More tweaking 2021-10-30 00:05:32 +11:00
Oliver 3849ea8057 Rearranging buttons 2021-10-29 23:20:09 +11:00
Oliver c04118ed8a Driving the refactor tractor around the farm 2021-10-29 22:20:06 +11:00
Oliver b41d1aed12 Refactor admin button for:
- build order
- part detail
- stock item
- stock location
- company detail
- manufacturer-part
- purchase order
- sales order
2021-10-29 17:07:35 +11:00
Oliver 0f10936e65 Refactored index page
- Looks MUCH nicer now!
2021-10-29 13:28:21 +11:00
Oliver 613b135edf Refactor sidebar for "build order" display 2021-10-29 01:00:39 +11:00
Oliver 2778ff55da Remove btn-default 2021-10-28 19:57:17 +11:00
Oliver f8ac016d60 replace labels with badges 2021-10-28 17:41:40 +11:00
Oliver ae2c3e8293 remove "panel-inventree" references 2021-10-28 08:31:36 +11:00
Oliver 711b3ba923 remove "panel-default" 2021-10-27 23:08:15 +11:00
Oliver fe25ce8cd1 Refactor "manufacturer_part" view 2021-10-27 22:52:11 +11:00
Oliver 8fdaab233c Refactor build page 2021-10-27 22:44:33 +11:00
Oliver a004f293ff Replace all instances of data-toggle with data-bs-toggle 2021-10-27 22:06:30 +11:00
Oliver 707a03c416 Add breadcrumbs for build order page
(cherry picked from commit f32dfb01a2)
2021-10-27 20:18:16 +11:00
Oliver 50a79770e5 Un-comment lines in build.serializers 2021-10-20 23:37:26 +11:00
Oliver f83dc134ef linting 2021-10-20 23:20:43 +11:00
Oliver 8805b0a553 Add similar auto field capabilities to build order 2021-10-20 23:14:52 +11:00
Oliver c75586bd9a Fix for rendering of build order page 2021-10-19 21:36:51 +11:00
Oliver e04dfa0681 Unit test fix 2021-10-18 08:58:04 +11:00
Oliver fb6f15f462 Delete a bunch of old template files 2021-10-17 22:57:15 +11:00
Oliver 83faaa2da3 unit test fixes 2021-10-17 22:57:07 +11:00
Oliver 6ebb956c8d Fix generation of API documentation
- Can't use get_object_or_404 in API views!
2021-10-17 22:32:03 +11:00
Oliver 90593a187c PEP fixes 2021-10-17 21:39:07 +11:00
Oliver 542b4113a1 Improvements for build output completion
- Check if the output is fully allocated (throw error if not)
- Reload tables after actions performed
2021-10-17 21:37:10 +11:00
Oliver 90625af39d Re-enable the "allocate" stock button 2021-10-17 11:34:44 +11:00
Oliver 9d2273c1cd Further work on build output scripts 2021-10-17 11:25:53 +11:00
Oliver 283bf1682f Remove old views / forms 2021-10-17 11:25:33 +11:00
Oliver 14ef56785e Add option to select multiple build outputs
- Can "complete" these outputs
2021-10-16 14:27:02 +11:00
Oliver ccaa7d2683 Merge branch 'master' into build-output-complete 2021-10-16 13:18:35 +11:00
Oliver 4702c6b37f Refactorin' 2021-10-15 00:25:36 +11:00
Oliver bf47b57c82 working on updating build output tables 2021-10-14 23:46:21 +11:00
Oliver be6f417dff Random button cleanup 2021-10-14 23:13:12 +11:00
Oliver b0a3280c05 Add unit testing 2021-10-14 23:13:08 +11:00
Oliver 54dd05a24d Add an API serializer to complete build outputs 2021-10-14 23:13:01 +11:00
Oliver 2c9bbb051a Add some unit tests
- Saving a model automatically updates the reference_int field
- Data migrations are correctly applied
2021-10-14 19:12:23 +11:00
Oliver d0f60766e0 exclude new field from admin view 2021-10-14 18:57:02 +11:00
Oliver 5c6a7b489c Data migration for the Build model 2021-10-14 17:54:46 +11:00
Oliver 7ce0f817aa Add a 'reference_int' field to the models, to be used as a secondary index 2021-10-14 17:45:43 +11:00
Oliver e46875b0a3 Apply same fix to PurchaseOrder and SalesOrder lists 2021-10-14 14:31:25 +11:00
Oliver 233672d822 Add new functionality to InvenTreeOrderingFilter
- Allow ordering by multiple field aliases
- Simply way to implement "integer ordering" functionality
2021-10-14 14:25:39 +11:00
Oliver 0cdc82a4b3 Annotate BuildList queryset with integer cast of the reference 2021-10-14 14:24:17 +11:00
Oliver 4a6bd0123a Bug fixes 2021-10-14 11:00:27 +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 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 e39f1c320c Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements 2021-10-05 12:53:47 +11:00
Oliver a3ba33cae8 Fixes for build output tables
- Only show "completed" builds in the "completed builds" table (should be obvious)
- Display "serial number" appropriately in build output allocation table
2021-10-05 12:32:54 +11:00
Oliver ddcfc8996c Further fixes for API / serializer classes
- Correctly catch and re-throw errors
- Provide request to serializer context
2021-10-05 12:12:37 +11:00