Oliver Walters
e1b70ff68f
Add default values for create part form
2020-11-09 22:52:32 +11:00
eeintech
142cea0cbb
Removed custom form save method, remove unused model methods, restored InvenTree CreateAjaxView, improved part related testing
2020-11-04 07:44:06 -05:00
Oliver
ef2c04baa8
Merge pull request #1048 from eeintech/related_parts
...
Related Parts
2020-11-03 21:18:27 +11:00
Oliver Walters
2d583d19c2
Adds function to duplicate a BOM from a parent part
...
- Improves form validation workflow
- More 'djangoesque'
2020-10-30 10:08:06 +11:00
eeintech
8579abb9c2
Added related parts urls, views, form and templates
...
Adding related part relationships work but are still not shown in the part detail page
2020-10-15 16:58:39 -05:00
Oliver Walters
3ee7be1d58
Add "optional" field to BomItem
...
- Defaults to False
- Indicates that the BomItem is "optional" for a build
- Will be used in the future when calculating if a Build output is fully allocated!
2020-10-05 00:42:09 +11:00
Oliver Walters
86660a5f17
style fixes
2020-09-19 19:52:48 +10:00
Oliver Walters
ff7570aea4
VIews / forms / etc
2020-09-18 21:49:56 +10:00
Oliver Walters
c4989e59b2
Allow selection of bom_copy and parameter_copy when making a new variant
2020-09-05 20:10:18 +10:00
eeintech
440a5fafea
Implemented part parameters copy from template/original part
2020-09-04 14:02:12 -05:00
Oliver
ee0df29af0
Merge pull request #921 from eeintech/show_potential_bom_items_stock
...
Show 'available_stock' in Part string representation
2020-08-26 09:36:55 +10:00
eeintech
946d824995
Switched to ModelChoiceField
2020-08-24 11:41:14 -05:00
eeintech
6fc275ca30
BoM export: added option to export part paremeters ( #126 ) and stocks ( #793 )
2020-08-20 13:53:27 -05:00
Oliver Walters
7e829e88af
Add option for including supplier data for BOM export
...
(cherry picked from commit d0b5550c865f1cce16e7bb123f2274c16151a2c5)
2020-08-19 14:08:47 +10:00
Oliver Walters
b27ecf54d7
Allow user to set "depth" of exported multi-level BOM
2020-08-16 08:29:36 +10:00
Oliver Walters
9b7b65374d
Use rounding decimal field in BomItem form
2020-05-27 10:33:47 +10:00
Oliver Walters
fc6cad475a
Add validation for StockItemTestResult based on the matching PartTestTemplate
2020-05-18 19:11:43 +10:00
Oliver Walters
b9799e1824
Add some more part slidies
2020-05-17 17:05:04 +10:00
Oliver Walters
e30f6ec374
Add forms / views for creating / editing / deleting test templates
2020-05-17 16:50:34 +10:00
Oliver Walters
4cb97b1340
Add some more form candy
2020-05-16 11:55:10 +10:00
Oliver Walters
b28487760a
Rename Part.URL -> part.link
...
- Previous migration needed some tweaking to get it to run... because.. why?
- It seems to pass when running manage.py migrate but fails when running manage.py test
- Stumped on this one
2020-04-06 11:16:39 +10:00
Oliver Walters
434d084371
Provide form for user to select export options
2020-02-11 21:43:17 +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
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