Commit Graph

5906 Commits

Author SHA1 Message Date
Oliver
6d2cd78d29 Fixes for unit tests 2021-06-22 10:36:04 +10:00
Oliver
6886570d0f Bug fix for build order allocation sorting 2021-06-22 10:30:15 +10:00
Oliver
9475af62ae Style fixes 2021-06-22 10:12:44 +10:00
Oliver
c62ba5eb12 Perform a "full_clean" on serialized model
- DRF does not by deault run validate_unique on the model
- Need to check if we are "creating" or "updating" a model
- Catch and re-throw errors in the correct format
- Unit tests
2021-06-22 10:09:19 +10:00
Oliver
c3fc04e872 Unit testing for part duplication 2021-06-22 09:35:34 +10:00
Oliver
a38835022a Better management of unique constraint for Part 2021-06-22 09:33:07 +10:00
Oliver
40fcfe1f47 Reduce noise in logs 2021-06-22 09:32:36 +10:00
Matthias
b503c62464 Merge branch 'master' of https://github.com/inventree/InvenTree into order-modal-show-price 2021-06-22 00:27:56 +02:00
Oliver
ba8d5fa3f4
Merge pull request #1701 from atwalsh/supplier-part-no-mfr
Fix supplier part view/edit without a manufacturer
2021-06-22 08:26:41 +10:00
Adam Walsh
d1a2ed9af1
Fix supplier part view/edit without a manufacturer
Fixes the following issues when a supplier part was created with an MPN but no manufacturer was assigned:
- Viewing a supplier part stock item
- Editing a supplier part stock item
2021-06-21 11:20:43 -04:00
Oliver
f90730d866
Merge pull request #1699 from SchrodingersGat/purchase-price-migration
Data migration to copy missing purchase price information to stock items
2021-06-21 20:57:23 +10:00
Oliver
02540edd58 Copy purchase price information across in the data migration 2021-06-21 20:30:15 +10:00
Oliver
ff33cc43bd Create initial migration file 2021-06-21 17:28:41 +10:00
Oliver
044650ca10
Merge pull request #1698 from SchrodingersGat/po-stock-pricing
Displays "purchase order" column in StockItem table
2021-06-21 17:19:38 +10:00
Oliver
6d29418364 Prevent "rebuild" command from running certain things 2021-06-21 17:03:00 +10:00
Oliver
e6598b5115 Displays "purchase order" column in StockItem table 2021-06-21 16:58:39 +10:00
Oliver
5e5fc35655
Merge pull request #1688 from SchrodingersGat/supplier-part-parameters
Adds "parameters" for manufacturer parts
2021-06-21 16:39:15 +10:00
Oliver
e0e560352e Add forms / views for ManufacturerPartParameter CRUD 2021-06-21 16:14:58 +10:00
Oliver
04b216253d Ok, that was a bad idea. 2021-06-21 11:30:20 +10:00
Oliver
908039e1db Perform unique checks for InvenTreeModelSerializer in DRF
- Prevents ValidationError from throwing in the wrong spot and not being handled
2021-06-21 11:10:29 +10:00
Oliver
32385f709b
Create RELEASE.md 2021-06-21 10:52:40 +10:00
Oliver
5198c5f9fa Fix for delete-data command 2021-06-21 10:38:50 +10:00
Oliver
8e9e04b400 Adds invoke task for deleting all database records 2021-06-21 10:23:53 +10:00
Oliver
213e4dccc5 Add model to permission set 2021-06-21 08:35:54 +10:00
Oliver
637033cf7d
Merge pull request #1692 from matmair/part-table-cat-sort
Support sorting by category in part-table
2021-06-21 08:33:09 +10:00
Oliver
b7a5a7f524
Merge pull request #1691 from matmair/purchase-price-zero
Purchase price zero
2021-06-21 08:26:42 +10:00
Oliver
44b9328cf7
Merge pull request #1690 from matmair/bug-timezone-waning
fix for timezone warning on heartbeat
2021-06-21 07:36:38 +10:00
Matthias
80e47b6f76 addd in sorting for category
fixes #1689
2021-06-20 22:49:06 +02:00
Matthias
a0b83d530c refactor 2021-06-20 20:19:11 +02:00
Matthias
59aae51652 show stock history starting by 1 element 2021-06-20 20:17:01 +02:00
Matthias
b32a6b50d2 fixes #1671 2021-06-20 20:16:14 +02:00
Matthias
4d0ce643a1 fix for timezone warning on heartbeat 2021-06-20 19:53:17 +02:00
Matthias
a3517b9313 fixes: response data stays persistent throughout views 2021-06-20 18:52:55 +02:00
Oliver
8a8b310195 Add some more inlines in the admin interface 2021-06-21 00:46:15 +10:00
Oliver
70b6a3c13f Display table of parameters 2021-06-21 00:39:18 +10:00
Oliver
a00441a1c0 Adds API endpoints for ManufacturerPartParameter mdoel 2021-06-21 00:28:28 +10:00
Oliver
bea7ab7175 Add python version information to the "about" window 2021-06-21 00:25:27 +10:00
Oliver
0013eb4c23 Adds inline for SupplierPart 2021-06-21 00:03:16 +10:00
Oliver
8188ba86a7 Adds tabular inline class for ManufacturerPartParameter
- Super cool!
2021-06-21 00:00:55 +10:00
Oliver
3fcb552759 Register admin class for ManufacturerPartParameter 2021-06-20 23:54:03 +10:00
Oliver
310f369394 Adds admin interface for ManufacturerPart 2021-06-20 23:49:44 +10:00
Matthias
b4412ef575 also show prices of the value 0 2021-06-20 13:32:52 +02:00
Oliver
2473318828 Add ManufacturerPartParameter model 2021-06-20 17:50:07 +10:00
Oliver
847d946fa4 Bug fixes 2021-06-20 17:39:00 +10:00
Oliver
fa5f155c72
Merge pull request #1686 from SchrodingersGat/demo-dataset
Demo dataset
2021-06-20 17:27:51 +10:00
Oliver
5a2227862a Exclude authtoken 2021-06-20 16:36:39 +10:00
Oliver
7cc1c84b4b exclude exchange rate info from import / export tasks 2021-06-20 16:13:07 +10:00
Matthias
452d2004ce added handling for no supplier price 2021-06-19 23:46:31 +02:00
Matthias
15804f873b Merge branch 'master' of https://github.com/inventree/InvenTree into order-modal-show-price 2021-06-18 16:46:11 +02:00
Oliver
05142d977a
Merge pull request #1684 from SchrodingersGat/rebuild-command
Adds a management command to rebuild MPTT models
2021-06-18 22:08:43 +10:00