Oliver
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
Oliver
dd5eeb7c61
Add breadcrumbs to purchase order and sales order pages
2021-10-26 22:46:30 +11:00
Oliver
87154c0240
Bump API version
2021-10-26 22:17:31 +11:00
Oliver
c90c224ed2
Update "reference" field for shipment model
...
- Must be unique
- Auto-incrementing default value
- Updated migrations
2021-10-26 22:13:55 +11:00
Oliver
5cd9be6845
Merge pull request #2202 from SchrodingersGat/decimal-validation-fix
...
Fix for supplier price breaks
2021-10-26 08:41:10 +11:00
Oliver
b35ce79d6a
js linting fix
2021-10-26 08:00:28 +11:00
Oliver
cbbad98fea
Improve client-side validation of numerical inputs
2021-10-26 07:52:29 +11:00
Oliver
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
Oliver
e7c25126a4
Construct table of "shipments"
2021-10-26 00:17:17 +11:00
Oliver
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
Oliver
9fcc55d71d
Admin page for new model
2021-10-25 22:50:10 +11:00
Oliver
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
Oliver
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
Oliver
2f7e0974b7
Add 'shipment' foreign-key field to SalesOrderAllocation model
2021-10-25 17:42:56 +11:00
Oliver
f00ec26efd
Create SalesOrderShipment model
2021-10-25 13:09:06 +11:00
Oliver
e7bd91096c
Merge pull request #2195 from SchrodingersGat/sales-order-pricing-fix
...
Sales order pricing fix
2021-10-25 07:14:16 +11:00
Oliver
65b673b2bb
Improve pricing rendering for purchase order table
2021-10-24 19:43:05 +11:00
Oliver
bc596c1f20
Improve rendering of pricing in sale order table
2021-10-24 19:40:32 +11:00
Oliver
5f6e67086f
Add "reload" button for salesorderlineitem table
2021-10-24 19:35:23 +11:00
Oliver
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
Oliver
367b80c17a
Merge pull request #2194 from matmair/reduce-vertical-space
...
Move part detail toggle button
2021-10-24 19:08:07 +11:00
Matthias
7f6f22fb03
move part toggle button
...
under action buttons to save vertical space when closed
2021-10-24 00:40:23 +02:00
Matthias
d97e3cd4e5
create stock on import
2021-10-24 00:19:17 +02:00
Matthias
bec845003d
fix defaults
2021-10-23 23:57:10 +02:00
Matthias
612832c3e7
respect defaults
2021-10-23 23:48:42 +02:00
Matthias
8e6aaa89f9
calculate true / false for fields
2021-10-23 23:40:57 +02:00
Matthias
1556663254
added fields to save step
2021-10-23 23:40:29 +02:00
Oliver
5392011130
Merge pull request #2192 from matmair/fix-sso-signup
...
Fix sso signup
2021-10-24 08:32:08 +11:00
Matthias
71cc155dc9
Capitalize name
2021-10-23 22:50:01 +02:00
Matthias
da9d2f7467
Added missing fields
...
Fixes #2181
2021-10-23 22:49:06 +02:00
Matthias Mair
edd2e16dfc
Merge branch 'inventree:master' into fix-sso-signup
2021-10-20 23:52:47 +02:00
Oliver
5571cfdbdb
Merge pull request #2184 from SchrodingersGat/allocation-fixes
...
Sales order allocation fix
2021-10-20 23:53:59 +11:00
Oliver
d3b1ecd65e
Add "owner" field
2021-10-20 23:44:01 +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
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
Oliver
f7b6c68237
Pre-fill the form with the remaining allocation quantity
2021-10-20 22:37:54 +11:00
Oliver
4a0ed4b2a1
Start of API forms for stock item
2021-10-20 10:53:21 +11:00
Oliver
9fe1dd7be4
Merge pull request #2180 from SchrodingersGat/build-fix
...
Fix for rendering of build order page
2021-10-19 22:00:09 +11:00
Oliver
c75586bd9a
Fix for rendering of build order page
2021-10-19 21:36:51 +11:00
Oliver
f31b8a6e99
Merge pull request #2179 from SchrodingersGat/settings-page-candy
...
Settings page candy
2021-10-19 12:17:32 +11:00
Oliver
60771a74a4
"InvenTree Settings" > "Global Settings"
2021-10-19 11:00:32 +11:00
Oliver
a3b3bdc88b
Add some more icons to the settings page
2021-10-19 10:59:52 +11:00
Oliver
049f5c7fe1
Merge pull request #2178 from SchrodingersGat/home-page-improvements
...
UI tweaks
2021-10-19 09:08:45 +11:00
Oliver
4de3bed342
UI tweaks
2021-10-18 22:19:54 +11:00
Oliver
860cf46cb0
Merge pull request #2177 from SchrodingersGat/quick-search
...
Add a per-user setting to enable display of stock in search results
2021-10-18 16:57:34 +11:00
Oliver
5802a27fe7
Add a per-user setting to enable display of stock in search results
2021-10-18 16:23:42 +11:00
Oliver
ddeab64072
Merge pull request #2176 from SchrodingersGat/quick-search
...
Display stock level in quick search bar
2021-10-18 16:13:48 +11:00
Oliver
4bb0b725da
JS cleanup
2021-10-18 15:51:50 +11:00