2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00
Commit Graph

776 Commits

Author SHA1 Message Date
57240865e8 More tweaking 2021-10-30 00:05:32 +11:00
3849ea8057 Rearranging buttons 2021-10-29 23:20:09 +11:00
c04118ed8a Driving the refactor tractor around the farm 2021-10-29 22:20:06 +11:00
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
0f10936e65 Refactored index page
- Looks MUCH nicer now!
2021-10-29 13:28:21 +11:00
613b135edf Refactor sidebar for "build order" display 2021-10-29 01:00:39 +11:00
2778ff55da Remove btn-default 2021-10-28 19:57:17 +11:00
f8ac016d60 replace labels with badges 2021-10-28 17:41:40 +11:00
ae2c3e8293 remove "panel-inventree" references 2021-10-28 08:31:36 +11:00
711b3ba923 remove "panel-default" 2021-10-27 23:08:15 +11:00
fe25ce8cd1 Refactor "manufacturer_part" view 2021-10-27 22:52:11 +11:00
8fdaab233c Refactor build page 2021-10-27 22:44:33 +11:00
a004f293ff Replace all instances of data-toggle with data-bs-toggle 2021-10-27 22:06:30 +11:00
707a03c416 Add breadcrumbs for build order page
(cherry picked from commit f32dfb01a2)
2021-10-27 20:18:16 +11:00
f32dfb01a2 Add breadcrumbs for build order page 2021-10-27 01:15:39 +11:00
bff9f0828a Adds API endpoint to allocate stock items against a SalesOrder
- SalesOrderAllocations are no longer created manually
- API endpoint performs data validation
- Multiple line items can be allocated at once
- Adds unit testing for new API endpoint
2021-10-26 23:51:36 +11:00
50a79770e5 Un-comment lines in build.serializers 2021-10-20 23:37:26 +11:00
f83dc134ef linting 2021-10-20 23:20:43 +11:00
8805b0a553 Add similar auto field capabilities to build order 2021-10-20 23:14:52 +11:00
c75586bd9a Fix for rendering of build order page 2021-10-19 21:36:51 +11:00
e04dfa0681 Unit test fix 2021-10-18 08:58:04 +11:00
fb6f15f462 Delete a bunch of old template files 2021-10-17 22:57:15 +11:00
83faaa2da3 unit test fixes 2021-10-17 22:57:07 +11:00
6ebb956c8d Fix generation of API documentation
- Can't use get_object_or_404 in API views!
2021-10-17 22:32:03 +11:00
90593a187c PEP fixes 2021-10-17 21:39:07 +11:00
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
90625af39d Re-enable the "allocate" stock button 2021-10-17 11:34:44 +11:00
9d2273c1cd Further work on build output scripts 2021-10-17 11:25:53 +11:00
283bf1682f Remove old views / forms 2021-10-17 11:25:33 +11:00
14ef56785e Add option to select multiple build outputs
- Can "complete" these outputs
2021-10-16 14:27:02 +11:00
ccaa7d2683 Merge branch 'master' into build-output-complete 2021-10-16 13:18:35 +11:00
4702c6b37f Refactorin' 2021-10-15 00:25:36 +11:00
bf47b57c82 working on updating build output tables 2021-10-14 23:46:21 +11:00
be6f417dff Random button cleanup 2021-10-14 23:13:12 +11:00
b0a3280c05 Add unit testing 2021-10-14 23:13:08 +11:00
54dd05a24d Add an API serializer to complete build outputs 2021-10-14 23:13:01 +11:00
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
d0f60766e0 exclude new field from admin view 2021-10-14 18:57:02 +11:00
5c6a7b489c Data migration for the Build model 2021-10-14 17:54:46 +11:00
7ce0f817aa Add a 'reference_int' field to the models, to be used as a secondary index 2021-10-14 17:45:43 +11:00
e46875b0a3 Apply same fix to PurchaseOrder and SalesOrder lists 2021-10-14 14:31:25 +11:00
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
0cdc82a4b3 Annotate BuildList queryset with integer cast of the reference 2021-10-14 14:24:17 +11:00
4a6bd0123a Bug fixes 2021-10-14 11:00:27 +11:00
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
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
e39f1c320c Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements 2021-10-05 12:53:47 +11:00
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
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
29588ff2c5 Refactor the POReceive API endpoint
- Lessons learned from the build allocate
- Use serializer.save() directly
2021-10-05 11:20:43 +11:00