Oliver Walters
c546ed5dcd
Update requirements
...
- Use markdownify for rendering
- Use markdownx for editing
2020-01-31 21:42:30 +11:00
Oliver Walters
596d06cf1a
Add a markdown editor for the 'Notes" field of Part model
...
https://github.com/timmyomahony/django-pagedown
2020-01-31 20:28:54 +11:00
Oliver Walters
c5a82f4b6e
Simplifty PartPriceInfo field
2019-09-17 20:17:25 +10:00
Oliver Walters
08f958dd72
Add form for setting part category
2019-09-17 14:06:11 +10:00
Oliver Walters
e903c1858f
PEP
2019-09-03 22:45:45 +10:00
Oliver Walters
7314f33d6d
Add currency selection field for price calculation form
2019-09-03 22:00:43 +10:00
Oliver Walters
307a04da58
Add View/Form for creating a new PartParameterTemplate
2019-08-20 14:33:18 +10:00
Oliver Walters
c68c79ea43
Create view / form / URL for PartParameter creation
2019-08-20 14:14:21 +10:00
Oliver Walters
6c73649687
PEP fix
2019-08-14 16:35:26 +10:00
Oliver Walters
5963f7ed01
Deleted unused form
2019-08-14 13:54:16 +10:00
Oliver Walters
29a27ce598
Improve rendering for field selection form
2019-07-03 20:08:49 +10:00
Oliver Walters
808d332bda
Show BomItem reference field in BOM table
2019-06-27 23:57:21 +10:00
Oliver Walters
4648db6ce5
Pass file data through to the next form page
2019-06-27 23:49:01 +10:00
Oliver Walters
65c7454124
Require certain headers to be present in the file
2019-06-27 22:16:24 +10:00
Oliver Walters
2831ac55c4
Link to download a BOM template file
2019-06-27 22:15:58 +10:00
Oliver Walters
8b207d0d1d
Initial work towards uploading a BOM file
...
- Create a form with a single FileField
2019-06-27 21:09:33 +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
0285d3ee83
Improved button mechanics
2019-06-18 22:54:32 +10:00
Oliver Walters
3349d0c0df
Remove part 'type' fields from form
...
These are now presented as virtual buttons
2019-06-18 21:43:51 +10:00
Oliver Walters
0b88953706
Form field rearrangement
2019-06-02 20:07:30 +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
f3b17b2164
Add some form fields (might have to remove later)
2019-05-26 00:32:18 +10:00
Oliver Walters
21dd893c01
Display templated parts as italic in the part list
2019-05-26 00:29:17 +10:00
Oliver Walters
dcf79338c1
Add pop-up pricing window for part
...
- Cost to purchase from suppliers
- Cost to build from BOM
2019-05-18 23:09:08 +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
Oliver Walters
fc3072a459
Form for creating a new price break for a supplier part
2019-05-18 23:08:25 +10:00
Oliver Walters
a2dbdfe794
Remove 'single_price' field from supplier part
...
- Instead we will rely entirely on the SupplierPriceBreak model
2019-05-18 23:07:58 +10:00
Oliver Walters
f6baf5d2ae
Add 'overage' field to BOM item
...
- Accepts absolute or percentage numbers
- Default = blank
- Now with custom validator! (for limited time only, limit one per customer)
2019-05-15 00:16:34 +10:00
Oliver Walters
0842bd5833
Add 'default_keywords' field to a category
2019-05-14 17:30:24 +10:00
Oliver Walters
02033c2157
Add 'keywords' field to Part
...
- Shows up in search results
2019-05-14 17:23:20 +10:00
Oliver Walters
2408318eae
Add new view to duplicate a part
...
- Allows 'deep_copy' (copies all BOM items for the duplicated part)
2019-05-13 21:41:32 +10:00
Oliver Walters
e3a9a70678
Add a form/view/etc for BOM validation
2019-05-12 16:27:50 +10:00
Oliver Walters
84d2fce8ca
Add a 'confirm_creation' input if there are possible part matches
2019-05-11 12:29:02 +10:00
Oliver Walters
f76f1f54ae
Add 'variant' field to Part model
...
- Display 'long_name' which is concatenation of name and variant
2019-05-10 22:17:13 +10:00
Oliver Walters
bb702367b6
Test that uploaded image is an image file, return error otherwise
...
- New javascript function inventreeFileUpload
2019-05-06 22:20:06 +10:00
Oliver Walters
f270375847
Add ability to edit default_location for a PartCategory
2019-05-04 19:03:32 +10:00
Oliver Walters
6e8c1bcc84
Add views to Create / Edit / Delete a PartAttachment
...
- Buttons to edit or delete existing attachments
- Button to add a new attachment
- Fixed conflicting migrations
2019-05-02 17:29:21 +10:00
Oliver Walters
cd438f0569
Add generic method for retriving GET or POST params
2019-04-28 09:53:42 +10:00
Oliver Walters
9b77340782
Change field ordering for SupplierPart form
...
- Import fields first!
2019-04-28 08:55:29 +10:00
Oliver Walters
ed3ae30248
Documentation for Part app
2019-04-27 22:18:07 +10:00
Oliver Walters
7b68310d73
PEP fixes
2019-04-25 03:20:25 +10:00
Oliver Walters
52c3a63c61
Updated SupplierPriceBreak page
2019-04-17 00:48:01 +10:00
Oliver Walters
7eea9d1a20
Launch a modal to select BOM download format
...
- This will have to change! A client-side hack for now..
- Work out a better way to do this!
2019-04-16 21:46:12 +10:00
Oliver Walters
bad46f85f4
Edit / delete / add BOM items
...
- Remove x-editable inline editing
- Uses only bootstrap-table and modal forms
- Hide the 'part' field in the bom item edit
2019-04-16 01:41:01 +10:00
Oliver Walters
6e2b111b9c
Add 'consumable' field to Part
...
- Indicates that a part can be used to make other parts
- This is the inverse of 'buildable'
- Add this field to the serializer and edit forms
- Display parameter on part info page
- BOM edit window only requests sub-parts that are marked as 'consumable'
- Also added option to edit 'units' field for part
2019-04-16 00:01:52 +10:00
Oliver Walters
b58c49e066
Create BOM export form
...
- Select output format
2019-04-14 12:34:13 +10:00
Oliver
bee760d184
Deleted extraneous form code
2018-04-30 00:59:36 +10:00
Oliver
aca0d236ee
Javascript consolidation
2018-04-29 12:25:07 +10:00
Oliver
7ebb723d15
Revert "Set initial value fields to disabled for some forms"
...
This reverts commit c1271367bd
.
2018-04-28 12:19:50 +10:00