Oliver Walters
|
2d17f957f1
|
Remove code duplication for part data export
|
2019-09-15 19:52:28 +10:00 |
|
Oliver Walters
|
2bc97764c7
|
Allow more file formats for BOM import
|
2019-09-15 19:45:59 +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
|
8578a3b8d1
|
Add searching to other admin views
|
2019-09-13 23:32:49 +10:00 |
|
Oliver Walters
|
9b1d0bee3b
|
Add filtering and searching to Part admin
|
2019-09-13 23:27:22 +10:00 |
|
Oliver Walters
|
6a19e94feb
|
Include some extra calculated fields for Part export (readonly)
|
2019-09-13 23:15:34 +10:00 |
|
Oliver Walters
|
23b814569a
|
Manager for importing StockLocation data
|
2019-09-13 22:44:50 +10:00 |
|
Oliver Walters
|
37ab3d214d
|
Import/export management for the Company app
- Company
- SupplierPart
- SupplierPriceBreak
|
2019-09-13 22:39:15 +10:00 |
|
Oliver Walters
|
c579854e89
|
Export 'default_supplier' field
|
2019-09-13 22:29:11 +10:00 |
|
Oliver Walters
|
2bc34853e2
|
import/export manager for PartParameter
|
2019-09-13 22:27:32 +10:00 |
|
Oliver Walters
|
c469e48f26
|
Data manager for BomItem
|
2019-09-13 22:23:40 +10:00 |
|
Oliver Walters
|
bacd70687d
|
Management class for PartCategory import / export
|
2019-09-13 22:20:08 +10:00 |
|
Oliver Walters
|
89acc778f5
|
Skip unchanged lines for matching ID values
|
2019-09-13 22:11:31 +10:00 |
|
Oliver Walters
|
ac36048230
|
Improve import/export of Part
- Can now import part data
- Either UPDATE existing rows, or CREATE new ones
|
2019-09-13 22:08:31 +10:00 |
|
Oliver Walters
|
8a68313e5e
|
Customize admin export of Part object
|
2019-09-13 21:39:37 +10:00 |
|
Oliver Walters
|
567826165c
|
Improve BomItem editing form
- Don't allow duplication of an item already in the BOM
- Remove the parent part from the BOM
|
2019-09-13 16:26:44 +10:00 |
|
Oliver Walters
|
8716281f7e
|
Add unit test for invalid characters
|
2019-09-13 11:15:54 +10:00 |
|
Oliver Walters
|
61d2ce67ef
|
Hide dropdown-menu for functionality that does not yet exist
|
2019-09-12 22:01:18 +10:00 |
|
Oliver Walters
|
4dc7da41b9
|
pepper
|
2019-09-09 20:02:52 +10:00 |
|
Oliver Walters
|
ddb041fe44
|
Filter by category too
|
2019-09-09 19:59:56 +10:00 |
|
Oliver Walters
|
776fc8b1e5
|
Add 'used_in' count to part export
|
2019-09-09 19:37:59 +10:00 |
|
Oliver Walters
|
8723a6c219
|
Add 'purchaseable' field to part export
|
2019-09-09 19:10:57 +10:00 |
|
Oliver Walters
|
fff42e7dbb
|
Export stock based on part
|
2019-09-08 23:58:40 +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
|
2f11fccb73
|
Migrate InvenTreeTree to using MPTT model
|
2019-09-08 14:08:49 +10:00 |
|
Oliver Walters
|
c45fcb45cf
|
Delete a part parameter template from the settings view
|
2019-09-07 20:30:51 +10:00 |
|
Oliver Walters
|
42ade0e0b7
|
Edit part parameter template from settings view
|
2019-09-07 20:28:38 +10:00 |
|
Oliver Walters
|
67ea0fa887
|
Create a new part parameter template
|
2019-09-07 19:53:47 +10:00 |
|
Oliver Walters
|
f415e2040e
|
API endpoint for PartParameter and PartParameterTemplate
|
2019-09-07 19:44:10 +10:00 |
|
Oliver Walters
|
13270617b9
|
Ensure PartParameterTemplate name is unique
|
2019-09-07 19:43:41 +10:00 |
|
Oliver Walters
|
9c864aa619
|
Hide the 'sellable' tag for now
- Keep hidden until parts can actually be sold
|
2019-09-07 10:51:39 +10:00 |
|
Oliver Walters
|
dac1264878
|
Fixed unit tests
|
2019-09-06 12:48:31 +10:00 |
|
Oliver Walters
|
38b88e44bd
|
Bug fix
|
2019-09-05 20:22:47 +10:00 |
|
Oliver Walters
|
37d9c59a0e
|
Add API endpoint for validating a BOM item
|
2019-09-05 19:29:51 +10:00 |
|
Oliver Walters
|
1ea7bdf843
|
Add a note
|
2019-09-05 13:12:49 +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
|
e903c1858f
|
PEP
|
2019-09-03 22:45:45 +10:00 |
|
Oliver Walters
|
20b37a2d11
|
Test fixes
|
2019-09-03 22:45:11 +10:00 |
|
Oliver Walters
|
41806089e3
|
Select the default currency if one is not specifically selected
|
2019-09-03 22:33:50 +10:00 |
|
Oliver Walters
|
3682e9b5fb
|
Display currency selection in part pricing dialog
|
2019-09-03 22:28:53 +10:00 |
|
Oliver Walters
|
7314f33d6d
|
Add currency selection field for price calculation form
|
2019-09-03 22:00:43 +10:00 |
|
Oliver Walters
|
ef674061de
|
Part category collapse is persistent
|
2019-08-29 15:50:48 +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
|
586a46175d
|
Add modals for editing or deleting part parameters
|
2019-08-28 19:39:47 +10:00 |
|
Oliver Walters
|
51e4bdd821
|
URL / view for editing a PartParameter
|
2019-08-21 13:11:19 +10:00 |
|
Oliver Walters
|
e77aeec2ce
|
Change to ImportExport model admin
|
2019-08-20 18:04:22 +10:00 |
|
Oliver Walters
|
9630c90924
|
Add buttons to edit/delete parameters
|
2019-08-20 18:01:20 +10:00 |
|
Oliver Walters
|
307a04da58
|
Add View/Form for creating a new PartParameterTemplate
|
2019-08-20 14:33:18 +10:00 |
|
Oliver Walters
|
15a42878db
|
Improved view for creating a new part parameter
- Hide the Part input
- Reduce options based on parameters that already exist!
|
2019-08-20 14:28:15 +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
|
0955166fae
|
Add admin interface for PartParameter
|
2019-08-20 12:43:23 +10:00 |
|
Oliver Walters
|
1cd0051316
|
Add page to display part parameters
|
2019-08-20 12:43:12 +10:00 |
|
Oliver Walters
|
2f6357b136
|
Add PartParameter table
|
2019-08-20 12:31:43 +10:00 |
|
Oliver Walters
|
6106d33732
|
More span / button fixes
|
2019-08-14 16:40:14 +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
|
f90ffcd3db
|
Fix buttons for BOM upload form
|
2019-08-14 13:35:48 +10:00 |
|
Oliver Walters
|
bd61c89094
|
Tests for stock app views
|
2019-08-09 20:13:23 +10:00 |
|
Oliver Walters
|
45d5667ccc
|
PEP fixes
|
2019-08-08 23:36:32 +10:00 |
|
Oliver Walters
|
b872a12131
|
Test for making part variant
|
2019-08-08 23:34:32 +10:00 |
|
Oliver Walters
|
3a87cd866c
|
Tests for part creation
- Need more tests for POST action
|
2019-08-08 23:32:34 +10:00 |
|
Oliver Walters
|
51e4a4c006
|
Tests for BomItem forms
|
2019-08-08 23:22:26 +10:00 |
|
Oliver Walters
|
d6f1fe74d1
|
Tests for PartCategory forms
|
2019-08-08 23:16:03 +10:00 |
|
Oliver Walters
|
ab3e66d578
|
Test for BOM download
|
2019-08-08 23:10:07 +10:00 |
|
Oliver Walters
|
f299248063
|
Improve testing for part export
|
2019-08-08 23:06:22 +10:00 |
|
Oliver Walters
|
21d2c434ff
|
Test for part export view
- Needs some more work (parts need supplier parts!)
|
2019-08-08 23:04:58 +10:00 |
|
Oliver Walters
|
afcd411358
|
(partial) tests for attachment forms
|
2019-08-08 23:00:01 +10:00 |
|
Oliver Walters
|
3a9494ee69
|
Test for Part Editing form
|
2019-08-08 22:50:17 +10:00 |
|
Oliver Walters
|
7db97f2226
|
Test Part QR Code view
|
2019-08-08 22:45:10 +10:00 |
|
Oliver Walters
|
a70484caff
|
Test PartDetail view
|
2019-08-08 22:45:02 +10:00 |
|
Oliver Walters
|
f26243af97
|
Tests for Part index /
|
2019-08-08 22:19:17 +10:00 |
|
Oliver Walters
|
adbc4db3d5
|
Remove 'set part category' button (doesn't do anything)
|
2019-08-07 10:11:00 +10:00 |
|
Oliver Walters
|
4fc2a22ba6
|
PEP fix
|
2019-08-07 10:07:30 +10:00 |
|
Oliver Walters
|
8904733ac0
|
Include part stock information
|
2019-08-07 10:05:12 +10:00 |
|
Oliver Walters
|
ab0da6aaae
|
Include more part data in export
|
2019-08-07 09:55:18 +10:00 |
|
Oliver Walters
|
dda4569f76
|
Export selected parts
- Select which parts to export in the table
- Export base information
- Include supplier part information
|
2019-08-07 09:52:49 +10:00 |
|
Oliver Walters
|
3dca7ba353
|
Include supplier information in BOM
|
2019-08-07 09:12:53 +10:00 |
|
Oliver Walters
|
e66fd956f9
|
Fix available stock display
|
2019-08-02 15:13:47 +10:00 |
|
Oliver Walters
|
0a328687a5
|
BOM hash includes reference fields
|
2019-08-02 11:11:28 +10:00 |
|
Oliver Walters
|
077ad9482e
|
Fix display of part trackable status info
|
2019-07-23 11:57:33 +10:00 |
|
Oliver Walters
|
a42371598c
|
Fix part deletion template
- Display list of stock items which will be thusly deleted
|
2019-07-23 11:55:51 +10:00 |
|
Oliver Walters
|
9e5eadd6c3
|
Set serial numbers when creating a new stock item
|
2019-07-23 10:31:34 +10:00 |
|
Oliver Walters
|
23d03d6b9b
|
Build completion now handles unique serial numbers
Provide a method to test if a serial number matches for a given part
|
2019-07-22 15:55:36 +10:00 |
|
Oliver Walters
|
23d19d6784
|
Remove old debug messages
|
2019-07-11 23:07:52 +10:00 |
|
Oliver
|
1f9e6f4a68
|
Merge pull request #411 from SchrodingersGat/bom-upload
BOM upload
|
2019-07-10 15:17:58 +10:00 |
|
Oliver Walters
|
3e9288b26d
|
Better display of stock availability
|
2019-07-10 14:50:21 +10:00 |
|
Oliver Walters
|
d6750652f0
|
Python styling fixes
|
2019-07-10 13:38:14 +10:00 |
|
Oliver Walters
|
c5e17070fb
|
Reference and note fields cannot be None
|
2019-07-10 13:30:51 +10:00 |
|
Oliver Walters
|
8637d46981
|
Display inactive parts in part used_in view
|
2019-07-10 13:18:07 +10:00 |
|
Oliver Walters
|
322710d603
|
Handle dimension error in tablib
|
2019-07-10 13:04:47 +10:00 |
|
Oliver Walters
|
482a5dae4b
|
Save the selected BOM data
|
2019-07-10 12:27:19 +10:00 |
|
Oliver Walters
|
c2dbc37f70
|
Display rows that contain errors with a reddish background
|
2019-07-10 12:04:24 +10:00 |
|
Oliver Walters
|
2e3676207e
|
Reference and notes fields now persist too
|
2019-07-10 09:40:04 +10:00 |
|
Oliver Walters
|
99dee64f79
|
Pass part selection back-and-forwards between client/server
|
2019-07-10 09:22:38 +10:00 |
|
Oliver Walters
|
782d740323
|
Pass row quantity back to the server
|
2019-07-09 19:45:36 +10:00 |
|
Oliver Walters
|
e9eb814990
|
Rendering for part selection step
|
2019-07-09 19:21:54 +10:00 |
|
Oliver Walters
|
20ec36d3ea
|
Enforce authentication for API access
|
2019-07-08 19:20:00 +10:00 |
|
Oliver Walters
|
b185abbb87
|
Catch case in which a request.GET is not available
(cherry picked from commit 9296c0ba0f8c4914cd04b820c6172f8c3a794750)
|
2019-07-08 09:41:20 +10:00 |
|
Oliver Walters
|
dff8d1fb95
|
Supply part name for auto-fill when creating a new part
|
2019-07-08 09:33:44 +10:00 |
|
Oliver Walters
|
85e803f345
|
Create a new part directly from the BOM view
- Pass data through to the part creation
- Populate the new part into the select dropdown
-
|
2019-07-07 13:06:59 +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
|
a6da3ed4a4
|
Match each part to the list of available parts
- Order selections based on "best" match
|
2019-07-07 11:44:17 +10:00 |
|
Oliver Walters
|
f251620917
|
select2ify part selection
|
2019-07-07 11:24:40 +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
|
3930651c59
|
Make Reference and Notes fields editable
|
2019-07-07 09:57:23 +10:00 |
|
Oliver Walters
|
b77bfc74ea
|
Pass column and index data through to each cell in the template
Allows for much more intelligent template rendering
|
2019-07-07 09:50:59 +10:00 |
|
Oliver Walters
|
0e95fb773f
|
Column adjustments
|
2019-07-07 08:48:42 +10:00 |
|
Oliver Walters
|
b1bcb0d3d2
|
Extract quantity data from BOM
|
2019-07-03 21:45:56 +10:00 |
|
Oliver Walters
|
fa90c92a2a
|
Redirect to step 3
|
2019-07-03 21:19:31 +10:00 |
|
Oliver Walters
|
064431e94f
|
Fix template to display list of missing BOM columns
|
2019-07-03 20:14:13 +10:00 |
|
Oliver Walters
|
29a27ce598
|
Improve rendering for field selection form
|
2019-07-03 20:08:49 +10:00 |
|
Oliver Walters
|
c419207420
|
Insert a blank <td> as needed
|
2019-07-02 19:48:30 +10:00 |
|
Oliver Walters
|
a25522746e
|
Reposition buttons
|
2019-07-02 19:46:39 +10:00 |
|
Oliver Walters
|
c959e8f62c
|
Add ability to remove individual rows from BOM uploader
|
2019-07-02 19:45:26 +10:00 |
|
Oliver Walters
|
fc5682f565
|
Form is now fully transferred to a formview
|
2019-07-02 19:20:45 +10:00 |
|
Oliver Walters
|
4008a9fb45
|
Upload the selected BOM file
|
2019-07-02 19:07:59 +10:00 |
|
Oliver Walters
|
802255c62d
|
Render GET as a formview rather than ajaxview
|
2019-07-02 19:02:19 +10:00 |
|
Oliver Walters
|
3c44fcaf5b
|
moving towards implementing bom upload as a page form rather than a modal form
|
2019-07-02 18:43:26 +10:00 |
|
Oliver Walters
|
a23595c28d
|
Improve data importing
- Automatically prune empty rows
- prevent automatic conversion of integers to floats
|
2019-06-29 19:56:04 +10:00 |
|
Oliver Walters
|
b089a61f74
|
Improve rendering a bit
|
2019-06-29 19:48:15 +10:00 |
|
Oliver Walters
|
ad27d912e1
|
Add some optional upload fields
(These will come in handy later)
|
2019-06-28 20:48:23 +10:00 |
|
Oliver Walters
|
cfbfc6e258
|
Delete columns in-place using javascript
|
2019-06-28 20:41:45 +10:00 |
|
Oliver Walters
|
3c2f3c2c2c
|
Add option to delete columns
|
2019-06-28 20:24:18 +10:00 |
|
Oliver Walters
|
54762713f3
|
Pass row data back through again
|
2019-06-28 20:21:21 +10:00 |
|
Oliver Walters
|
fd8ed44833
|
Detect duplicate columns, and missing columns
|
2019-06-28 20:16:17 +10:00 |
|
Oliver Walters
|
857a214e7d
|
Pass the form field data back to the server
|
2019-06-28 19:58:56 +10:00 |
|
Oliver Walters
|
58336482fe
|
POST the data back again
|
2019-06-28 19:48:22 +10:00 |
|
Oliver Walters
|
fb96651c15
|
Render column selection options
- Guess which header is which
|
2019-06-28 19:40:27 +10:00 |
|
Oliver Walters
|
60050e9f32
|
Don't restrict BomItem form to active parts for editing
|
2019-06-28 10:20:37 +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
|
ed2461adf1
|
Show which variants are inactive in the variant table
|
2019-06-28 09:43:50 +10:00 |
|
Oliver Walters
|
67b53d9983
|
PEP
|
2019-06-28 00:15:23 +10:00 |
|
Oliver Walters
|
872329c340
|
Fix BOM validation button
|
2019-06-28 00:10:24 +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
|
a9396f4c74
|
Fix uggo buttons
|
2019-06-27 23:13:12 +10:00 |
|
Oliver Walters
|
6af51c5b35
|
Limit the number of lines returned in row_count
|
2019-06-27 23:11:54 +10:00 |
|