Oliver Walters
8817b4d692
Icer button rendering for PurchaseOrder page
2019-09-08 23:27:54 +10:00
Oliver Walters
9212d6047f
Add supplier information to exported data
2019-09-08 23:10:13 +10:00
Oliver Walters
cc452bc270
Export stock data
2019-09-08 23:01:16 +10:00
Oliver Walters
faf8b9f2f0
Form / view for downloading stocktake info
2019-09-08 22:37:27 +10:00
Oliver Walters
2c969ef1c6
View for exporting stocktake / stock list
...
(cherry picked from commit bdad2d6178a14322ef225d08b13db86b6d7d0909)
2019-09-08 20:55:06 +10:00
Oliver Walters
b4bbd43bae
Fix 404 if a stock item is completely depleted
2019-09-07 21:15:14 +10:00
Oliver Walters
7fd4359007
Add new option to move-stock form
...
- Set the destination as the default location for parts being moved
2019-09-05 19:59:00 +10:00
Oliver Walters
891f4f9f17
Another test
2019-08-30 00:14:54 +10:00
Oliver Walters
6f8c3454f3
Tests for stock serialization form
2019-08-30 00:06:46 +10:00
Oliver Walters
4db345d0c2
Perfom serialization
2019-08-28 22:47:46 +10:00
Oliver Walters
6c5b09efd4
Provide initial data
2019-08-28 21:50:44 +10:00
Oliver Walters
7575a39b7f
Add form / view for serializing a stock item
...
- Back end doesn't do anything yet
2019-08-28 21:46:26 +10:00
Oliver Walters
bc03ae53bd
Changes for clean of StockItem
2019-08-28 20:01:38 +10:00
Oliver Walters
88b90281f5
Do not enforce serialization when creating a stock item
2019-08-28 19:56:35 +10:00
Oliver Walters
bd61c89094
Tests for stock app views
2019-08-09 20:13:23 +10:00
Oliver Walters
fe7392f152
Prevent stock adjustments for serialized stock items
2019-07-25 11:05:09 +10:00
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