Oliver
|
4199e7567f
|
Remove duplicate annotation call
|
2021-07-20 21:46:27 +10:00 |
|
Oliver
|
dbe550a159
|
Optimizations for PartList API endpoint:
- Remove custom list() function
- Queryset prefetch now performed by the model manager
|
2021-07-20 21:37:32 +10:00 |
|
Oliver Walters
|
36cf614aed
|
Add "level" to PartCategory serializer
- Also use tree ordering by default
|
2021-07-18 21:11:53 +10:00 |
|
Oliver
|
984e16d5af
|
Return all part parameters to the main part edit form
- refactor purchaseorder view
- refactor salesorder view
|
2021-07-15 16:07:46 +10:00 |
|
Oliver
|
7168607a88
|
PEP fix
|
2021-07-09 13:07:01 +10:00 |
|
Oliver
|
079e331bf6
|
Add sub_part_assembly filter to BOM table
|
2021-07-09 13:04:48 +10:00 |
|
Oliver
|
0c73fa3b58
|
Add regex filter for part name
|
2021-07-09 09:11:31 +10:00 |
|
Oliver
|
fd5d20ad13
|
Fix case for filtering parts by IPN
|
2021-07-09 09:08:55 +10:00 |
|
Oliver
|
cbf0e0bd4a
|
Refactor forms for editing and deleting a PartParameter
- PartParameters now loaded using the API, not pre-rendered
|
2021-07-09 01:56:04 +10:00 |
|
Oliver
|
f0e7826fdc
|
Adds some more API filters for the StockItem endpoint
|
2021-07-08 17:44:52 +10:00 |
|
Oliver
|
a8a21f7c9d
|
Transition "has IPN" filter to django-filters approach
|
2021-07-08 17:16:02 +10:00 |
|
Oliver
|
ba0a13443f
|
PEP fixes
|
2021-07-08 17:02:55 +10:00 |
|
Oliver
|
376428b80b
|
Add regex IPN filter for Part API
|
2021-07-08 17:02:45 +10:00 |
|
Oliver
|
20b0e399c0
|
Merge pull request #1716 from SchrodingersGat/drf-api-forms
[WIP] API Forms
|
2021-07-03 22:14:26 +10:00 |
|
Matthias
|
23bd6acc94
|
changed doc string
|
2021-07-03 00:18:41 +02:00 |
|
Matthias
|
54cb8fa736
|
adds depleted stock to index
|
2021-07-03 00:08:00 +02:00 |
|
Oliver
|
bfc5a7dcf8
|
Refactor forms for PartTestTemplate model:
- Remove old forms
- Remove old views
- Add detail endpoint for the API
|
2021-07-01 14:44:23 +10:00 |
|
Oliver
|
b946aedb5c
|
Replace PartAttachmentEdit view
|
2021-06-30 09:49:30 +10:00 |
|
Oliver
|
621f47e46c
|
Replace "edit part category" form
|
2021-06-30 01:04:39 +10:00 |
|
Oliver
|
949c7dd81b
|
Set modal form title
|
2021-06-26 14:30:14 +10:00 |
|
Matthias
|
80e47b6f76
|
addd in sorting for category
fixes #1689
|
2021-06-20 22:49:06 +02:00 |
|
Matthias
|
0e8a97acb0
|
added permissions
|
2021-06-07 05:23:13 +02:00 |
|
Matthias
|
0d93c96f2a
|
adding internal price breaks as in #1606
|
2021-06-05 17:01:49 +02:00 |
|
Oliver Walters
|
9f407df15a
|
Update BOM table display
|
2021-06-01 14:17:31 +10:00 |
|
Oliver Walters
|
0bd0e57f16
|
BomList can be filtered by "allow_variants" flag
|
2021-06-01 14:03:21 +10:00 |
|
eeintech
|
e9f41a8357
|
Currency finding fix
|
2021-05-14 16:38:30 -04:00 |
|
eeintech
|
1940fd5199
|
Now processing currencies
|
2021-05-14 16:16:23 -04:00 |
|
eeintech
|
68f5ec8b6a
|
Added currency conversion
|
2021-05-13 17:09:52 -04:00 |
|
eeintech
|
f2e9f58f1b
|
Added purchase price range and average to BOM items/view
|
2021-05-13 15:47:42 -04:00 |
|
Matthias
|
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 |
|
eeintech
|
f0b44450fb
|
Updated 'Required for Build Orders' API queryset
|
2021-04-27 12:48:36 -04:00 |
|
Oliver Walters
|
4d1eb51bc4
|
Fixes
|
2021-04-20 20:42:55 +10:00 |
|
Oliver Walters
|
c5fa0bb459
|
Improved API filtering for PartCategory
|
2021-04-20 20:15:06 +10:00 |
|
Matthias
|
cfae92e22b
|
more translated strings for api-titles and filters
|
2021-04-15 12:15:02 +02:00 |
|
Oliver Walters
|
85c9bc1b81
|
Adds detail endpoint for PartParameter model
|
2021-04-11 18:56:35 +10:00 |
|
Oliver Walters
|
34def10765
|
Delete un-needed code
|
2021-02-28 21:44:10 +11:00 |
|
Oliver Walters
|
1239d4af16
|
Fixes result limiting
- Required for index page
|
2021-02-28 20:16:05 +11:00 |
|
Oliver Walters
|
487794a938
|
Server side pagination for the part list
|
2021-02-28 16:29:25 +11:00 |
|
Oliver Walters
|
6e3cb326fb
|
Use better introspection, no longer required "role_required"
|
2021-02-26 21:36:40 +11:00 |
|
Oliver Walters
|
cd5bc395f2
|
PEP fixes
|
2021-02-26 16:03:38 +11:00 |
|
Oliver Walters
|
20740035e8
|
Add role to API endpoints in 'part' app
|
2021-02-26 14:37:50 +11:00 |
|
Oliver Walters
|
81e9fd7a44
|
Escape hatch if role not required
|
2021-02-26 14:26:37 +11:00 |
|
Oliver Walters
|
36359fc547
|
RolePermission is now default for API endpoints
|
2021-02-26 14:05:26 +11:00 |
|
Oliver Walters
|
cd8c6fa81a
|
Add RolePermission for API endpoints
|
2021-02-26 13:53:23 +11:00 |
|
Oliver Walters
|
f2da1c990b
|
Simplify process for marking a part as "starred"
|
2021-02-25 23:27:27 +11:00 |
|
Oliver Walters
|
546a1c91cc
|
Allow searching part by revision field
|
2021-02-24 11:05:52 +11:00 |
|
Oliver Walters
|
a48be3bea9
|
Remove regex search functionality from part api
|
2021-02-23 16:57:17 +11:00 |
|
Oliver Walters
|
949a541ee0
|
Add more options to StockList api
- Limit query results
- Order by various fields
|
2021-02-23 13:43:26 +11:00 |
|
Oliver Walters
|
7a51e6cf78
|
Implement filtering which accommodates new inheritable BOM feature
- Can no longer filter bom_items by sub_part
- Adds get_used_in_filter() and get_used_in() for part model (returns a query of other part objects)
|
2021-02-18 14:35:21 +11:00 |
|
Oliver Walters
|
bb3440a8a4
|
Refactor bom item filter
- Also updates a number of part functions to make use of inherited BOM items
|
2021-02-17 22:53:56 +11:00 |
|