Oliver Walters
|
d4fe83170f
|
Select existing image and upload successfully
|
2020-02-10 23:48:45 +11:00 |
|
Oliver Walters
|
725eb3c538
|
Do not duplicate images when copying a part
- Simply reference the existing image
|
2020-02-10 23:04:58 +11:00 |
|
Oliver Walters
|
9cef038d6a
|
IPN must match regex validator (if one is provided)
|
2020-02-03 21:09:24 +11:00 |
|
Oliver Walters
|
c546ed5dcd
|
Update requirements
- Use markdownify for rendering
- Use markdownx for editing
|
2020-01-31 21:42:30 +11:00 |
|
Oliver Walters
|
5e9b012031
|
Bug fix for static lookup of blank image
|
2019-12-09 20:40:04 +11:00 |
|
Oliver Walters
|
1a6f06cceb
|
normalize decimal fields
|
2019-12-06 22:40:27 +11:00 |
|
Oliver Walters
|
98374ca466
|
Update to more recent libraries
- Specify exact module versions
|
2019-12-05 14:12:05 +11:00 |
|
Oliver Walters
|
9da8189899
|
Allow non-integer stock movement
|
2019-11-19 10:17:20 +11:00 |
|
Oliver Walters
|
6e90ac367e
|
Massaging unit tests
- Decimal fields are useful but VERY ANNOYING to use
- Needed to fix some test cases
|
2019-11-19 08:59:56 +11:00 |
|
Oliver Walters
|
400941c10f
|
Change item quantity field from PositiveInteger to Decimal
- Allow 'partial' quantity e.g. '0.45kg'
- Need to change some maths functions as Decimal type is pernickity
|
2019-11-19 08:49:54 +11:00 |
|
Oliver Walters
|
5ffbfe8eb8
|
Add translation strings for part models
|
2019-11-19 08:42:10 +11:00 |
|
Oliver Walters
|
a77fd23fcf
|
Add a reminder for future-self
|
2019-09-17 20:19:27 +10:00 |
|
Oliver Walters
|
db04f399c1
|
Simplify exporting of BOM for a part
|
2019-09-15 22:21:12 +10:00 |
|
Oliver Walters
|
4ac8353099
|
Create a custom URL field, which allows the user-specified validators
- Ref: https://stackoverflow.com/questions/41756572/django-urlfield-with-custom-scheme
- Apply this to the URL field in the Part model
|
2019-09-14 00:04:08 +10:00 |
|
Oliver Walters
|
e4fc44c135
|
More test
|
2019-09-08 20:36:51 +10:00 |
|
Oliver Walters
|
2a203be5cc
|
Tests for part parameters
|
2019-09-08 20:18:21 +10:00 |
|
Oliver Walters
|
dac61eafa2
|
Fixed tests
- Tree classes now need extra configuration in the fixture
- Check for null pk when cleaning a tree node
|
2019-09-08 19:41:54 +10:00 |
|
Oliver Walters
|
a5189b8f3f
|
Replace a recursive function
|
2019-09-08 19:28:40 +10:00 |
|
Oliver Walters
|
0d6a3d3b28
|
BOM table now refreshes the table rather than the page
|
2019-09-08 19:24:47 +10:00 |
|
Oliver Walters
|
3eb3c43e5c
|
Change foreign keys to TreeForeignKey
|
2019-09-08 19:19:39 +10:00 |
|
Oliver Walters
|
678157aac4
|
Update StockLocation and PartCategory models
- Use the MPTT functionality once more
|
2019-09-08 19:13:13 +10:00 |
|
Oliver Walters
|
13270617b9
|
Ensure PartParameterTemplate name is unique
|
2019-09-07 19:43:41 +10:00 |
|
Oliver Walters
|
37d9c59a0e
|
Add API endpoint for validating a BOM item
|
2019-09-05 19:29:51 +10:00 |
|
Oliver Walters
|
0508c2dcaf
|
Use the hash for each line item to calculate the total BOM hash
|
2019-09-05 13:10:26 +10:00 |
|
Oliver Walters
|
7671eb2b22
|
Add a checksum field to the bom line item
|
2019-09-05 12:58:11 +10:00 |
|
Oliver Walters
|
43967e302b
|
Add ablity to serialize an existing quantity of stock
- Do not have to serialize all the stock
- Add tests
- Add function to copy entire stock transaction history
|
2019-08-28 21:12:16 +10:00 |
|
Oliver Walters
|
d5ad53c788
|
Add docstring
|
2019-08-28 19:44:46 +10:00 |
|
Oliver Walters
|
f94be40857
|
Style fixes
|
2019-08-28 19:44:02 +10:00 |
|
Oliver Walters
|
c68c79ea43
|
Create view / form / URL for PartParameter creation
|
2019-08-20 14:14:21 +10:00 |
|
Oliver Walters
|
db834802e3
|
Add uniqueness check for PartParameterTemplate name field
- Case insensitive
|
2019-08-20 13:08:06 +10:00 |
|
Oliver Walters
|
a228b38e5d
|
Fix parameter lookup
|
2019-08-20 13:03:36 +10:00 |
|
Oliver Walters
|
e6819b5396
|
Change model - add PartParameterTemplate
|
2019-08-20 13:02:00 +10:00 |
|
Oliver Walters
|
6393ddad53
|
Add param tab to Part detail view
|
2019-08-20 12:44:00 +10:00 |
|
Oliver Walters
|
2f6357b136
|
Add PartParameter table
|
2019-08-20 12:31:43 +10:00 |
|
Oliver Walters
|
3dca7ba353
|
Include supplier information in BOM
|
2019-08-07 09:12:53 +10:00 |
|
Oliver Walters
|
0a328687a5
|
BOM hash includes reference fields
|
2019-08-02 11:11:28 +10:00 |
|
Oliver Walters
|
482a5dae4b
|
Save the selected BOM data
|
2019-07-10 12:27:19 +10:00 |
|
Oliver Walters
|
ff5af8f217
|
Add a button to create a new part if necessary
|
2019-07-07 11:56:44 +10:00 |
|
Oliver Walters
|
bd30ac037b
|
Generate a list of allowed BOM items and pass to the form template
|
2019-07-07 11:22:01 +10:00 |
|
Oliver Walters
|
b6a6e2dae7
|
Change the manner in which active parts are filtered for BOM
- Prevented BOM from displaying for an inactive part
- Now manually filter the queryset in the form view
|
2019-06-28 10:00:23 +10:00 |
|
Oliver Walters
|
3085db44af
|
Add 'reference' field to BOM item model
|
2019-06-27 21:44:40 +10:00 |
|
Oliver Walters
|
d6fcf85cd2
|
Set part category for multiple parts at once
|
2019-06-25 19:15:39 +10:00 |
|
Oliver Walters
|
a5306ec81b
|
Add 'revision' field to part
- e.g. different versions of a product
- Can keep old versions in database and mark as inactive
|
2019-06-20 21:46:16 +10:00 |
|
Oliver Walters
|
8328e7e13c
|
Improve uniqueness checking for Part
|
2019-06-20 21:37:25 +10:00 |
|
Oliver Walters
|
c9c851bead
|
Add 'virtual' part flag
|
2019-06-18 18:34:07 +10:00 |
|
Oliver Walters
|
16b6ae8d61
|
Fixed up some stupid recursion on the Tree model template
|
2019-06-18 00:59:54 +10:00 |
|
Oliver Walters
|
642660d76e
|
Improved speed of stock tree
|
2019-06-18 00:09:42 +10:00 |
|
Oliver Walters
|
037dc6a0d6
|
Reduced tree time with some better queries
|
2019-06-17 23:52:49 +10:00 |
|
Oliver Walters
|
bc05146e72
|
First pass at 'order parts' fom
- Select parts in modal form window
|
2019-06-11 23:37:32 +10:00 |
|
Oliver Walters
|
8e82488f70
|
Display 'net stock' value on front page
|
2019-06-11 21:58:20 +10:00 |
|