Commit Graph

12272 Commits

Author SHA1 Message Date
Oliver
3226a1906f Critical bug fix: Check if serial numbers already exist when creating new StockItem 2022-02-17 17:17:09 +11:00
Oliver
f485bc7d53 PEP fixes 2022-02-17 17:04:51 +11:00
Oliver
0604e1a127 Adds API endpoint for installing stock items into other stock items
- Requires more filtering for the Part API
- Adds more BOM related functionality for Part model
- Removes old server-side form
2022-02-17 17:03:17 +11:00
Oliver
023037e766
Merge pull request #2639 from SchrodingersGat/test-fixes
Test fixes
2022-02-17 14:59:28 +11:00
Oliver
31fd69fc76 Ensure unit tests are more resilient 2022-02-17 14:00:16 +11:00
Oliver
6199223636 Adds "refresh" button for stock test table 2022-02-17 13:46:11 +11:00
Oliver
578c161d4f Adds information on test result being deleted 2022-02-17 13:36:00 +11:00
Oliver
82cfc5423a Further improvements to unit tests 2022-02-17 13:07:16 +11:00
Oliver
47f6b709c9 Improve unit testing 2022-02-17 12:10:48 +11:00
Oliver
e298a3adbf Implement unit test for missing columns 2022-02-17 11:45:44 +11:00
Oliver
08da2d6fd4
Merge pull request #2638 from SchrodingersGat/typo-fix
Spelling fix
2022-02-17 08:44:52 +11:00
Oliver
bc6839d56e Spelling fix 2022-02-17 08:18:15 +11:00
Oliver
f068ee6c2e
Update FUNDING.yml
Add ko_fi username
2022-02-17 08:15:24 +11:00
Oliver
e7aff93667
Create FUNDING.yml
Add sponsor file
2022-02-16 23:56:20 +11:00
Oliver
8bc84e8aab
Merge pull request #2637 from SchrodingersGat/stock-item-breadcrumb-fix
Fix breadcrumb tree for stock item page
2022-02-16 22:49:31 +11:00
Oliver
f6f512c40b Fix breadcrumb tree for stock item page 2022-02-16 22:22:04 +11:00
Oliver
371af2a34a unit test fixes 2022-02-16 22:19:02 +11:00
Oliver
9c8f15fd56 Fix field name 2022-02-16 19:43:14 +11:00
Oliver
19b7e6bb97
Merge pull request #2635 from SchrodingersGat/test-result-quick
Adds a button to quickly "pass" a test
2022-02-16 19:22:52 +11:00
Oliver
fbef0e1ede js linting 2022-02-16 17:18:17 +11:00
Oliver
0f0325daba Adds a button to quickly "pass" a test 2022-02-16 17:16:17 +11:00
Oliver
8f6312f7f4 Adds generic javascript function for mapping file columns to model fields 2022-02-16 17:04:33 +11:00
Oliver
f399f4fa34 Refactoring API endpoints
- Improved URL naming scheme
2022-02-16 16:57:27 +11:00
Oliver
d7adb6959d Adds functionality to map file columns to model fiels 2022-02-16 14:57:13 +11:00
Matthias Mair
626f44d195
Merge branch 'inventree:master' into matmair/issue2279 2022-02-16 02:02:02 +01:00
Oliver
58aa2adde7 Adds model mixin for generically determining which fields can be imported on any particular model 2022-02-16 11:42:15 +11:00
Oliver
24f1491b8e Adds generic API endpoint for extracting data from a tabulated file 2022-02-16 11:32:40 +11:00
Oliver
6c32f5c60d
Merge pull request #2632 from SchrodingersGat/build-serial-number-guess
Build output allocation tweak
2022-02-16 08:37:47 +11:00
Oliver
49fe528f4e
Merge pull request #2630 from matmair/coverage-fixes
Coverage fixes
2022-02-16 07:55:12 +11:00
Oliver
bf39a614a1 Automatically select Bom Items with matching serial numbers when allocating stock to a build order output 2022-02-16 07:49:18 +11:00
Oliver
bec6d2952d
Merge pull request #2631 from SchrodingersGat/build-serial-number-magic
Build serial number magic
2022-02-15 13:58:56 +11:00
Oliver
35c9b6838e Form improvements 2022-02-15 13:33:32 +11:00
Oliver
2b344f1f25 PEP style fixes 2022-02-15 13:30:14 +11:00
Oliver
09853fd3df remove code which is now unused 2022-02-15 13:27:30 +11:00
Oliver
07af0902a3 Optionally auto-allocate stock items when creating a new build output 2022-02-15 13:27:14 +11:00
Oliver
24c13b04b6 Extract serial numbers from submitted form data 2022-02-15 13:19:41 +11:00
Oliver
037232c177 Adds query function to Part model to return trackable parts in the BOM 2022-02-15 13:19:14 +11:00
Oliver
f90a27d01d Adds a new API endpoint for creating build outputs 2022-02-15 12:51:48 +11:00
Matthias Mair
0be2f8cf02
Merge branch 'inventree:master' into coverage-fixes 2022-02-15 01:48:55 +01:00
Oliver
dc4c1f138b
Merge pull request #2629 from SchrodingersGat/index-unit-tests
Adds unit tests for index page
2022-02-15 11:45:08 +11:00
Oliver
c048f3fb4a Adds unit tests for index page
Some fairly simple unit tests to ensure that the index page is being correctly loaded.
2022-02-15 10:50:30 +11:00
Oliver
6dfe22790e
Merge pull request #2626 from SchrodingersGat/quantity-fix
Fix for BOM import
2022-02-15 09:37:06 +11:00
Oliver
adfa289e9b Enforce proper formatting for 'quantity' field when importing BOM data 2022-02-15 09:11:14 +11:00
Matthias
238cc9e278
disable broken test 2022-02-14 00:42:47 +01:00
Matthias
8df5a3f980
add more user api tests 2022-02-14 00:21:15 +01:00
Matthias
6848787885
remove dead code -> permission class does that already 2022-02-14 00:21:01 +01:00
Matthias
a4d94f31c8
add test for non existing token 2022-02-14 00:14:11 +01:00
Matthias
beb3bb38d4
spellcheck 2022-02-13 23:59:37 +01:00
Matthias
955f389d66
PEP fixes 2022-02-13 23:59:23 +01:00
Matthias
2335a8c316
add more plugin coverage 2022-02-13 23:58:49 +01:00