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
Oliver
d8b9420d2d
Add a query param `?include_pricing' to the BomItem API
...
- Set this to false to disable pricing info in BOM
- Drastic reduction in query speed
2021-10-08 12:47:03 +11:00
Oliver
2b13512145
Check that supplier and manufacturer parts are created
2021-08-14 10:43:45 +10:00
Oliver
26c07961cb
Bug fix for API
2021-08-14 10:23:57 +10:00
Oliver Walters
ba1ba67f87
Only add company data if part is purchaseable
2021-08-14 00:46:30 +10:00
Oliver Walters
78340a71a9
Adds support for creation of ManufacturerPart and SupplierPart via the Part creation API
2021-08-14 00:38:08 +10:00
Oliver Walters
cb11df4dba
Improve error checking for initial stock creation when creating a new part
...
- Use @transaction.atomic
- Raise proper field errors
2021-08-14 00:09:08 +10:00
Oliver Walters
0e8fb6a5ad
Refactored DuplicatePart form
...
- API endpoint now takes care of duplication of other data
2021-08-05 00:16:42 +10:00
Oliver Walters
b04f22fc53
CreatePart form now uses the API
...
- Simplify the way category parameter templates are copied
2021-08-04 23:27:16 +10:00
Oliver Walters
2bf3e3ab02
Function to construct part form fields
2021-08-04 23:26:17 +10:00
Oliver
56c0e289bd
Style fix
2021-08-04 12:13:24 +10:00
Oliver
f95346f214
Make the part thumbnail selection window searchable
2021-08-04 12:10:49 +10:00
eeintech
29c8daed0a
'has_ipn' filter method did not return queryset
2021-08-03 12:21:44 -04:00