2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-05-01 13:06:45 +00:00

260 Commits

Author SHA1 Message Date
Oliver Walters
f6664b2477 Add annotated fields to BomItem API:
- total-stock / allocated_to_build_orders / allocated_to_sales_orders
2022-04-04 22:50:13 +10:00
Kálmán Rózsahegyi
a9f7457c12 New part table filter on available stock 2022-04-03 12:30:53 +02:00
Oliver Walters
c103f0c100 Do not generate parameter data on the server side when rendering part category templates 2022-03-19 22:14:18 +11:00
Oliver Walters
81d5ff8f79 Adds ability to list part parameters via the Part API 2022-03-19 21:56:57 +11:00
Oliver Walters
62d01cdbab Adds filtering options to PartParameterTemplate endpoint
- Allows filtering by part
- Allows filtering by category
2022-03-19 21:31:28 +11:00
Oliver
f7d724aa0c Merge remote-tracking branch 'inventree/master' into scheduling
# Conflicts:
#	InvenTree/InvenTree/version.py

(Update API version)
2022-03-08 12:25:36 +11:00
Oliver
4f74a27e1a Exporting data from a Part table now uses the API too
- Makes use of the existing table filters
- Exported data matches exactly what you see in the table!
2022-03-03 17:42:31 +11:00
Oliver
9a62fe6993 style fixes 2022-03-01 23:31:18 +11:00
Oliver
f33f1a339d Add more information to scheduling chart
Also improves chart styling
2022-03-01 23:20:08 +11:00
Oliver
776dffe779 Scheduling information is now calculated on the server, and provided via a new API endpoint
- Much simpler than sequencing multiple API calls
2022-03-01 22:54:49 +11:00
Oliver
580effab92 Merge remote-tracking branch 'inventree/master' into match-fields
# Conflicts:
#	InvenTree/InvenTree/version.py
2022-02-17 22:55:16 +11:00
Oliver
f485bc7d53 PEP fixes 2022-02-17 17:04:51 +11:00
Oliver
0604e1a127 Adds API endpoint for installing stock items into other stock items
- Requires more filtering for the Part API
- Adds more BOM related functionality for Part model
- Removes old server-side form
2022-02-17 17:03:17 +11:00
Oliver
f399f4fa34 Refactoring API endpoints
- Improved URL naming scheme
2022-02-16 16:57:27 +11:00
Oliver
d7adb6959d Adds functionality to map file columns to model fiels 2022-02-16 14:57:13 +11:00
Oliver
a2c48d308f Adds a BomUpload endpoint to handle upload of complete BOM 2022-02-07 10:54:37 +11:00
Oliver
137c9ff2f2 POST request now returns extracted data rows (as an array of dicts) 2022-02-05 00:30:00 +11:00
Oliver
611592694b Adds serializer for uploading a BOM file and extracting fields 2022-02-05 00:12:11 +11:00
Matthias
c44565f9e3
fix reused builtins 2022-01-21 00:17:52 +01:00
Oliver
2c0da25cbc "Validate BOM" now uses the API also 2021-12-21 22:45:59 +11:00
Oliver
0c8a047bc2 Adds simply endpoint for BOM duplication 2021-12-21 17:29:14 +11:00
Oliver
e9ae3eb01d Revert to bootstrap-treeview
- More "bootstrappy" design
- Already in code base
- Cleaner API
2021-12-11 00:25:44 +11:00
Matthias
596532f312
only one api call 2021-12-08 00:05:34 +01:00
Matthias
948270bbcb
add stuff to mark starting endpoint 2021-12-07 23:54:45 +01:00
Matthias
c703f9993f
make url simpler 2021-12-06 22:37:42 +01:00
Matthias
70939a0cf9
first working example 2021-12-06 22:35:14 +01:00
Oliver
9e1251d78d Adds "assigned_to_me" filtering to build orders 2021-12-04 21:30:11 +11:00
Matthias
3bff676047
beginner mistake
it is a referenced part so use related_name as prefix
2021-12-02 00:24:36 +01:00
Matthias
95fa34f797
search by MPN
Fixes #2403
2021-12-01 23:56:31 +01:00
Oliver
ef7a9b5152 Adds a simple endpoint for accessing serial number information for a Part instance
- This is not included by default in the "part detail" endpoint as it must be calculated!
2021-11-27 00:11:18 +11:00
Oliver
4a90786296 PEP code style fixes 2021-11-25 14:55:24 +11:00
Oliver
4704845a7b Add filter for "relatedpart" API endpoint 2021-11-25 14:42:31 +11:00
Oliver
2065c05519 Adds API endpoints and serializers 2021-11-25 14:18:21 +11:00
Oliver
b497569228 Add Part list API filter for "related" status
- Adds "related" filter
- Adds "exclude_related" filter
2021-11-25 14:00:04 +11:00
Oliver
568e606d5b Fix filtering by 'validated' parameter 2021-11-24 10:45:48 +11:00
Oliver
c04ea3e0bb Adds unit test for "validated" filter option on BomItem list 2021-11-24 10:41:19 +11:00
Matthias
d884e62be1
[FR] Confirm to W293
Fixes #2335
2021-11-23 00:28:23 +01:00
Oliver
01da889c46 Add ability to search "partparametertemplate" API by "name" field 2021-11-15 23:31:56 +11:00
Oliver
1f997d07b6 Update BOM API to allow filtering by "uses" 2021-11-15 22:16:13 +11:00
Oliver
52242e7a00 Catch error 2021-11-04 08:40:38 +11:00
Oliver
1c6eb41341 Ability to toggle part category "star" status via the API 2021-11-04 00:01:52 +11:00
Oliver
7567b8dd63 MOAR FEATURES:
- Add admin view for PartCategoryStar
- Add starred status to partcategory API
- Can filter by "starred" status
- Rename internal functions back to using "starred" (front-end now uses the term "subscribe")
2021-11-03 23:22:31 +11:00
Oliver
f9a00b7a90 Adds extra subsctiption functionality for Part and PartCategory
- Allows variants and templates
- Allows categories and sub-categories
- Unit testing
2021-11-03 22:57:49 +11:00
Oliver
c2a8cfd183 PEP style fixes 2021-10-30 12:57:49 +11:00
Oliver
4eea8c8193 Remove old tree classes 2021-10-30 00:18:41 +11:00
Oliver
9b00ede61a Add part queryset filtering to exclude particular ID values 2021-10-14 17:12:08 +11:00
Oliver
0f8c279aa2 Add some unit testing for the new model 2021-10-13 22:27:10 +11:00
Oliver
37bd5c0507 Add serializer and API endpoint for BomItemSubstitute class 2021-10-13 13:58:41 +11:00
Oliver
7c396f9f39 Enable optional pagination for the BomItem API endpoint 2021-10-13 11:07:34 +11:00
Oliver
07d05ed000 PEP fix 2021-10-08 12:50:24 +11:00