Oliver Walters
b546b5e0cc
Create separate entries for each unique serial number
2019-07-23 11:45:03 +10:00
Oliver Walters
d82d8f5cd1
Re-implement item saving for non-tracked parts
2019-07-23 11:31:29 +10:00
Oliver Walters
9e5eadd6c3
Set serial numbers when creating a new stock item
2019-07-23 10:31:34 +10:00
Oliver Walters
8ca14efa53
Delete stock tracking entries
2019-07-22 10:46:42 +10:00
Oliver Walters
c27e8e809a
Endpoint for editing a stock tracking entry
2019-07-18 08:55:57 +10:00
Oliver Walters
bb799d98be
Add ability to create new stock tracking note for a stock item
2019-07-16 00:10:24 +10:00
Oliver Walters
802ff35cf3
Remove some now unused forms / views / etc
2019-06-02 12:45:44 +10:00
Oliver Walters
2ee35ec062
Stock counting now works
2019-06-02 12:20:26 +10:00
Oliver Walters
d365d7cc44
remove from stock now works
2019-06-02 12:15:44 +10:00
Oliver Walters
1b3ffada6d
Add-stock is now working
2019-06-02 12:13:22 +10:00
Oliver Walters
8dd9034563
Remove 'destination' field if we are not moving stock
...
- Allow different stock adjustment actions
2019-06-02 12:00:39 +10:00
Oliver Walters
d1ff115f74
Simplifiy js and improve template / form
2019-06-02 11:47:21 +10:00
Oliver Walters
c7503b4f9f
Consolidated form/view into single 'stock-adjust' endpoint
2019-06-02 11:37:04 +10:00
Oliver Walters
fe31205017
Stock movement now works!
2019-06-02 11:27:03 +10:00
Oliver Walters
1b7762470d
catch a ValueError
2019-06-02 11:14:56 +10:00
Oliver Walters
96f6f6068e
Return message on succses
2019-06-02 11:05:40 +10:00
Oliver Walters
20963f83d9
Better error reporting for quantity
2019-06-02 11:00:28 +10:00
Oliver Walters
c228a4998c
Extract stock items from POST and return to form
2019-06-02 10:25:19 +10:00
Oliver Walters
e278bdbb90
Improve filtering for stock items
2019-06-02 09:14:45 +10:00
Oliver Walters
6a04c8cbd3
Update stock_move form template
2019-06-01 21:16:59 +10:00
Oliver Walters
d321947026
Add stock item fields for each item passed to the form
2019-05-29 22:38:42 +10:00
Oliver Walters
0e3f74ef31
Pass list of selected stock items to the view
2019-05-29 22:24:22 +10:00
Oliver Walters
2b4cb4d3e0
Beginning to move the stocktake forms server side
2019-05-29 22:24:11 +10:00
Oliver Walters
6603d6e9ed
PEP fixes
2019-05-26 00:22:05 +10:00
Oliver Walters
d70110690b
Validate uniqueness for StockItems
...
- If the Part is a variant of a template, ensure that the serial numbers are unique across all instances of the template
- Prevent instantiation of a StockItem for a part which has variants
2019-05-25 23:09:04 +10:00
Oliver Walters
2c5bb6b126
Hide supplier_part field if the part cannot be purchased
2019-05-09 18:43:22 +10:00
Oliver Walters
e9c904076f
Added help text for model fields
2019-05-08 23:32:57 +10:00
Oliver Walters
afffd06fb8
Limit choices for 'parent' field when editing StockLocation
2019-05-08 18:00:34 +10:00
Oliver Walters
abb8930702
Limit SupplierPart choices in EditStockItem view
2019-05-06 18:06:06 +10:00
Oliver Walters
71972f4454
Add function to get the default location for a part
...
- If field not specified, look at the part category
2019-05-04 19:06:39 +10:00
Oliver Walters
9aa1a70f18
QR code improvements
...
- Display QR codes as links to served images
- The qr_code plugin caches these images in the background
- Make a qr_code template to push out as a modal form
- Create a QRCodeView to simplify display of QR codes
- Add option to launchModalForm() to disable the 'submit' button
Refactored QR code display for
- StockLocation
- StockItem
- Part
2019-05-04 18:46:57 +10:00
Oliver Walters
8e65c0a120
Fixes for some broken views
2019-05-04 17:20:05 +10:00
Oliver Walters
a116c3f191
Handle case where a new stock item is to be created without the part being specified
2019-05-03 23:52:30 +10:00
Oliver Walters
e471313435
PEP fix
2019-04-29 18:43:44 +10:00
Oliver Walters
3b838d29ec
Small fixes
...
- Hide some tabs that aren't functional yet
- Hide fields instead of marking them as disabled
- Default behaviour is to allow all hosts
2019-04-29 18:35:16 +10:00
Oliver Walters
1171953e65
Limit SupplierPart options in CreateBomItem form
...
- If Part is selected, limit the options in supplier_part field
- Only allow supplier_parts which map back to the same part
2019-04-28 11:24:26 +10:00
Oliver Walters
a9fbbc3a37
Remove references to get_object_or_404
...
- Properly handle DoesNotExist errors
2019-04-28 11:09:19 +10:00
Oliver Walters
a499fd325e
Docstring for Stock app
2019-04-27 22:49:16 +10:00
Oliver Walters
053e9c9795
Add a stock tracking index
...
- Shows entire history of stocktracking items
2019-04-25 22:11:10 +10:00
Oliver Walters
0cdf660a80
Merge remote-tracking branch 'inventree/master' into delete-old-forms
...
# Conflicts:
# InvenTree/part/views.py
2019-04-18 23:51:58 +10:00
Oliver Walters
9e9aa02b90
Remove old templates from Stock
2019-04-18 23:41:17 +10:00
Oliver Walters
8040ad8a6a
Add function to duplicate stock item
2019-04-18 23:28:46 +10:00
Oliver Walters
01bdf2f19b
PEP fixes
2019-04-16 22:32:43 +10:00
Oliver Walters
be60fbcc25
More cleanup for modal forms
...
- Require 'ajax_template_name' to be set or weird things happen!
2019-04-16 21:25:20 +10:00
Oliver Walters
1ef81ecf2e
Ignore some rules
2019-04-14 09:39:01 +10:00
Oliver Walters
76b0d17b11
PEP fixes for /stock
2019-04-14 09:23:24 +10:00
Oliver Walters
e6e03963c4
Simplified custom button text for modal forms
...
- Now only configured from the javascript end
- No server-side configuration of button text
2019-04-13 23:02:23 +10:00
Oliver Walters
93bb0bf6f4
Improved 'move stock' form
...
- Better error checking on the form (provides form validation messages to user)
2019-04-13 00:08:13 +10:00
Oliver
8a0db0e6df
Updated stockitem detail page
...
- Consolidated buttons into dropdown
- Stock tracking now in collapsible list
2018-05-06 21:53:06 +10:00
Oliver
a7d4e299b2
Cleaned up stock app
2018-05-04 23:31:48 +10:00