2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 01:55:39 +00:00
Commit Graph

9914 Commits

Author SHA1 Message Date
96be11edd4 Add 'status' field to shipment table
- Is not yet implemented in the db model
2021-10-27 01:05:10 +11:00
2eb93b5a49 Add functionality to create a new sales order shipment
- From the "New Shipment" button
- As a secondary modal from the stock allocation dialgo
2021-10-27 00:57:47 +11:00
4d0f905afc Auto-fill the "quantity" field for the salesorder allocation table 2021-10-27 00:47:15 +11:00
7252b299f7 Add modal API form to allocate stock items against a SalesOrder
- Added model renderer for SalesOrderShipment
- Some refactorin'
2021-10-27 00:41:12 +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
dd5eeb7c61 Add breadcrumbs to purchase order and sales order pages 2021-10-26 22:46:30 +11:00
87154c0240 Bump API version 2021-10-26 22:17:31 +11:00
c90c224ed2 Update "reference" field for shipment model
- Must be unique
- Auto-incrementing default value
- Updated migrations
2021-10-26 22:13:55 +11:00
b35ce79d6a js linting fix 2021-10-26 08:00:28 +11:00
cbbad98fea Improve client-side validation of numerical inputs 2021-10-26 07:52:29 +11:00
2d910022ac Fix for supplier price breaks
- Make "price" field an InvenTreeMoneySerializer instance
- Add client-side validation for number inputs
2021-10-26 01:55:41 +11:00
e7c25126a4 Construct table of "shipments" 2021-10-26 00:17:17 +11:00
e9e4d13541 Add list and detail API endpoints for SalesOrderShipment
- Filter by order
- Filter by "shipped" status
- SalesOrderShipment serializer includes information on items allocated to that shipment
2021-10-25 23:34:58 +11:00
9fcc55d71d Admin page for new model 2021-10-25 22:50:10 +11:00
d31f2be955 Make "shipment" field required for a SalesOrderAllocation
- Deleting a "Shipment" will delete any "Allocation" objects which reference it
- Improve existing data migration for new shipment model
2021-10-25 22:47:41 +11:00
ce5b47460a Added data migration for existing SalesOrder instances
- If a SalesOrder is "PENDING" or there are allocations available, a shipment is created
2021-10-25 22:35:27 +11:00
2f7e0974b7 Add 'shipment' foreign-key field to SalesOrderAllocation model 2021-10-25 17:42:56 +11:00
f00ec26efd Create SalesOrderShipment model 2021-10-25 13:09:06 +11:00
65b673b2bb Improve pricing rendering for purchase order table 2021-10-24 19:43:05 +11:00
bc596c1f20 Improve rendering of pricing in sale order table 2021-10-24 19:40:32 +11:00
5f6e67086f Add "reload" button for salesorderlineitem table 2021-10-24 19:35:23 +11:00
a0140dc9a2 bug fix: enable "table reload" for tables without any filters
- setupFilterList function was returning too early
2021-10-24 19:35:15 +11:00
367b80c17a Merge pull request #2194 from matmair/reduce-vertical-space
Move part detail toggle button
2021-10-24 19:08:07 +11:00
7f6f22fb03 move part toggle button
under action buttons to save vertical space when closed
2021-10-24 00:40:23 +02:00
d97e3cd4e5 create stock on import 2021-10-24 00:19:17 +02:00
bec845003d fix defaults 2021-10-23 23:57:10 +02:00
612832c3e7 respect defaults 2021-10-23 23:48:42 +02:00
8e6aaa89f9 calculate true / false for fields 2021-10-23 23:40:57 +02:00
1556663254 added fields to save step 2021-10-23 23:40:29 +02:00
71cc155dc9 Capitalize name 2021-10-23 22:50:01 +02:00
da9d2f7467 Added missing fields
Fixes #2181
2021-10-23 22:49:06 +02:00
31a8ee7302 Merge branch 'inventree:master' into plugin-2037 2021-10-20 23:52:51 +02:00
edd2e16dfc Merge branch 'inventree:master' into fix-sso-signup 2021-10-20 23:52:47 +02:00
48edaa9e2a not all test be fixed 2021-10-20 23:05:45 +02:00
d29e548c05 fix test 2021-10-20 22:38:55 +02:00
ae086ba6d4 rename 2021-10-20 22:17:10 +02:00
593c7a41de refactor fnc name 2021-10-20 22:09:50 +02:00
c6a5a44355 format results as HTTP result 2021-10-20 22:07:29 +02:00
a03c560914 refactor result processing 2021-10-20 22:06:32 +02:00
1b72dfeae6 fix header safeing 2021-10-20 22:04:36 +02:00
d3b1ecd65e Add "owner" field 2021-10-20 23:44:01 +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
92568748cf Further improvements
- Add callback for when a select2 form field is updated
- Adjust selected quantity based on returned data
- auto_fill the stock_item field
2021-10-20 23:03:03 +11:00
f7b6c68237 Pre-fill the form with the remaining allocation quantity 2021-10-20 22:37:54 +11:00
4a0ed4b2a1 Start of API forms for stock item 2021-10-20 10:53:21 +11:00
24a8c34699 only check if plugin urls are enabled if db ready 2021-10-19 21:42:29 +02:00
1c93a126ae Revert "remove url load setting for plugin"
This reverts commit e37477eb15.
2021-10-19 21:39:58 +02:00
f86bd4dd6b catch db not loaded 2021-10-19 20:59:14 +02:00