Commit Graph

8986 Commits

Author SHA1 Message Date
Oliver
a69bcb9f18
Merge pull request #2118 from SchrodingersGat/bom-export-fix
Fix error on BOM export
2021-10-07 12:14:31 +11:00
Oliver
22d3b05dc6 Fix error on BOM export 2021-10-07 11:52:41 +11:00
Oliver
0bc1715601
Merge pull request #2117 from SchrodingersGat/build-sales-order-link
Enable editing of "sales order" from build order
2021-10-07 11:00:07 +11:00
Oliver
31665e3b8d Enable editing of "sales order" from build order
- Add a renderer for the sales order model
2021-10-07 10:45:14 +11:00
Oliver
f610b5e171
Merge pull request #2114 from SchrodingersGat/stock-in-part-forms
Display stock count in part forms
2021-10-06 22:40:16 +11:00
Oliver
d9fddf64f1 Make this setting a per-user setting 2021-10-06 22:22:20 +11:00
Oliver
166af3592d Add optional display of part stock quantity in forms 2021-10-06 22:12:59 +11:00
Oliver
54d770927a
Merge pull request #2113 from SchrodingersGat/delete-error-logs
Adds a new task  to periodically remove old error messages
2021-10-06 21:36:15 +11:00
Oliver
80d8645a0c Adds a new task to periodically remove old error messages 2021-10-06 21:20:40 +11:00
Oliver
bc3be635ae Reset modal image when a new image is uploaded 2021-10-06 21:03:40 +11:00
Oliver
c2d33588d0
Merge pull request #2112 from SchrodingersGat/docs-link-fix
Fix docs link for release versions
2021-10-06 20:52:34 +11:00
Oliver
8ed81bdb01
Merge pull request #2110 from SchrodingersGat/sales-order-allocation-fixes
Sales order allocation fixes
2021-10-06 20:51:23 +11:00
Oliver
a8388b0999 JS linting 2021-10-06 20:35:51 +11:00
Oliver
5b94e24af1 Fix docs link for release versions
- Use full x.y.z format
- Requires a docs release for every code relesase
2021-10-06 20:23:42 +11:00
Oliver
535d45bce4 Remove outdated Views / Forms 2021-10-06 20:19:29 +11:00
Oliver
5cdf5a2670 Only include "in stocK" field if the sales order is pending 2021-10-06 20:16:59 +11:00
Oliver
336b05aa4e Exclude sales order allocations when searching stock 2021-10-06 17:42:00 +11:00
Oliver
cbd2732622 Merge remote-tracking branch 'inventree/master' into sales-order-allocation-fixes 2021-10-06 17:28:38 +11:00
Oliver
b5c5842e7d Add ability to create a new sales order allocation using the API forms framework 2021-10-06 17:26:48 +11:00
Oliver
6706d6c768
Merge pull request #2108 from SchrodingersGat/sales-order-table-fixes
Bug fixes for SalesOrderLineItem table
2021-10-06 17:21:28 +11:00
Oliver
4d13674452 Migrate views to use the API forms architecture:
- SalesOrderAllocationEdit
- SalesOrderAllocationDelete
2021-10-06 17:16:01 +11:00
Oliver
87775ae16b Brace yourseflf 2021-10-06 17:02:27 +11:00
Oliver
b8b4c60c43 Fix API endpoints for so-allocation detail 2021-10-06 17:02:03 +11:00
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
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