Commit Graph

6251 Commits

Author SHA1 Message Date
Matthias
761aa04aba added bom-table 2021-06-23 12:16:33 +02:00
Matthias
332c0a43fd clearer headings 2021-06-23 12:16:04 +02:00
Oliver
058e53459b Add simple function for determining OPTIONS 2021-06-23 20:07:56 +10:00
Oliver
fcbb4c593b
Merge pull request #1715 from SchrodingersGat/tweaks
Change some warnings to infos
2021-06-23 19:50:07 +10:00
Oliver
f0db9bc3d5 Live update of Company image 2021-06-23 19:29:41 +10:00
Oliver
70a073be21 Live update part image 2021-06-23 19:28:23 +10:00
Oliver
2e1ad0c245 Change some warnings to infos 2021-06-23 18:54:01 +10:00
Oliver
5e338dca3f
Merge pull request #1710 from SchrodingersGat/inventree-api-image-upload
Allow direct upload of images via the API
2021-06-23 11:54:01 +10:00
Oliver
36e6b9f164 Set allow_null flag on image fields 2021-06-23 11:40:37 +10:00
Oliver
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
Matthias
522ca161d6 added permissions-check to bom 2021-06-23 01:26:07 +02:00
Matthias
c8ff6ee0e2 removing old views 2021-06-23 01:11:25 +02:00
Matthias
093a181751 initial structure for single pricing view 2021-06-23 01:07:07 +02:00
Oliver
a866001ffe Bump API version to 6 2021-06-23 08:40:51 +10:00
Oliver
878f26c770 Enable upload of company image via the API 2021-06-23 08:39:06 +10:00
Oliver
f199feb8d9 Use the part detail API for uploading a new image 2021-06-23 08:34:45 +10:00
Oliver
b8e4b58df0 Catch potential error updating image that does not exist... 2021-06-22 22:23:27 +10:00
Oliver
2fc7c3d883 fix typo 2021-06-22 22:16:11 +10:00
Oliver
e29594811b Allow direct upload of images via the API 2021-06-22 22:09:30 +10:00
Oliver
962badc36d
Merge pull request #1682 from matmair/order-modal-show-price
Order modal show price
2021-06-22 21:27:59 +10:00
Oliver
37cbb6f6b8
Merge pull request #1709 from SchrodingersGat/python-ci-fixes
Fixes for python integration
2021-06-22 21:15:30 +10:00
Oliver
3884ab0df2 Change workflow target 2021-06-22 20:58:29 +10:00
Oliver
691888ec1e Fixes for python integration 2021-06-22 20:49:49 +10:00
Oliver
e0301c56fb
Merge pull request #1708 from SchrodingersGat/python-ci
Add workflow to build python bindings
2021-06-22 20:40:59 +10:00
Oliver
fcd38c16d8 Add workflow to ensure that the python bindings build whenever there's a push to master 2021-06-22 20:26:55 +10:00
Oliver
da311fbab7
Merge pull request #1707 from SchrodingersGat/order-api-fixes
Fixes for order API interface
2021-06-22 17:23:50 +10:00
Oliver
1456868d03 Add default values for line item serializers
- Once https://github.com/inventree/InvenTree/issues/1687 is fixed, remove default values
2021-06-22 17:03:21 +10:00
Oliver
4fe6562d29 PEP fixes 2021-06-22 16:43:49 +10:00
Oliver
26dd9c10a4 Fixes for SalesOrder API 2021-06-22 16:43:38 +10:00
Oliver
3fa3ce06a1 Fixes for PurchaseOrder API interface
- Allow DELETE endpoint for PurchaseOrder
- Remove 'read_only' attribute for 'reference' field
- Add extra functionality to API test class
- Add unit testing
2021-06-22 16:28:42 +10:00
Oliver
061a120af2
Merge pull request #1705 from SchrodingersGat/part-validation
API Validation fixes
2021-06-22 13:39:05 +10:00
Oliver
979ef674d6 Update data for unit test fixtures 2021-06-22 13:24:03 +10:00
Oliver
eae9ff7d1d More unit test fixes 2021-06-22 11:54:18 +10:00
Oliver
df7b0c961d
Merge pull request #1706 from SchrodingersGat/build-item-sorting
Bug fix for build order allocation sorting
2021-06-22 11:08:31 +10:00
Oliver
650d31ae32 Remove debug statements 2021-06-22 10:43:00 +10:00
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
Matthias
c8defae575 fixing allocation sorting 2021-06-22 00:03:54 +02:00
Matthias
8b515571ca I think a fix for #1663
Closes #1663
2021-06-21 23:33:27 +02: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
8fd41f5ecf Unit testing for default values 2021-06-21 21:46:22 +10: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