Oliver
bb0a72f235
Refactor forms for StockItemTestResult
...
- Add DETAIL endpoint for model
- Remove old views
- Remove old forms
2021-07-01 14:31:37 +10:00
Oliver
8c439e52fd
PEP fix
2021-06-30 09:41:13 +10:00
Oliver
54c9bd25a5
Add detail endpoint for StockItemAttachment
2021-06-30 09:40:54 +10:00
Oliver
04374c71c2
Annotate models with their API list view
...
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
Oliver Walters
5204567628
Bug fix for stock item tracking API
2021-05-18 19:06:41 +10:00
Oliver Walters
30ff48d803
Fixes
2021-05-12 10:09:02 +10:00
Oliver Walters
68b53acbf1
remove old fields from the StockItemTracking model
2021-05-12 08:07:03 +10:00
Oliver Walters
03a231bffb
Updates
...
- Add StockHistoryCode to custom context
- Add simple form for editing stock item history
- Add tracking entry when stock status is changed
2021-05-11 23:38:26 +10:00
Oliver Walters
0c19a94f5c
Add run-time addition of extra data to the API
2021-05-11 22:50:58 +10:00
Oliver Walters
70ad0ba0de
Improve reporting in stock history API
2021-05-11 17:41:17 +10: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
Oliver Walters
4d1eb51bc4
Fixes
2021-04-20 20:42:55 +10:00
Oliver Walters
fd3e59650a
Style fixes
2021-04-20 20:15:51 +10:00
Oliver Walters
c5fa0bb459
Improved API filtering for PartCategory
2021-04-20 20:15:06 +10:00
Oliver Walters
412b05d76c
Allow API filtering by "cascading" stock locations
2021-04-20 20:00:15 +10:00
Oliver Walters
6986709fb8
Reorganized stock location view
2021-04-20 19:49:07 +10:00
Oliver
d4529ec1c4
Merge pull request #1464 from matmair/translation_improv
...
Translation improvments
2021-04-16 21:46:07 +10:00
Matthias
cfae92e22b
more translated strings for api-titles and filters
2021-04-15 12:15:02 +02:00
eeintech
f39928368e
Merge branch 'master' of github.com:inventree/InvenTree into manufacturer_part
2021-04-07 10:33:55 -04:00
Matthias
efd14fca64
made translation lazy
2021-04-04 22:47:01 +02:00
Matthias
20c455384e
added more translation-strings
2021-04-04 22:44:14 +02:00
eeintech
0b1f22c7fd
Almost there, needs some interface testing and tweaking
2021-03-30 18:08:33 -04:00
eeintech
429f9d0a13
Removed test print
2021-03-12 11:19:20 -05:00
eeintech
89c7c87f1e
Add stock filter for parts assemblies
2021-03-12 11:18:19 -05:00
Oliver Walters
1c3b017283
Improve server-side pagination of SalesOrderLineItem
2021-03-02 12:33:41 +11: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
8ce7b572cc
Optionally paginate the StockList table on the server
...
- This makes the bootstrap table interface SO FREAKING MUCH FASTER
- Search is now performed on the server too!
2021-02-28 16:18:45 +11:00
Oliver Walters
f1c8c48d35
Fix API permissions for stock adjustment
2021-02-27 20:17:52 +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
dffff89e9d
Add option to filter out variants in stock table
2021-02-21 20:08:23 +11:00
Oliver Walters
e8d73c78eb
Fixes for unit tests
2021-01-28 22:37:28 +11:00
Oliver Walters
d61ae8532a
Dialog for checking multiple items into a stock location
2021-01-28 21:36:57 +11:00
Oliver Walters
fc32d99327
Add "updated_before" and "updated_after" filter for stock API
2021-01-15 16:39:50 +11:00
Oliver Walters
ba915da22b
Filter StockItem API by staleness
2021-01-06 22:20:54 +11:00
Oliver Walters
9dc9c0fcb7
Auto-populate expiry date for stockitem when created via the API
...
(Now with unit testing!)
2021-01-05 00:21:26 +11:00
Oliver Walters
6d4c81e68b
Add ability to filter by 'expired' status in API
2021-01-04 00:19:48 +11:00
Oliver Walters
ae7fbd6112
Add PEP8-naming extension for flake
...
- Enforcing python naming checks
2020-11-12 21:53:04 +11:00
Oliver Walters
e4f2eecb3b
Remove defunct 'build_order' field from StockItem model
...
- This is now handled by the new-and-improved build system, no longer required
2020-11-10 20:12:39 +11:00
Oliver Walters
fdcef7b699
Add "install_into" field for BuildItem
...
- Points to which output stock item it will be going into
2020-10-20 20:37:57 +11:00
Oliver Walters
634410294b
Display table of items received against a particular purchase order
...
- Adds new tab to "Purchase Order" view
- Adds ability to filter StockList API by purchase_order ID
2020-10-19 11:40:57 +11:00
Oliver Walters
3c175a6c8d
Update creation of StockItem via API
...
- If no location is specified, but a default location exists for the part, use that
- If a location is specified (even if it is null) then the specified value is used instead
2020-10-18 22:24:45 +11:00
Oliver Walters
dc2c9aa662
Add InvenTreeRoleMixin
...
- Simplifies permission requirements for views
- e.g. 'part.view' rather than 'part.view_partcategory'
2020-10-06 11:29:38 +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
f253bf1843
Add ability for stock API to be filtered by installed status
2020-09-28 20:07:25 +10:00
Oliver Walters
8a4597be6a
Adds ability to filter stock API results by batch code
2020-09-23 09:11:46 +10:00
Oliver Walters
f19a727a02
Allow searching by stock item batch code
2020-09-19 23:40:06 +10:00
Oliver Walters
083bfe05c0
Add ability to search stock API
...
- serial number
- part information
2020-09-19 21:49:07 +10:00
Oliver Walters
8615cad711
Stock: Fix serializers.py
...
- Use of read_only PrimaryKeyRelatedField was breaking POST via API
2020-08-31 20:08:07 +10:00