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
|
e4dcbd2fda
|
Update version.py
Bump version num
|
2019-09-09 14:25:00 +10:00 |
|
Oliver Walters
|
53c5324df6
|
Fix uniqueness test for stock item
|
2019-09-09 08:49:27 +10:00 |
|
Oliver Walters
|
fb2c347fd4
|
Removed unused import
|
2019-09-09 08:30:24 +10:00 |
|
Oliver Walters
|
9c988310b6
|
Add tests for MPTT models
|
2019-09-09 08:29:36 +10:00 |
|
Oliver Walters
|
108382cc89
|
Prefecth related data for stock export
- Example export reduced from 1,024 queries to 7
|
2019-09-09 08:17:26 +10:00 |
|
Oliver Walters
|
11c946be4d
|
Export human-readable status code
|
2019-09-09 00:02:08 +10:00 |
|
Oliver Walters
|
fff42e7dbb
|
Export stock based on part
|
2019-09-08 23:58:40 +10:00 |
|
Oliver Walters
|
231a669fe5
|
Export stock based on supplier
|
2019-09-08 23:53:09 +10:00 |
|
Oliver Walters
|
3d5542181a
|
Move "Export" button onto stock table
|
2019-09-08 23:40:51 +10:00 |
|
Oliver Walters
|
8817b4d692
|
Icer button rendering for PurchaseOrder page
|
2019-09-08 23:27:54 +10:00 |
|
Oliver Walters
|
fa8056f4b9
|
Fill out supplier_part details when receiving a line for a purchase order
|
2019-09-08 23:15:44 +10:00 |
|
Oliver Walters
|
9212d6047f
|
Add supplier information to exported data
|
2019-09-08 23:10:13 +10:00 |
|
Oliver Walters
|
cc452bc270
|
Export stock data
|
2019-09-08 23:01:16 +10:00 |
|
Oliver Walters
|
faf8b9f2f0
|
Form / view for downloading stocktake info
|
2019-09-08 22:37:27 +10:00 |
|
Oliver Walters
|
f4e71d6055
|
Add a buttony-boy
(cherry picked from commit 69ac5d870a2f1bc9589cd9b23212d3b51cf92c80)
|
2019-09-08 20:55:19 +10:00 |
|
Oliver Walters
|
2c969ef1c6
|
View for exporting stocktake / stock list
(cherry picked from commit bdad2d6178a14322ef225d08b13db86b6d7d0909)
|
2019-09-08 20:55:06 +10:00 |
|
Oliver Walters
|
026108803e
|
More links in the about page
|
2019-09-08 20:48:33 +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
|
b554af5f10
|
Fix display of location list
|
2019-09-08 19:21:40 +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
|
4d7fba9f14
|
Replace tree functionality with MPTT goodness
|
2019-09-08 18:57:48 +10:00 |
|
Oliver Walters
|
2f11fccb73
|
Migrate InvenTreeTree to using MPTT model
|
2019-09-08 14:08:49 +10:00 |
|
Oliver Walters
|
b3a5dbb5db
|
Add django-mptt as a requirement
(cherry picked from commit 8c33a9fca11ad9af9c9f1c6ddf2a9dab8d71e2e4)
|
2019-09-08 14:02:30 +10:00 |
|
Oliver Walters
|
baf096b3e7
|
Ensure token validation is working correctly
|
2019-09-08 00:28:12 +10:00 |
|
Oliver Walters
|
576226ad30
|
Tests for retrieving user auth tokens
|
2019-09-07 23:41:15 +10:00 |
|
Oliver Walters
|
32f606627d
|
Special display case for base currecny
|
2019-09-07 22:43:39 +10:00 |
|
Oliver Walters
|
f24496c5a2
|
Enforce at least one base currency to be selected
|
2019-09-07 22:42:08 +10:00 |
|
Oliver Walters
|
023c386f5e
|
Display a warning message if delete_on_deplete is set
|
2019-09-07 21:18:32 +10:00 |
|
Oliver Walters
|
b4bbd43bae
|
Fix 404 if a stock item is completely depleted
|
2019-09-07 21:15:14 +10:00 |
|
Oliver Walters
|
efc08f6824
|
Improve table sorting for company list
|
2019-09-07 20:47:02 +10:00 |
|
Oliver
|
dd5ca32e8e
|
Merge pull request #481 from SchrodingersGat/settings
Improve settings view
|
2019-09-07 20:37:03 +10:00 |
|
Oliver
|
daa5a32440
|
Merge pull request #447 from rrakso/feature/add_method_to_delete_token
Feature/add method to delete token
|
2019-09-07 20:36:39 +10:00 |
|
Oliver Walters
|
446b342480
|
Add pagination to tables
|
2019-09-07 20:32:22 +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
|
55669c79c2
|
Delete a currency from the currency settings view
|
2019-09-07 20:22:30 +10:00 |
|
Oliver Walters
|
3188b0ab18
|
Edit currency from settings view
|
2019-09-07 20:19:35 +10:00 |
|
Oliver Walters
|
31562826f4
|
Add modal form for creating a new currency
|
2019-09-07 20:06:04 +10:00 |
|
Oliver Walters
|
67ea0fa887
|
Create a new part parameter template
|
2019-09-07 19:53:47 +10:00 |
|
Oliver Walters
|
94ab7c5b0e
|
Display list of part parameter templates in the part settings page
|
2019-09-07 19:45:36 +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
|
6752bdc1c6
|
Sort currency API
|
2019-09-07 19:28:20 +10:00 |
|
Oliver Walters
|
873faee040
|
Display currency list under currency settings page
|
2019-09-07 19:23:58 +10:00 |
|
Oliver Walters
|
9726ea4f99
|
Add serializer / API for currency objects
|
2019-09-07 19:18:18 +10:00 |
|
Oliver Walters
|
89c3ab5e99
|
Formatting
|
2019-09-07 18:58:37 +10:00 |
|
Oliver Walters
|
27878d2d8d
|
Split settings into multiple pages
- Tab style navigation
|
2019-09-07 18:02:03 +10:00 |
|
Oliver Walters
|
1b8fb4db44
|
Start skeleton for better settings page
|
2019-09-07 15:04:18 +10:00 |
|
Oliver
|
9a61ba4e1e
|
Merge pull request #479 from SchrodingersGat/hide-sellable
Hide the 'sellable' tag for now
|
2019-09-07 14:25:33 +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
|
8703ee90c6
|
Improve grouping
|
2019-09-07 10:41:22 +10:00 |
|
Oliver Walters
|
910d9a15f6
|
Display batch information in stock table
|
2019-09-07 10:39:48 +10:00 |
|
Oliver Walters
|
dac1264878
|
Fixed unit tests
|
2019-09-06 12:48:31 +10:00 |
|
Oliver Walters
|
9bde8bde66
|
Tree items dispaly description in __str__ representation
|
2019-09-06 12:40:04 +10:00 |
|
Oliver Walters
|
eb378e5e5d
|
Specify PNG image for QR code generation
|
2019-09-06 12:38:09 +10:00 |
|
Oliver Walters
|
38b88e44bd
|
Bug fix
|
2019-09-05 20:22:47 +10:00 |
|
Oliver
|
7642a1bb7b
|
Merge pull request #472 from SchrodingersGat/default-loc
Add new option to move-stock form
|
2019-09-05 20:09:47 +10:00 |
|
Oliver Walters
|
7fd4359007
|
Add new option to move-stock form
- Set the destination as the default location for parts being moved
|
2019-09-05 19:59:00 +10:00 |
|
Oliver Walters
|
7659f2de7b
|
Click button to validate BOM item
|
2019-09-05 19:34:58 +10:00 |
|
Oliver Walters
|
37d9c59a0e
|
Add API endpoint for validating a BOM item
|
2019-09-05 19:29:51 +10:00 |
|
Oliver Walters
|
81f5714cb1
|
BOM table now displays which lines have been marked as valid
|
2019-09-05 14:15:58 +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
|
0325f042b5
|
Bump version number
|
2019-09-03 09:59:14 +10:00 |
|
Oliver Walters
|
af8a96e080
|
Add option to edit currency
|
2019-09-03 09:55:15 +10:00 |
|
Oliver Walters
|
09cb82cdc0
|
Fix converted_cost
- Incompatibility between float and decimal
|
2019-09-03 09:46:32 +10:00 |
|
Oliver Walters
|
c6a435eba0
|
Add currency field to SupplierPriceBreak
|
2019-09-03 09:34:32 +10:00 |
|
Oliver Walters
|
9f91797f42
|
Simple test case for currency
|
2019-09-03 09:19:37 +10:00 |
|
Oliver Walters
|
32d09d2d37
|
Add default value for currency
|
2019-09-03 09:10:36 +10:00 |
|
Oliver Walters
|
7824b8561d
|
Create a currency model
|
2019-09-03 09:07:03 +10:00 |
|
Oliver Walters
|
aeb25e4c34
|
startapp common
|
2019-09-03 08:30:14 +10:00 |
|
Oliver Walters
|
273412b63d
|
Add 'bug report' button
|
2019-09-02 22:14:50 +10:00 |
|
Oliver Walters
|
f3e161564d
|
Fix for serialization of company images
|
2019-09-02 22:06:42 +10:00 |
|
Oliver Walters
|
b0c420858b
|
Comments for settings.py
|
2019-09-02 16:44:01 +10:00 |
|
Oliver Walters
|
906766cc0e
|
Bug fix - ensure pk is set to None
|
2019-09-01 23:28:28 +10:00 |
|
Oliver Walters
|
7db938eda0
|
Show the build item on the stock-item page (if applicable)
|
2019-09-01 23:24:27 +10:00 |
|
Oliver Walters
|
c45c4e236e
|
Point new stockitem to the correct build
|
2019-09-01 23:18:28 +10:00 |
|
Oliver Walters
|
3cef5c93ce
|
Improve stock item splitting
|
2019-09-01 23:18:08 +10:00 |
|
Oliver Walters
|
90a342fad8
|
Add a reference to a build for a stock item
|
2019-09-01 23:09:40 +10:00 |
|
Oliver Walters
|
d9cc03c5ca
|
Improve installation documentation
|
2019-09-01 22:16:58 +10:00 |
|
Oliver Walters
|
094e8cdc23
|
PEP
|
2019-08-30 00:15:16 +10:00 |
|
Oliver Walters
|
891f4f9f17
|
Another test
|
2019-08-30 00:14:54 +10:00 |
|
Oliver Walters
|
6f8c3454f3
|
Tests for stock serialization form
|
2019-08-30 00:06:46 +10:00 |
|
Oliver Walters
|
34bfdea4b5
|
Test another invalid serialization
|
2019-08-29 23:50:33 +10:00 |
|
Oliver Walters
|
ef94b41a77
|
Add test for api-doc view
|
2019-08-29 23:43:24 +10:00 |
|
Oliver Walters
|
e68a9c223d
|
Fix broken api-doc page
https://www.django-rest-framework.org/community/3.10-announcement/#continuing-to-use-coreapi
|
2019-08-29 22:00:15 +10:00 |
|
Oliver Walters
|
0fba236eef
|
Stock locations are now persistent
|
2019-08-29 15:52:32 +10:00 |
|
Oliver Walters
|
ef674061de
|
Part category collapse is persistent
|
2019-08-29 15:50:48 +10:00 |
|
Oliver Walters
|
86b2b9cdb1
|
Allow unserialized build
|
2019-08-29 08:05:45 +10:00 |
|
Oliver Walters
|
937bcd41d6
|
Fix tests for stock serialization
|
2019-08-29 07:37:44 +10:00 |
|
Oliver Walters
|
4db345d0c2
|
Perfom serialization
|
2019-08-28 22:47:46 +10:00 |
|
Oliver Walters
|
76ec44d770
|
Form improvements
|
2019-08-28 22:04:04 +10:00 |
|
Oliver Walters
|
15b38000d5
|
Improved serial number extraction
- Check data types
- Translation for error messages
|
2019-08-28 22:03:40 +10:00 |
|
Oliver Walters
|
6c5b09efd4
|
Provide initial data
|
2019-08-28 21:50:44 +10:00 |
|
Oliver Walters
|
7575a39b7f
|
Add form / view for serializing a stock item
- Back end doesn't do anything yet
|
2019-08-28 21:46:26 +10:00 |
|
Oliver Walters
|
3b8f5872ac
|
Add button to serialize stock
|
2019-08-28 21:21:26 +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 |
|
Oskar Jaskolski
|
8949542baf
|
fixed response text
|
2019-08-28 12:53:08 +02:00 |
|
Oskar Jaskolski
|
0a6abd21be
|
fixed responde text
|
2019-08-28 12:47:56 +02:00 |
|
Oskar Jaskolski
|
3c70c3a29c
|
clean
|
2019-08-28 12:41:46 +02:00 |
|
Oskar Jaskolski
|
981884f368
|
test
|
2019-08-28 12:40:06 +02:00 |
|
Oskar Jaskolski
|
5dcfc20d82
|
test
|
2019-08-28 12:39:25 +02:00 |
|
Oskar Jaskolski
|
381e58ab1c
|
added import
|
2019-08-28 12:35:00 +02:00 |
|
Oskar Jaskolski
|
105b93a0e3
|
added method allowing to remove token
|
2019-08-28 12:30:31 +02:00 |
|
Oliver Walters
|
bc03ae53bd
|
Changes for clean of StockItem
|
2019-08-28 20:01:38 +10:00 |
|
Oliver Walters
|
88b90281f5
|
Do not enforce serialization when creating a stock item
|
2019-08-28 19:56:35 +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
|
41bfdc1432
|
Enforce usage of sqlite3 for running tests
- Simplifies tests by creating a database in memory
- Does not affect the user setup at all
|
2019-08-15 21:57:34 +10:00 |
|
Oliver Walters
|
9f5325d61f
|
PEP fixes
|
2019-08-15 21:50:42 +10:00 |
|
Oliver Walters
|
087492faf8
|
More build tests
|
2019-08-15 21:49:40 +10:00 |
|
Oliver Walters
|
cd05ed91aa
|
More tests for Build API and views
|
2019-08-15 21:35:16 +10:00 |
|
Oliver Walters
|
62f007529e
|
Bug fix in build views
- Untested code path meant variable was not being set
|
2019-08-15 21:19:59 +10:00 |
|
Oliver Walters
|
80771beee9
|
FIxtures for build testing
|
2019-08-15 21:16:12 +10:00 |
|
Oliver Walters
|
5501fecbc4
|
PEP
|
2019-08-15 19:36:03 +10:00 |
|
Oliver Walters
|
b8d7cefa95
|
Add button to delete a build (only if it has been cancelled)
|
2019-08-15 19:35:12 +10:00 |
|
Oliver Walters
|
03b7e3a815
|
Add view / template to delete a build
|
2019-08-15 19:34:55 +10:00 |
|
Oliver Walters
|
d9e5bfd971
|
Use button row rather than drop-down for build display
|
2019-08-15 19:26:13 +10:00 |
|
Oliver Walters
|
c81f8e6d87
|
Add 'new supplier part' button to stock item creation form
|
2019-08-15 13:17:33 +10:00 |
|
Oliver Walters
|
475c532514
|
Fix config template file
|
2019-08-14 16:56:54 +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
|
f9fa16a397
|
Fix remove-row button in stock-adjust form
|
2019-08-14 13:29:51 +10:00 |
|
Oliver Walters
|
335066aef6
|
Fix buttons for order form
|
2019-08-14 13:28:06 +10:00 |
|
Oliver Walters
|
b19472ad73
|
Bump version
|
2019-08-14 13:27:51 +10:00 |
|
Oliver Walters
|
0a97bc1b40
|
PEP fixes
|
2019-08-14 13:15:36 +10:00 |
|
Oliver Walters
|
ea669e7562
|
Print warnings to stderr not stdout
|
2019-08-14 12:13:31 +10:00 |
|
Oliver Walters
|
905c02d86f
|
Copy config template to config file if it does not exist
|
2019-08-14 12:05:47 +10:00 |
|
Oliver Walters
|
b7391231aa
|
Fixes for default config file
|
2019-08-14 11:43:48 +10:00 |
|
Oliver Walters
|
df470ca26d
|
Tests for serial number extraction
|
2019-08-09 20:30:31 +10:00 |
|
Oliver Walters
|
a36d99b3e7
|
PEP fixes
|
2019-08-09 20:14:47 +10:00 |
|
Oliver Walters
|
bd61c89094
|
Tests for stock app views
|
2019-08-09 20:13:23 +10:00 |
|
Oliver Walters
|
e849f62a6a
|
PEP
|
2019-08-08 23:50:11 +10:00 |
|
Oliver Walters
|
b924265c9a
|
Some tests for views in order app
|
2019-08-08 23:49:35 +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
|
ecff9b7209
|
Merge pull request #433 from SchrodingersGat/order-api
Add API endpoint for purchase orders
|
2019-08-02 22:37:02 +10:00 |
|
Oliver
|
73eada17bc
|
Merge pull request #432 from SchrodingersGat/tweaks
Tweaks
|
2019-08-02 21:55:02 +10:00 |
|
Oliver Walters
|
b5f2c9d311
|
Add API endpoint for purchase orders
- List and create purchase orders
- List and create purchase order line items
|
2019-08-02 21:46:26 +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
|
5ee07eae7c
|
Update installation routine and docs
- Single call of "make install" does everything
- Add backup_dir option to yaml config file
|
2019-08-01 20:07:06 +10:00 |
|
Oliver Walters
|
c8bf20ad41
|
Add part hover image
|
2019-07-25 11:08:22 +10:00 |
|
Oliver Walters
|
fe7392f152
|
Prevent stock adjustments for serialized stock items
|
2019-07-25 11:05:09 +10:00 |
|
Oliver Walters
|
94c0102742
|
Improve validation logic for StockItem
- Allow tracked items to exist without a serial number (e.g. non-serialized tracked items)
|
2019-07-25 11:04:45 +10:00 |
|
Oliver Walters
|
42e1370e92
|
Bug fix
|
2019-07-25 10:36:59 +10:00 |
|
Oliver Walters
|
3058b895dd
|
Prevent auto-delete of stock items which have a serial number
|
2019-07-24 20:24:12 +10:00 |
|
Oliver Walters
|
33fe4d186d
|
Include more fields when splitting stock
|
2019-07-24 19:48:37 +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
|
b546b5e0cc
|
Create separate entries for each unique serial number
|
2019-07-23 11:45:03 +10:00 |
|
Oliver Walters
|
d82d8f5cd1
|
Re-implement item saving for non-tracked parts
|
2019-07-23 11:31:29 +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
|
9a8e4d25d2
|
Input serial numbers when creating a new build
|
2019-07-22 13:45:09 +10:00 |
|
Oliver Walters
|
44c9683d48
|
Extract serial numbers from a simple input string
- Individual numbers can be separated by comma or whitespace
- Provide a series of numbers with hyphen-separation
|
2019-07-22 13:43:39 +10:00 |
|
Oliver Walters
|
8ca14efa53
|
Delete stock tracking entries
|
2019-07-22 10:46:42 +10:00 |
|
Oliver Walters
|
118a6887bc
|
Edit stock tracking entry
|
2019-07-22 10:36:39 +10:00 |
|
Oliver Walters
|
0305d2f865
|
Improve rendering of stock tracking table
- Date only (no time)
- Display URL if set
- Edit/Delete buttons for manually created entries
|
2019-07-22 10:30:53 +10:00 |
|
Oliver Walters
|
c27e8e809a
|
Endpoint for editing a stock tracking entry
|
2019-07-18 08:55:57 +10:00 |
|
Oliver Walters
|
bb799d98be
|
Add ability to create new stock tracking note for a stock item
|
2019-07-16 00:10:24 +10:00 |
|
Oliver Walters
|
310d4b5f07
|
Added descriptive help text
|
2019-07-15 23:53:25 +10:00 |
|
Oliver Walters
|
d800ed715e
|
Add (optional) URL to stock tracking info
|
2019-07-15 22:33:00 +10:00 |
|
Oliver Walters
|
c9bee19b8a
|
Remove thingy
|
2019-07-15 19:26:41 +10:00 |
|
Oliver Walters
|
31e6aa6906
|
doc fix
|
2019-07-12 00:15:47 +10:00 |
|
Oliver Walters
|
d0e1dc52f8
|
Example gunicorn conf file
|
2019-07-11 23:57:07 +10:00 |
|
Oliver Walters
|
df6db38535
|
Move static files into the app directory
- As it is written
- Look where properly reading the docs gets you!
- manage.py collectstatic now actually works...
|
2019-07-11 23:47:46 +10:00 |
|
Oliver Walters
|
23d19d6784
|
Remove old debug messages
|
2019-07-11 23:07:52 +10:00 |
|
Oliver Walters
|
377b2f94ce
|
Remove unused io module
|
2019-07-10 23:54:33 +10:00 |
|
Oliver Walters
|
ee223e5649
|
Location of static files is also configurable
|
2019-07-10 23:48:33 +10:00 |
|
Oliver Walters
|
194c15492f
|
MEDIA_ROOT is now provided in config.yaml
|
2019-07-10 23:41:33 +10:00 |
|
Oliver Walters
|
820d8da2ef
|
Allowed hosts and CORS hosts now moved to the config file
|
2019-07-10 23:25:15 +10:00 |
|
Oliver Walters
|
f36757c87b
|
Load database settings from config.yaml file
- Provide an initial config file
|
2019-07-10 23:11:13 +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
|
16e1be61f5
|
Fix buttons and rendering for supplierpart page
|
2019-07-08 19:15:20 +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
|
4f5b87dd38
|
Comment out postgres requirement
|
2019-07-02 18:44:49 +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
|
047d2f2f4c
|
Include part revision in stock API / table
|
2019-06-28 09:35:29 +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 |
|
Oliver Walters
|
c4944268f3
|
Count the number of rows in the BOM file
|
2019-06-27 23:09:06 +10:00 |
|
Oliver Walters
|
9813205419
|
Perform 'matching' on imported field names
|
2019-06-27 22:57:55 +10:00 |
|
Oliver Walters
|
45d16f2c42
|
Create new file bom.py for BOM helper functions
- New class for managing BOM upload
|
2019-06-27 22:46:11 +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
|
3085db44af
|
Add 'reference' field to BOM item model
|
2019-06-27 21:44:40 +10:00 |
|
Oliver Walters
|
72486448b8
|
Fix form title
|
2019-06-27 21:17:33 +10:00 |
|
Oliver Walters
|
686a61fba9
|
Hide checkboxes when BOM is not being edited
|
2019-06-27 21:09:33 +10:00 |
|
Oliver Walters
|
86695cf2bb
|
Validate uploaded BOM file with tablib
- Check to see if a bom_file file object was uploaded
- Pass off to the BOM file validity checker
- Only a valid tabulated dataset will be accepted
|
2019-06-27 21:09:33 +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
|
2dc43f0cf1
|
no message
|
2019-06-27 21:08:49 +10:00 |
|
Oliver Walters
|
cbfb6bd24c
|
no message
|
2019-06-25 19:16:24 +10:00 |
|
Oliver Walters
|
d6fcf85cd2
|
Set part category for multiple parts at once
|
2019-06-25 19:15:39 +10:00 |
|
Oliver Walters
|
566b6a43da
|
Add a simple endpoint with server information
|
2019-06-25 00:18:00 +10:00 |
|
Oliver Walters
|
d70140e256
|
Remove a debug message
|
2019-06-24 00:20:22 +10:00 |
|
Oliver Walters
|
071695bfe1
|
Moar tabs plz
|
2019-06-24 00:12:31 +10:00 |
|
Oliver Walters
|
faf2fd408f
|
PEP fix
|
2019-06-24 00:01:34 +10:00 |
|
Oliver Walters
|
881adb9487
|
Add API endpoint for user to request auth token
|
2019-06-23 23:47:06 +10:00 |
|
Oliver Walters
|
e91eac0c66
|
Include PK in user serializer
|
2019-06-23 22:44:57 +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
|
b71d5b474a
|
Fix BOM edit bug
|
2019-06-20 21:31:23 +10:00 |
|
Oliver Walters
|
d5119e1aff
|
Replace some cog icons
|
2019-06-20 21:28:00 +10:00 |
|
Oliver Walters
|
5ab3c386bb
|
Buttons for purchase order table
|
2019-06-19 19:09:31 +10:00 |
|