Commit Graph

9173 Commits

Author SHA1 Message Date
Oliver
e055902f3e More JS linting 2021-10-06 16:58:00 +11:00
Oliver
0b7811b7e0 Add API endpoint for SalesOrderAllocation model
- Increment API version number
2021-10-06 16:54:40 +11:00
Oliver
237ecd12a9 Merge branch 'sales-order-table-fixes' into sales-order-allocation-fixes 2021-10-06 16:54:06 +11:00
Oliver
21be5b4a26 JS linting 2021-10-06 16:52:56 +11:00
Oliver
ac3a97d4d6 Fix button callbacks for the allocation table 2021-10-06 16:47:21 +11:00
Oliver
4d8bec9663 Fix rendering of row sub tables 2021-10-06 16:38:13 +11:00
Oliver
f9f8527ae5 Fix build button
- Now links into the API forms
2021-10-06 16:20:15 +11:00
Oliver
4d2cf233b3 Move the "loadSalesOrderLineItemTable" code to order.js 2021-10-06 16:14:39 +11:00
Oliver
c2ad9c4765
Merge pull request #2103 from SchrodingersGat/stock-adjustment-api
Stock adjustment api
2021-10-06 09:52:25 +11:00
Oliver
05de802d1d javascript linting 2021-10-06 09:14:06 +11:00
Oliver
95e7cc7a5d Fixes for unit tests 2021-10-06 08:56:24 +11:00
Matthias
f1fd1d4da8
set inventory on sitefix assertation 2021-10-05 22:21:15 +02:00
Oliver
758e402a66 PEP style fixes 2021-10-05 23:06:12 +11:00
Oliver
6fd1abb07a Remove unused view class 2021-10-05 22:58:28 +11:00
Oliver
0a2a81582e Handle case where notes are not provided 2021-10-05 22:46:34 +11:00
Oliver
102f886d81 All stock adjustment actions ported to new scheme
- Bumped API version too
2021-10-05 22:26:21 +11:00
Oliver
f197d8b1da Adds a DRF serializer for stock adjustments
- Currently the "StockCount" action has been transferred
2021-10-05 22:04:17 +11:00
Oliver
8dcd2ab7ca
Merge pull request #2102 from SchrodingersGat/purchase-order-receive
[Refactor] Purchase order receive
2021-10-05 18:01:39 +11:00
Oliver
93c53315cc Unit test fixes 2021-10-05 17:35:10 +11:00
Oliver
dd760bfecd Add filtering by "completed" status for purchase order line items 2021-10-05 17:15:41 +11:00
Oliver
5e951ef64b Add 'filtering' for purchase order line item table 2021-10-05 16:57:33 +11:00
Oliver
87f1bd87e7 Add button to receive selected items 2021-10-05 16:52:24 +11:00
Oliver
8684b55582 PEP fixes 2021-10-05 16:39:18 +11:00
Oliver
05d8f2b216 Remove outdated unit test case 2021-10-05 16:35:11 +11:00
Oliver
ce7552bc5b JS linting 2021-10-05 16:10:46 +11:00
Oliver
1ea9b6f4cf PEP fixes 2021-10-05 16:10:00 +11:00
Oliver
dd4428464d Receiving items against a purchase order now makes use of the API forms
- Delete old unused code
- Improve serializer validation
2021-10-05 16:05:18 +11:00
Oliver
a579bc8721 Initialize destination field 2021-10-05 15:10:16 +11:00
Oliver
b75e817447 Construct bare-bones API form 2021-10-05 14:57:50 +11:00
Oliver
e2c3690cb8
Merge pull request #2094 from SchrodingersGat/auto-allocation-improvements
Refactor of build order stock assignment
2021-10-05 13:19:45 +11:00
Oliver
e39f1c320c Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements 2021-10-05 12:53:47 +11:00
Oliver
e3e296dd24
Merge pull request #2101 from SchrodingersGat/completed-output-table-fix
Fixes for build output tables
2021-10-05 12:52:35 +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
5c26769999
Merge pull request #2100 from SchrodingersGat/barcode-field-fix
Fix for "barcode" field in purchase order receive serializer
2021-10-05 12:31:44 +11:00
Oliver
99503a60d3 Fix for "barcode" field in purchase order receive serializer
- Allow blank values!
2021-10-05 12:16:41 +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
Oliver
29588ff2c5 Refactor the POReceive API endpoint
- Lessons learned from the build allocate
- Use serializer.save() directly
2021-10-05 11:20:43 +11:00
Oliver
7ecd4c70e7 JS linting 2021-10-05 11:02:57 +11:00
Oliver
e7d78db87b Fixes for unit tests 2021-10-05 10:53:11 +11:00
Oliver
09d0dd20fe
Merge pull request #2097 from eeintech/companies_admin
Fix plural name for Companies in Admin interface
2021-10-05 10:40:04 +11:00
Oliver
563deb5ffa Add ability to specify "source location" for stock allocations
- Defaults to build.take_from
- User-selectable at run-time
- Selected value affects select2 query
2021-10-05 10:38:18 +11:00
Matthias
81757d5bbd
fix iso format 2021-10-05 01:16:25 +02:00
Matthias
98c93c59bb
date depends on current git commit 2021-10-05 00:57:26 +02:00
Matthias
9f558d0f69
fix mixin test 2021-10-05 00:56:33 +02:00
Matthias
bc0ee2a235
fix test path 2021-10-05 00:55:16 +02:00
Matthias
d4eac2b477
PEP fix 2021-10-05 00:43:19 +02:00
Matthias
486893cda5
type rec for title 2021-10-05 00:42:42 +02:00
Matthias
af66da4199
Merge branch 'plugin-2037' of https://github.com/matmair/InvenTree into plugin-2037 2021-10-05 00:41:03 +02:00
Matthias
18630c0e0f
more tests for integrationbase 2021-10-05 00:40:20 +02:00
Matthias
a42bf4983d
App Mixin tests 2021-10-05 00:27:08 +02:00