2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-04-25 12:33:33 +00:00
Commit Graph

15327 Commits

Author SHA1 Message Date
Matthias Mair cf93ba7cf9 Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 12:23:05 +02:00
Oliver Walters 88dbd5aa74 PEP fixes 2022-05-04 18:46:07 +10:00
Oliver Walters 104f9d4a70 Remove outdated unit tests 2022-05-04 18:39:33 +10:00
Oliver Walters 17c84141b1 Javascript linting 2022-05-04 17:38:01 +10:00
Oliver Walters 7365f7b5cb Paint the icon red 2022-05-04 17:33:19 +10:00
Oliver Walters 1cefdfc2e4 PEP style fixes 2022-05-04 17:31:44 +10:00
Oliver Walters adbcd68fe8 Refactor "uninstall stock item" form to use the API 2022-05-04 17:25:24 +10:00
Oliver Walters 5cf30a850d Prune a lot of dead code 2022-05-04 17:01:19 +10:00
Oliver Walters bd3d6f47a1 Refactor CancelBuild form 2022-05-04 16:30:46 +10:00
Oliver Walters 768e23c7b8 Refactor BuildOrder API classes with a fancy mixin 2022-05-04 15:59:30 +10:00
Oliver Walters a510ca89f7 Refactor CancelSalesOrder form 2022-05-04 15:55:21 +10:00
Oliver Walters bf48e3204b Refactor PurchaseOrderIssue form 2022-05-04 15:45:13 +10:00
Oliver Walters 5afc3bfce2 Replace PurchaseOrderComplete form 2022-05-04 15:33:50 +10:00
Oliver Walters e527ddcc86 Extract context information from the OPTIONS request (forms.js) 2022-05-04 15:31:33 +10:00
Oliver Walters 4e7d1d8e7f Bump API version 2022-05-04 15:16:50 +10:00
Oliver Walters 62cd0f39c7 Replace the existing CancelPurchaseOrderForm with an API driven form 2022-05-04 15:14:14 +10:00
Oliver Walters e920fc31e7 Only include extra context information if requested 2022-05-04 15:07:22 +10:00
Oliver Walters c7980a347e Adds ability to add custom serializer context information to the OPTIONS endpoint
- Will be useful for constructing prettier forms with information about the endpoint
2022-05-04 15:06:02 +10:00
Oliver dbc0023c57 Update CONTRIBUTING.md
Update labels a bit
2022-05-04 12:10:00 +10:00
Oliver 1e4cf346e3 Merge pull request #2922 from matmair/doc-update
Clean up tags
2022-05-04 11:53:47 +10:00
Oliver 628c9edd09 Merge pull request #2929 from SchrodingersGat/spelling-fixes
Fix speling errors in translated strings
2022-05-04 09:56:47 +10:00
Oliver b65a969433 Merge pull request #2928 from matmair/coverage-adaption
Increase coverage
2022-05-04 09:39:24 +10:00
Oliver Walters 75e24635b5 Fix speling errors in translated strings 2022-05-04 09:17:42 +10:00
Matthias 8038cff874 ignore for coverage 2022-05-04 00:43:49 +02:00
Matthias 6504ef535a fix test - len needs to be recalculated 2022-05-03 23:23:36 +02:00
Matthias e1b395c9be test is_active 2022-05-03 23:19:51 +02:00
Matthias cf0cbff69a we are not covering packages right now 2022-05-03 23:19:01 +02:00
Matthias 5e277130fa do not cover not implemented Mixin 2022-05-03 23:07:16 +02:00
Matthias c5acfaf541 do not coverage catch for load 2022-05-03 23:06:57 +02:00
Matthias e95c3e0948 do not cover default returns 2022-05-03 23:06:38 +02:00
Matthias 1522d330fa add test for is_sample 2022-05-03 23:06:11 +02:00
Matthias 096c0c876c PEP fix 2022-05-03 22:58:24 +02:00
Matthias d49f74746a test that MixinImplementationErrors raise 2022-05-03 22:56:28 +02:00
Matthias 204b4fd527 rename test 2022-05-03 22:55:39 +02:00
Matthias 626e3838ae also cover errors 2022-05-03 22:15:24 +02:00
Matthias a357c4ef88 also cover unregistering 2022-05-03 22:13:29 +02:00
Matthias 08e278232b ignore db not ready in coverage 2022-05-03 22:12:34 +02:00
Matthias b9cbc287f2 empty mixin schaffold - no tests 2022-05-03 22:10:26 +02:00
Matthias 0a012c3c58 only possible in test cases with plugin_tests off 2022-05-03 22:09:58 +02:00
Matthias 4663815cfa this is just an extra safety check - should not trigger 2022-05-03 22:09:20 +02:00
Matthias 4e5015e742 do not cover unready db 2022-05-03 22:08:57 +02:00
Matthias 58a5eac66a ignore outside sample code in coverage 2022-05-03 22:06:10 +02:00
Matthias 07a86a3883 ognore catches in coverage 2022-05-03 22:05:56 +02:00
Matthias 7c437a3cf2 adjust testing function to also check return 2022-05-03 21:59:17 +02:00
Matthias 70b108d813 add check for call function 2022-05-03 21:56:58 +02:00
Matthias 5ea6a325ee fix smaple code 2022-05-03 21:48:49 +02:00
Matthias 5fa7b45d1d Add tests for scheduling
Closes #2523
2022-05-03 21:39:45 +02:00
Matthias 300558adb0 increase coverage on owners model 2022-05-03 20:26:49 +02:00
Matthias 05d2d3664c ignore defaults for coverage 2022-05-03 20:13:07 +02:00
Matthias 0900fe82dc ignore coverage on reverse conversion 2022-05-03 20:11:41 +02:00