2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 13:56:30 +00:00
Commit Graph

1982 Commits

Author SHA1 Message Date
a3ec24fbcc Reenabling prices for BOM items
Closes #1721
2021-06-27 13:48:08 +02:00
67128c308b fixing typo 2021-06-27 12:26:02 +02:00
67f76c8bca Merge remote-tracking branch 'inventree/master' into drf-api-forms 2021-06-27 09:26:23 +10:00
42ed95c936 Merge pull request #1588 from matmair/part-import
Part import
2021-06-27 09:24:10 +10:00
e760aa172a Merge branch 'master' into part-import 2021-06-26 23:58:41 +02:00
34a374ce9a Add try/except around callable default 2021-06-27 01:18:09 +10:00
0cc999410b More unit test fixes 2021-06-27 01:03:54 +10:00
232899e0c4 Simpler implementation 2021-06-27 00:25:23 +10:00
ae1a1e139f Further fixes for default API values
- Account for callable defaults
- Extra check in is_valid()
2021-06-27 00:01:40 +10:00
ddbf863617 Merge remote-tracking branch 'inventree/master' into api-default-values
# Conflicts:
#	InvenTree/InvenTree/serializers.py
2021-06-26 21:04:41 +10:00
949c7dd81b Set modal form title 2021-06-26 14:30:14 +10:00
d28d66795d linked price break graphs 2021-06-25 07:41:00 +02:00
4921cd47f9 refactor for better readabilty 2021-06-25 07:40:01 +02:00
76ec51a93b Merge pull request #1722 from matmair/internal-price-op
full Internal price coverage
2021-06-25 07:37:06 +10:00
b20af54b76 Create select2 instance for related field 2021-06-25 07:36:37 +10:00
b99af16bfd preparing for price breaks diagrams 2021-06-24 22:13:56 +02:00
9ce5a9823e added doc for internal price 2021-06-24 21:48:00 +02:00
abe00232f3 use internal price in more places 2021-06-24 21:47:11 +02:00
04374c71c2 Annotate models with their API list view
- It will make sense, trust me
2021-06-25 00:17:58 +10:00
c6fd2281d6 Allow BOM pricing to be valid when using internal pricing 2021-06-24 02:13:55 +02:00
9f27a77689 price break js refactor 2021-06-24 01:19:09 +02:00
d7d080fb96 adding in manufacturer and supplier tables 2021-06-23 15:30:04 +02:00
761aa04aba added bom-table 2021-06-23 12:16:33 +02:00
332c0a43fd clearer headings 2021-06-23 12:16:04 +02:00
70a073be21 Live update part image 2021-06-23 19:28:23 +10:00
2e1ad0c245 Change some warnings to infos 2021-06-23 18:54:01 +10:00
36e6b9f164 Set allow_null flag on image fields 2021-06-23 11:40:37 +10:00
5ba7aeaa27 Fixes:
- Use DRF ImageField, not FileField
- Ensure that permissions get updated correctly in 'test' mode
- Allow file upload in the APITester class
2021-06-23 10:28:21 +10:00
522ca161d6 added permissions-check to bom 2021-06-23 01:26:07 +02:00
c8ff6ee0e2 removing old views 2021-06-23 01:11:25 +02:00
093a181751 initial structure for single pricing view 2021-06-23 01:07:07 +02:00
878f26c770 Enable upload of company image via the API 2021-06-23 08:39:06 +10:00
f199feb8d9 Use the part detail API for uploading a new image 2021-06-23 08:34:45 +10:00
b8e4b58df0 Catch potential error updating image that does not exist... 2021-06-22 22:23:27 +10:00
2fc7c3d883 fix typo 2021-06-22 22:16:11 +10:00
e29594811b Allow direct upload of images via the API 2021-06-22 22:09:30 +10:00
979ef674d6 Update data for unit test fixtures 2021-06-22 13:24:03 +10:00
eae9ff7d1d More unit test fixes 2021-06-22 11:54:18 +10:00
6d2cd78d29 Fixes for unit tests 2021-06-22 10:36:04 +10:00
9475af62ae Style fixes 2021-06-22 10:12:44 +10:00
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
c3fc04e872 Unit testing for part duplication 2021-06-22 09:35:34 +10:00
a38835022a Better management of unique constraint for Part 2021-06-22 09:33:07 +10:00
40fcfe1f47 Reduce noise in logs 2021-06-22 09:32:36 +10:00
8fd41f5ecf Unit testing for default values 2021-06-21 21:46:22 +10:00
5e5fc35655 Merge pull request #1688 from SchrodingersGat/supplier-part-parameters
Adds "parameters" for manufacturer parts
2021-06-21 16:39:15 +10:00
04b216253d Ok, that was a bad idea. 2021-06-21 11:30:20 +10:00
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
80e47b6f76 addd in sorting for category
fixes #1689
2021-06-20 22:49:06 +02:00
a0b83d530c refactor 2021-06-20 20:19:11 +02:00