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
76668b0d54
Remove unused code (views / forms)
2021-10-05 09:21:33 +11:00
ae0efe73d1
Further improvements to build allocation form
...
- Auto-allocation button ignores outputs which are complete
- StockItem API allows filtering by BomItem
- Quantity inputs are now auto-filled
- Display progress bar in the modal form
2021-10-05 08:25:10 +11:00
17df4ca91e
Refactor allocation form
...
- The data is already loaded in the main table!
- Why would we want to throw that data away?
2021-10-05 01:05:42 +11:00
28509dbd68
Remove old unit test
2021-10-05 00:48:03 +11:00
dd4db6442e
PEP fixes
2021-10-05 00:45:49 +11:00
40f1ccf9f8
Remove BuildAutoAllocate form
2021-10-05 00:40:10 +11:00
416ba51e22
Add auto-fill option to select2 inputs on API forms
...
- WIll fill input if a single result is returned
2021-10-05 00:39:22 +11:00
8a90b9df6d
Improve clean() function for BuildItem model
...
- BuildItemDelete now handled by API forms
- BuildItemEdit now handled by API forms
2021-10-05 00:14:31 +11:00
8f298f71ef
Add detail API endpoint for BuildItem model
2021-10-04 23:57:02 +11:00
5ded23fd99
Fixes for serializer validation
...
- Note: use the validate() function!
- Ref: https://www.django-rest-framework.org/api-guide/serializers/
- override serializer.save() functionality for simpler operation
2021-10-04 23:44:23 +11:00
074466f087
Updates for stock allocation form
...
- Data submission
- Nested error handling
- Button callbacks to remove rows
2021-10-04 23:20:03 +11:00
75a35773c6
More unit tests
2021-10-04 20:44:15 +11:00
957867f504
Implement unit tests for new build allocation API feature
2021-10-04 18:53:10 +11:00
99c1819c69
Implement API endpoint and serializer for allocation of stock items
2021-10-04 18:26:30 +11:00
ecc7bd2d5b
Unit test fixes
2021-09-07 22:27:39 +10:00
0ebc45e834
replace i html tags
2021-09-02 00:18:47 +02:00
6a420fd95c
replace bold tags
2021-09-02 00:17:12 +02:00
f8b22bc7b7
Refactor BuildAttachment model
2021-08-16 10:49:31 +10:00
ac3dcac641
Re-enabled installing stock items into others
2021-08-02 15:05:24 -04:00
4381a16b0e
Template cleanup
2021-07-29 12:31:07 +10:00
4ee0004c97
Filtering for Build and StockItem
2021-07-21 21:34:16 +10:00
28b3432afe
Delete outdated unit test
2021-07-15 23:19:47 +10:00
c61fc7c1df
Refactor part pricing page
2021-07-15 23:06:37 +10:00
0fc558068f
Refactor BuildOrder pages
2021-07-15 22:40:14 +10:00
df89008116
Refactor allocation page(s)
...
- Also perform null check on notes before displaying
2021-07-15 16:53:14 +10:00
57851b0eaf
Refactor build orders display
2021-07-15 16:36:20 +10:00
a0b3359d62
Fix filtering for build orders
2021-07-13 19:58:47 +10:00
6e26bd0b71
Fixes for unit tests
2021-07-09 01:29:17 +10:00
ecf47aa69d
Fix for BuildOrder reference default value
2021-07-09 01:20:29 +10:00
9947a0cf90
PEP fix
2021-07-09 00:59:56 +10:00
7e7fe7d63f
Refactor buildlist filtering
2021-07-09 00:58:17 +10:00
bec98d355a
Improvements
...
- part_detail defaults to True for BuildSerializer
- Handle invalid parent for BuildOrder
2021-07-09 00:49:19 +10:00
be6ecd9587
Fixes for BuildOrder forms
2021-07-09 00:36:54 +10:00
004b36b1df
Refactor BuildOrderCreate form
2021-07-09 00:18:03 +10:00
5016d44b83
Add default value for BuildOrder reference
2021-07-09 00:15:49 +10:00
245c04367b
Refactor BuildOrderEdit form
2021-07-08 23:57:42 +10:00
fcc244b52f
Fixes for BuildOrder attachment API list
2021-07-08 10:50:34 +10:00
7b3bc33b88
using owner serializer
2021-07-04 00:15:44 +02:00
4f31cee6a3
Merge branch 'master' of https://github.com/inventree/InvenTree into extend-build-order
2021-07-04 00:02:29 +02:00
4f432d4db2
extend api with issuer
...
#1356
2021-07-03 01:47:54 +02:00
59b794f0e5
Cleanup old forms
2021-07-01 14:25:14 +10:00
30ac5dba55
Display attachment upload date
2021-06-30 17:44:23 +10:00
9b4db43232
Refactoring "attachment" tables to use the API
...
- Part attachments
- StockItem attachments
- PurchaseOrder attachments
- SalesOrder attachments
- BuildOrder attachments
2021-06-30 17:40:44 +10:00
4e23dbd0af
Refactor delete views for SalesOrderAttachment and PurchaseOrderAttachment
2021-06-30 12:54:38 +10:00
4d8e88c779
BuildAttachmentDelete form
2021-06-30 12:48:14 +10:00
9ea3e511b9
Refactor BuildAttachment views
2021-06-30 11:05:35 +10:00
a7d60cf5ad
Exposes BuildOrderAttachment objects to the REST API
2021-06-30 10:49:33 +10:00
04374c71c2
Annotate models with their API list view
...
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
82a6ff7772
Adds unit testing for fancy new metadata class
2021-06-23 20:58:05 +10:00