Commit Graph

11063 Commits

Author SHA1 Message Date
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
31a8ee7302
Merge branch 'inventree:master' into plugin-2037 2021-10-20 23:52:51 +02:00
Matthias Mair
edd2e16dfc
Merge branch 'inventree:master' into fix-sso-signup 2021-10-20 23:52:47 +02:00
Matthias
48edaa9e2a
not all test be fixed 2021-10-20 23:05:45 +02:00
Matthias
d29e548c05
fix test 2021-10-20 22:38:55 +02:00
Matthias
ae086ba6d4
rename 2021-10-20 22:17:10 +02:00
Matthias
a5a346e28b
Merge branch 'plugin-2037' of https://github.com/matmair/InvenTree into plugin-2037 2021-10-20 22:13:49 +02:00
Matthias
593c7a41de
refactor fnc name 2021-10-20 22:09:50 +02:00
Matthias
c6a5a44355
format results as HTTP result 2021-10-20 22:07:29 +02:00
Matthias
a03c560914
refactor result processing 2021-10-20 22:06:32 +02:00
Matthias
1b72dfeae6
fix header safeing 2021-10-20 22:04:36 +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
Matthias Mair
592c5f0d6c
Delete .gitmodules 2021-10-19 21:44:42 +02:00
Matthias
24a8c34699
only check if plugin urls are enabled if db ready 2021-10-19 21:42:29 +02:00
Matthias
1c93a126ae
Revert "remove url load setting for plugin"
This reverts commit e37477eb15.
2021-10-19 21:39:58 +02:00
Matthias
f86bd4dd6b
catch db not loaded 2021-10-19 20:59:14 +02:00
Matthias
23558e235b
PEP fix 2021-10-19 20:58:35 +02:00
Matthias
e37477eb15
remove url load setting for plugin 2021-10-19 19:54:20 +02: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