Oliver Walters
b3ca6a6ca7
PEP fixes
2020-05-17 00:26:44 +10:00
Oliver Walters
327682b719
Add forms / views / etc to create / edit / delete test results manually
2020-05-17 00:26:10 +10:00
Oliver Walters
8a99062704
PEP fixes
2020-05-16 17:52:25 +10:00
Oliver Walters
7190a8ef69
Serial number placeholder text for BuildComplete form
2020-05-16 17:29:41 +10:00
Oliver Walters
6552d011a4
Better calculatation of placeholder text for serial number
2020-05-16 16:42:34 +10:00
Oliver Walters
3df8f33080
Logic fixes for CreateStockItem form
...
- Improved data validation
- Fix bug where form was not checked for validity
2020-05-16 12:04:53 +10:00
Oliver Walters
3d0bea15ae
Refactor function naming
2020-05-16 12:03:18 +10:00
Oliver Walters
4cb97b1340
Add some more form candy
2020-05-16 11:55:10 +10:00
Oliver Walters
498ad4162c
Bugfix: Turns out 'prefix' and 'suffix' were protected fields!
2020-05-16 11:05:45 +10:00
Oliver Walters
0ccac09962
Auto-fill serial numbers for the SerializeStock form
2020-05-16 09:06:39 +10:00
Oliver Walters
72cfaccac5
Pass StockItem object through to the SerializeStock form
2020-05-15 21:16:00 +10:00
Oliver Walters
d4fa7d936e
Add 'user' field to attachment
2020-05-12 20:50:03 +10:00
Oliver Walters
14132a6efa
Add views / models / etc etc to support StockItem attachment
2020-05-07 09:57:54 +10:00
Oliver Walters
489dfa1823
Bug fix for a code path which resulted in a form failing validation but not showing any errors!
...
This one has been here for a while!
2020-04-27 20:45:01 +10:00
Oliver Walters
e768ada83b
More work
...
- Consolidated "in_stock" filter to single code location
- Improve 'limit_choices_to' for BuildItem and SalesOrderAllocation
- Various template improvements etc
2020-04-26 16:38:29 +10:00
Oliver Walters
77471cb89c
Form for shipping a SalesOrder
...
- Returns "False" for now
2020-04-24 10:20:56 +10:00
Oliver Walters
bbe714c8f7
Bugs!
...
Thanks, unit testing
2020-04-06 11:21:34 +10:00
Oliver Walters
33d21594da
Create new stock item from supplierpart stock page
...
- Allow stock-item-create form to have supplierpart passed as initial data
- Add some translations too
2020-02-12 11:32:01 +11:00
Oliver Walters
6d80788618
Allow stock-filtering and export using SupplierPart ID
2020-02-12 11:16:00 +11:00
Oliver Walters
4bd4f2a0a3
Fix for bug b)
...
- Don't attempt to save if there are duplicates
- Fix overwritten variable name
- Provide correct return data to the form
2020-02-06 23:22:55 +11:00
Oliver Walters
2949289fab
Fix for bug a)
...
- Would not create new StockItem for trackable part if Serial Numbers not provided
2020-02-06 23:11:47 +11:00
Oliver Walters
1bdcbd1974
Markdownify the 'notes' field for StockItem
...
- New tab interface for the StockItem page
- Display / editing of notes field with markdown
2020-02-02 12:11:18 +11:00
Oliver Walters
9da8189899
Allow non-integer stock movement
2019-11-19 10:17:20 +11:00
Oliver Walters
003a2d9f3c
Allow creation of stockitem with non-integer quantity
...
- Also provided more translation strings
2019-11-19 10:00:08 +11:00
Oliver Walters
75774771dc
Changes to StockItem model
...
- Stock adjustments need to accept decimal values
2019-11-19 09:18:41 +11:00
Oliver Walters
b7473be8ef
Update stock adjustment dialog
2019-11-16 20:29:05 +11:00
Oliver Walters
2261973331
Ability to delete multiple stock items
2019-11-16 20:19:10 +11:00
Oliver Walters
3e2a5263a5
Add stock information for top-level stock page
2019-09-27 09:59:14 +10:00
Oliver Walters
41c07fc423
Save user who created a stock item
...
- Handled differently for batch or serialized parts
2019-09-24 07:54:18 +10:00
Oliver Walters
204cd967aa
Include status label text when exporting stocktake data
2019-09-15 20:14:27 +10:00
Oliver Walters
9c84e9076f
Consolidate stock export code
...
- Now defined in stock.admin as StockItemResource
- Much more control over format of exported data
- Exported data can be re-imported!
2019-09-15 19:29:18 +10:00
Oliver Walters
108382cc89
Prefecth related data for stock export
...
- Example export reduced from 1,024 queries to 7
2019-09-09 08:17:26 +10:00
Oliver Walters
11c946be4d
Export human-readable status code
2019-09-09 00:02:08 +10:00
Oliver Walters
231a669fe5
Export stock based on supplier
2019-09-08 23:53:09 +10:00
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