Oliver Walters
42e1370e92
Bug fix
2019-07-25 10:36:59 +10:00
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
Oliver
37b109b8fc
First pass of automated tracking data
...
- When stock item is moved
- When stocktake is performed
- Yes it is bad - needs improvement!
2018-04-30 21:36:50 +10:00
Oliver
f9138f4997
Item stocktake form
2018-04-30 21:03:25 +10:00
Oliver
d68b51e007
Add ability to move a stock item
2018-04-30 01:00:18 +10:00
Oliver
bc597d7c21
Style fixes
2018-04-28 01:16:47 +10:00
Oliver
4d6e2aca2c
Modal forms for stock app
2018-04-27 22:59:08 +10:00
Oliver
982803a0a7
Updated Part model
...
- Added 'default_location'
- Added 'default_supplier'
2018-04-17 18:23:39 +10:00
Oliver
a91ff58d84
Flakey
...
Fixing python style errors
2018-04-16 01:02:17 +10:00
Oliver
55b533d3ef
Added edit views for stock
...
- StockItem
- StockLocation
2018-04-15 23:27:56 +10:00
Oliver
9d89db34b2
Improvements to stock page
...
- Fixed URL / view (use class views)
- Better slug lookup
- Better table rendering using ol' mate bootstrap
2018-04-15 20:10:49 +10:00
Oliver
ce854e3119
Add 'detail' view for stock item
2018-04-14 15:26:42 +10:00
Oliver
89ee09b01f
Implemented bidirectional traversal for PART and STOCK apps
...
- Added list view for StockItems
2018-04-14 15:13:16 +10:00
Oliver
1da6df0c5e
Separate API views into api.py
...
- Web views are still in views.py
- Files were getting too cluttered and hard to grok
2018-04-14 14:11:46 +10:00
Oliver Walters
7478371d0c
Added stockhistory
...
using django-simple-history
2017-04-21 23:47:04 +10:00
Oliver Walters
4777b02080
Added User API and serializer
2017-04-20 22:40:59 +10:00
Oliver Walters
2c28ef6b3c
Added update endpoints for StockItem
...
- Stocktake
- Take-Stock
2017-04-20 22:08:27 +10:00
Oliver Walters
057fd1dd20
Filtering improvements
2017-04-16 14:24:15 +10:00
Oliver Walters
a65f85df87
Added StockTracking model
2017-04-16 01:43:30 +10:00
Oliver Walters
7e1fbf8a04
Style fixes
2017-04-16 01:01:48 +10:00
Oliver Walters
4259c6f9eb
Fixed stock URLs and API docs
2017-04-15 23:14:10 +10:00
Oliver Walters
7d7579d3d6
Style fixes
2017-04-15 00:55:30 +10:00
Oliver Walters
858a7fe089
Tweaking URL patterns
2017-04-14 21:44:01 +10:00
Oliver Walters
e5f6de5d2b
Style fixes
2017-04-14 16:12:54 +10:00
Oliver Walters
f21a05dfa3
Style fixes
2017-04-14 13:31:07 +10:00
Oliver Walters
7fe1c21ebd
Updated Part API
...
- categories can now be filtered by parent
- Added FilterChildren func to invenTree.models
2017-04-14 13:09:24 +10:00
Oliver Walters
c4b7b80e1a
Added stock permissison
2017-04-14 12:58:43 +10:00
Oliver Walters
0441eb4c38
API improvements for Stock app
2017-04-14 12:54:34 +10:00
Oliver Walters
2f3e29ab13
more api fixes
2017-04-14 08:52:25 +10:00
Oliver
15582369d2
API for stock app
2017-04-11 18:58:44 +10:00
Oliver
338dcd3b72
Fixing python errors
2017-04-11 17:21:05 +10:00
Oliver Walters
4912d5507b
peppercord
2017-03-28 23:46:17 +11:00
Oliver Walters
1a875811b7
not a pep
2017-03-28 23:44:32 +11:00
Oliver Walters
433dc7b3e3
Pep goes the weasel
2017-03-28 23:41:05 +11:00
Oliver Walters
c111aaf9b2
peps
2017-03-28 23:25:38 +11:00
Oliver Walters
e98c20048b
Added stock page
2017-03-27 21:05:19 +11:00