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 |
|
Oliver Walters
|
3954b33fb7
|
Use 'on_order' count in calculation for parts we need to order
|
2019-06-10 23:05:14 +10:00 |
|
Oliver Walters
|
b8bcc5ce0c
|
Separate display of open and closed purchase orders (per part)
|
2019-06-10 22:31:19 +10:00 |
|
Oliver Walters
|
9efdd836f4
|
Tweak the 'on_order' calculation
|
2019-06-10 21:56:50 +10:00 |
|
Oliver Walters
|
31ad31365a
|
Calculate parts on order for a Part / SupplierPart
|
2019-06-07 08:37:25 +10:00 |
|
Oliver Walters
|
67248ec4dd
|
List purchase orders for a given part
|
2019-06-05 21:47:22 +10:00 |
|
Oliver Walters
|
f731c45ce8
|
Replace other choice fields with commonized status code
|
2019-06-04 23:38:52 +10:00 |
|
Oliver Walters
|
219c438b82
|
Part name uniqueness is case insensitive
|
2019-06-02 20:37:59 +10:00 |
|
Oliver Walters
|
ba26acd487
|
Rename some fields
- Oops didn't think that through, gotta go through and fix the data now...
|
2019-06-02 19:46:30 +10:00 |
|
Oliver Walters
|
91a5a7f051
|
Simplify part model
- Remove 'varian't or ''revision' field
- Part name must be unique across database
|
2019-05-26 12:16:57 +10:00 |
|
Oliver Walters
|
41eb195940
|
Thanks, PEP
|
2019-05-26 00:42:40 +10:00 |
|
Oliver Walters
|
2138977b07
|
Include template attachments in attachment count
|
2019-05-26 00:39:36 +10:00 |
|
Oliver Walters
|
7881a67db4
|
Calculate stock based on variant stock if part is a template
|
2019-05-26 00:01:01 +10:00 |
|
Oliver Walters
|
c45a506a10
|
Rename field part.has_variants to part.is_template
|
2019-05-25 23:58:31 +10:00 |
|
Oliver Walters
|
bc778c1451
|
Prevent a Part from both having variants and being a variant of something else
|
2019-05-25 22:43:47 +10:00 |
|
Oliver Walters
|
1a2fb9e170
|
Add 'has_variants' and 'variant_of' field for Part
- StockItem cannot point to a part which is a template part
|
2019-05-25 22:27:36 +10:00 |
|
Oliver Walters
|
ecfde46838
|
Fix error in BomItem creation
|
2019-05-25 21:57:59 +10:00 |
|
Oliver Walters
|
d386c2a6f9
|
Include total stock in PartBrief serializer
|
2019-05-23 21:51:27 +10:00 |
|
Oliver Walters
|
d1dfad591d
|
Pepperoni
|
2019-05-21 15:38:22 +10:00 |
|
Oliver Walters
|
988a35d237
|
Serialize BOMItem pricing information
- Account for quantity
- Prefetch required items
|
2019-05-21 15:15:54 +10:00 |
|
Oliver Walters
|
2817e6ca31
|
Added further part pricing
|
2019-05-21 14:08:40 +10:00 |
|
Oliver Walters
|
9d5b938ced
|
Don't serialize 'available_stock' in PartSerializer
|
2019-05-21 07:57:44 +10:00 |
|
Oliver Walters
|
ca9d6e6e25
|
PEP fixes
|
2019-05-21 00:54:48 +10:00 |
|
Oliver Walters
|
72aba30e81
|
More hungry fetching
|
2019-05-21 00:16:00 +10:00 |
|
Oliver Walters
|
157919f47a
|
More prefetching
-
|
2019-05-21 00:06:57 +10:00 |
|
Oliver Walters
|
6ae48d07c4
|
Cleanup pricing algorithms
|
2019-05-20 23:53:39 +10:00 |
|
Oliver Walters
|
d15b09a5f4
|
Don't serialize pricing
- Saves MANY queries and provides drastic speedup
|
2019-05-20 23:03:19 +10:00 |
|
Oliver Walters
|
18ff80312b
|
Fixes
|
2019-05-20 22:53:01 +10:00 |
|
Oliver Walters
|
ee2ddbf512
|
Reduce some database queries by using aggregate Sum
|
2019-05-20 21:47:30 +10:00 |
|
Oliver Walters
|
54ccf6c7b3
|
PEP
|
2019-05-18 23:09:04 +10:00 |
|
Oliver Walters
|
b64a29b897
|
Display build pricing information
|
2019-05-18 23:09:00 +10:00 |
|
Oliver Walters
|
2b098942b0
|
Fix pricing bug
- Include BOM item pricing in API
|
2019-05-18 23:08:56 +10:00 |
|
Oliver Walters
|
2a1fd2b03b
|
More complex pricing calculations
- Calculate BOM price for a part
- Calculate total pricing for a part (build or purchase)
- Display pricing information in BOM table
|
2019-05-18 23:08:51 +10:00 |
|
Oliver Walters
|
cdc55bb5d3
|
PEP fixes
|
2019-05-18 23:08:42 +10:00 |
|
Oliver Walters
|
a3d1591929
|
Display part pricing in Part view
- Calculate min_price and max_price based on provided supplier information
|
2019-05-18 23:08:38 +10:00 |
|
Oliver Walters
|
0cfb243eb3
|
Move SupplierPart and SupplierPriceBreak to the 'Company' app
- https://docs.djangoproject.com/en/2.2/ref/models/options/#django.db.models.Options.db_table
- https://stackoverflow.com/questions/3519143/django-how-to-specify-a-database-for-a-model
- And others, presumably
|
2019-05-18 23:08:34 +10:00 |
|