Oliver
6ebb956c8d
Fix generation of API documentation
...
- Can't use get_object_or_404 in API views!
2021-10-17 22:32:03 +11:00
Oliver
ccaa7d2683
Merge branch 'master' into build-output-complete
2021-10-16 13:18:35 +11:00
Oliver
bf47b57c82
working on updating build output tables
2021-10-14 23:46:21 +11:00
Oliver
54dd05a24d
Add an API serializer to complete build outputs
2021-10-14 23:13:01 +11:00
Oliver
7ce0f817aa
Add a 'reference_int' field to the models, to be used as a secondary index
2021-10-14 17:45:43 +11:00
Oliver
233672d822
Add new functionality to InvenTreeOrderingFilter
...
- Allow ordering by multiple field aliases
- Simply way to implement "integer ordering" functionality
2021-10-14 14:25:39 +11:00
Oliver
7dfffcd5d3
Move "build unallocate" functionality to the API
...
- Much much simpler now!
- Filtering is against bom_item, not part
- Fixes a bug with the new (reasonably complex) substitution framework
2021-10-14 10:32:43 +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
dd4db6442e
PEP fixes
2021-10-05 00:45:49 +11:00
Oliver
8f298f71ef
Add detail API endpoint for BuildItem model
2021-10-04 23:57:02 +11:00
Oliver
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
Oliver
99c1819c69
Implement API endpoint and serializer for allocation of stock items
2021-10-04 18:26:30 +11:00
Oliver
4ee0004c97
Filtering for Build and StockItem
2021-07-21 21:34:16 +10:00
Oliver
a0b3359d62
Fix filtering for build orders
2021-07-13 19:58:47 +10:00
Oliver
9947a0cf90
PEP fix
2021-07-09 00:59:56 +10:00
Oliver
7e7fe7d63f
Refactor buildlist filtering
2021-07-09 00:58:17 +10:00
Oliver
fcc244b52f
Fixes for BuildOrder attachment API list
2021-07-08 10:50:34 +10: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
Oliver
a7d60cf5ad
Exposes BuildOrderAttachment objects to the REST API
2021-06-30 10:49:33 +10:00
Oliver
3fb57abe66
Error catching
2021-06-18 19:39:06 +10:00
Oliver
245c9bfd28
Enhancement for the BuildItem API / serializer
...
- Add optional "part_detail" information
- Add optional "build_detail" information
- Add optional "location_detail" information
2021-06-18 19:08:54 +10:00
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Oliver Walters
9e470d4064
Add separate section for "untracked" part allocation
2021-04-21 16:44:16 +10:00
Oliver Walters
979f543c3f
Add build orders to search results list
2021-03-03 08:44:13 +11:00
Oliver Walters
14000517ce
Fixes for build order table
2021-03-03 08:39:14 +11:00
Oliver Walters
2186a66465
Build: Filter by parent or ancestor in API
...
- Add unit testing
2021-02-22 22:05:20 +11:00
Oliver Walters
47b0f40e97
Calendar view for build orders
2021-01-07 23:41:54 +11:00
Oliver Walters
51da26d21d
Filter builds by "overdue" status
2020-12-15 23:27:59 +11:00
Oliver Walters
802dd5174c
Add "target_date" for Build model
...
- Add "overdue" status to Build serializer
2020-12-15 23:24:37 +11:00
Oliver Walters
3f03adba72
Bug fix for stock table
...
- Grouped rows were not displaying the part name
2020-11-03 15:05:13 +11:00
Oliver Walters
1ca08f8bff
Filter builditem API by 'output' stock item
2020-10-22 21:43:53 +11:00
Oliver Walters
96277edcf1
Improvements to progress bar function
2020-10-21 00:49:17 +11:00
Oliver Walters
16d720b62c
Update permission requirements for API
...
- Automatically use model permissions by default!
-
2020-10-06 00:36:55 +11:00
Oliver Walters
b8509f7533
Add ability to filter builds by "active" status
2020-09-19 20:42:20 +10:00
eeintech
3d597cc3c3
Added 'Pending' builds report to homepage, includes builds with 'Allocated' status
2020-09-17 14:36:05 -05:00
Oliver Walters
e768ada83b
More work
...
- Consolidated "in_stock" filter to single code location
- Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation
- Various template improvements etc
2020-04-26 16:38:29 +10:00
Oliver Walters
4147163418
Improve status code label rendering
2020-04-26 15:29:21 +10:00
Oliver Walters
b0891c921c
Working towards better build allocation:
...
- Improve data serialization in API
- Javascript bug fixes
- Load the build allocation table using jQuery
2020-04-25 21:13:38 +10:00
Oliver Walters
d5f3498238
Add a "sales_order" reference to the Build model
...
- If a build order is made to fulfil a sales order
- Add sales_order filtering to the Build API
- Pass initial information through to the BuildCreate view
2020-04-25 13:15:45 +10:00
Oliver Walters
7503596ea4
More fixes
...
- Add a set of template tags for rendering status codes
- Improve build API filtering
- Remove some outdated files
- Fix unit testing
2020-04-12 00:10:33 +10:00
Oliver Walters
5d70f496a5
Ability to filter build list by status
2020-04-11 20:03:31 +10:00
Oliver Walters
f0ffb0f8c0
Ability to include part_detail in build API
...
- Build list now uses bootstrapTable
2020-04-11 19:59:16 +10:00
Oliver Walters
20ec36d3ea
Enforce authentication for API access
2019-07-08 19:20:00 +10:00
Oliver Walters
a305301b95
Switch between display and edit mode for build allocations
2019-05-27 08:07:38 +10:00
Oliver Walters
a6f95c70aa
Add detail view for Build model
2019-05-23 21:36:54 +10:00
Oliver Walters
192f604b76
Override get_queryset for BuildItem API view
...
- Special management to allow filtering by part
2019-04-29 23:45:05 +10:00
Oliver Walters
c29827e45a
Add API endpoint and serializer for BuildItem model
2019-04-29 22:59:42 +10:00
Oliver Walters
a499fd325e
Docstring for Stock app
2019-04-27 22:49:16 +10:00
Oliver Walters
ed3ae30248
Documentation for Part app
2019-04-27 22:18:07 +10:00