Oliver Walters
|
afa31b3415
|
Generate thumbnails for any part images existing in the database
|
2020-04-05 00:19:05 +11:00 |
|
Oliver Walters
|
aee0970e49
|
Part image field now uses django-stdimage
|
2020-04-04 15:47:05 +11:00 |
|
Oliver Walters
|
b25df586cd
|
Fix API tets
|
2020-04-03 12:30:58 +11:00 |
|
Oliver Walters
|
f5150f549a
|
Part API changes
- Allow filtering parts with null parent (top-level category parts)
- Option to include sub-category parts or not
|
2020-04-03 09:37:03 +11:00 |
|
Oliver Walters
|
6e65a736e7
|
Add isNull function to query against null keys
|
2020-04-03 09:31:26 +11:00 |
|
Oliver Walters
|
d17056820b
|
Allow PartCategory filtering by null parent
|
2020-04-03 09:25:58 +11:00 |
|
Oliver Walters
|
7e8664a4dd
|
Include "parts" count in Category API
|
2020-04-03 09:15:09 +11:00 |
|
Oliver Walters
|
34c097c46a
|
Display proper build status label
|
2020-03-30 16:48:14 +11:00 |
|
Oliver Walters
|
5aec3df7c9
|
Add stock-info labels to Part info page
|
2020-03-30 13:37:34 +11:00 |
|
Oliver Walters
|
e8e0ab8416
|
Include 'minimum_stock' information in part list api
|
2020-03-30 13:21:33 +11:00 |
|
Oliver Walters
|
713d7960a8
|
Fix on_order calculation
- Take into account the number "received"
- Also fix unit tests
|
2020-03-26 17:56:44 +11:00 |
|
Oliver Walters
|
6a78f6d451
|
Include quantity currently being build in Part API
|
2020-03-26 17:43:02 +11:00 |
|
Oliver Walters
|
41bbbdcd43
|
Improve query speed when calculating how many parts are on order
|
2020-03-26 17:31:59 +11:00 |
|
Oliver Walters
|
57123283f4
|
Better filtering of annotations for Part-list API
|
2020-03-26 17:08:01 +11:00 |
|
Oliver Walters
|
dae45875fb
|
Add 'on_order' quantity to the part list API
|
2020-03-26 14:46:23 +11:00 |
|
maxbachmann
|
b162c97226
|
use rapidfuzz instead of fuzzywuzzy
|
2020-03-22 22:31:15 +01:00 |
|
Oliver Walters
|
4a259dc146
|
Can now successfully edit or delete a purchase-order attachment
|
2020-03-22 19:55:46 +11:00 |
|
Oliver Walters
|
834f80698b
|
Create a new attachment against a PurchaseOrder
|
2020-03-22 18:41:41 +11:00 |
|
Oliver Walters
|
56a6943438
|
Add an 'attachment' page for the PurchaseOrder view
|
2020-03-22 18:13:34 +11:00 |
|
Oliver Walters
|
a661d7e1a6
|
Abstract the PartAttachment class
Now "Attachments" are much easier to implement for different models
|
2020-03-22 17:59:23 +11:00 |
|
Oliver Walters
|
5207b2ba21
|
Add build status label to part detail
|
2020-03-19 10:20:09 +11:00 |
|
Oliver Walters
|
15bc457714
|
Improve calculation of BOM item overage
|
2020-03-19 10:15:43 +11:00 |
|
Oliver Walters
|
d51ac2f5c2
|
Save creation user when making a new part via the API
|
2020-03-18 22:00:32 +11:00 |
|
Oliver Walters
|
a147ce4284
|
Save the current user when creating a new part
|
2020-03-18 21:53:02 +11:00 |
|
Oliver Walters
|
8186e4bab0
|
Display creation information in part detail page
|
2020-03-18 21:50:38 +11:00 |
|
Oliver Walters
|
2b08b0f2b9
|
Add new fields for Part object
- Creation date
- Creation user
- Responsible user
|
2020-03-18 21:50:18 +11:00 |
|
Oliver Walters
|
8eaaf62eda
|
Limit choices for Part selection
Based on is_template / virtual / active status
|
2020-03-18 21:28:11 +11:00 |
|
Oliver Walters
|
c04aa1bff7
|
Increase unit testing for BOM item model
|
2020-03-18 21:04:37 +11:00 |
|
Oliver Walters
|
3b9f57fc80
|
Bug fix - Multiplying float by decimal
- Overage percentage now uses explicit decimal multiplication
|
2020-03-18 20:44:45 +11:00 |
|
Oliver Walters
|
4a2fa36e30
|
Allow 'notes' field in Part object to be blank
|
2020-02-23 20:02:33 +11: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
|
50fee1bfe5
|
More work on translations
|
2020-02-12 10:25:46 +11:00 |
|
Oliver Walters
|
28e9d842bf
|
Small tweaks for BOM export
- Steps towards preventing circular BOMs
- Improve formatting of exported BOM
|
2020-02-12 10:18:20 +11:00 |
|
Oliver Walters
|
d04fb0d826
|
Use decimal2string instead of normalize
|
2020-02-12 10:08:35 +11:00 |
|
Oliver Walters
|
520b8d7b2b
|
Fix for BOM pricing weirdness
|
2020-02-12 10:06:17 +11:00 |
|
Oliver Walters
|
c287a0a0b9
|
More rounding improvements
|
2020-02-12 08:22:55 +11:00 |
|
Oliver Walters
|
5ae7ca71d7
|
Improve number rendering of build allocation page
|
2020-02-12 08:12:26 +11:00 |
|
Oliver Walters
|
882bda46b4
|
Fix tests
|
2020-02-11 22:38:50 +11:00 |
|
Oliver Walters
|
f865573e48
|
Implement cascading export of BOM
|
2020-02-11 22:32:36 +11:00 |
|
Oliver Walters
|
434d084371
|
Provide form for user to select export options
|
2020-02-11 21:43:17 +11:00 |
|
Oliver Walters
|
55aa63dab4
|
Override save() method for Part model
- Delete old thumbnails if they are no longer being used
|
2020-02-11 20:27:06 +11:00 |
|
Oliver Walters
|
77c950a729
|
Fixed unit tests
|
2020-02-11 00:39:02 +11:00 |
|
Oliver Walters
|
dee47bdea8
|
Prevent django_cleanup from deleting part thumbs that are used elsewhere
- Will need to implement a method for automatically deleting part thumbs...
|
2020-02-11 00:29:29 +11:00 |
|
Oliver Walters
|
8ea1086b03
|
Make thumb buttons only visible on mouseover
|
2020-02-11 00:28:46 +11:00 |
|
Oliver Walters
|
e0e996a6c3
|
Add buttons to select or upload part images
|
2020-02-11 00:00:03 +11:00 |
|
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
|
17c10da10e
|
Display existing images in a form
|
2020-02-10 22:57:36 +11:00 |
|
Oliver Walters
|
a82e219336
|
Add translatable strings for part views
|
2020-02-10 22:10:06 +11:00 |
|
Oliver Walters
|
1327c1d3b1
|
Add API endpoint for querying part images
|
2020-02-10 22:03:06 +11:00 |
|