Commit Graph

11805 Commits

Author SHA1 Message Date
Oliver
d7adb6959d Adds functionality to map file columns to model fiels 2022-02-16 14:57:13 +11: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
Matthias
f765f0f083
should not be reached 2022-02-13 23:52:50 +01:00
Matthias
43a05dfcb4
return cov from feature only used for debug 2022-02-13 23:50:18 +01:00
Matthias
25bcf2c438
make git log call simpler 2022-02-13 23:49:59 +01:00
Matthias
32614e55b5
remove dead code 2022-02-13 23:49:43 +01:00
Matthias
c5e9e933f0
remove cov from not used feature 2022-02-13 23:49:26 +01:00
Matthias
241101cee6
remove coverage that is not reachable 2022-02-13 23:48:48 +01:00
Matthias
9246eea38e
PEP fix 2022-02-13 23:42:05 +01:00
Matthias
384d458110
user api tests 2022-02-13 23:39:10 +01:00
Matthias
e262599d83
ignore unreachable things 2022-02-13 23:32:55 +01:00
Matthias
ffafc20c6d
do not count unreachable code 2022-02-13 23:30:27 +01:00
Matthias
c6464bcf77
PEP fix 2022-02-13 22:42:17 +01:00
Matthias
8724702fef
add coverage for labels 2022-02-13 22:39:29 +01:00
Matthias
58e8bab83b
except import errors 2022-02-13 22:12:43 +01:00
Matthias
f88d39db66
fix coverage 2022-02-13 22:07:30 +01:00
Matthias
40ea93e00a
catch more explicit 2022-02-13 22:06:53 +01:00
Matthias
8f06f5099c
fix reporting emition 2022-02-13 21:52:32 +01:00
Matthias
73500a4b82
omit coverage via setup.cfg 2022-02-13 21:19:41 +01:00
Matthias
a6621a5327
fix label tests 2022-02-13 21:15:40 +01:00
Matthias
b49d46af58
update system health check 2022-02-13 20:38:05 +01:00
Matthias
27b0a012e0
ignore sanity checks for coverage 2022-02-13 20:33:54 +01:00
Matthias
be196b2948
should not be reached - ignore in cov 2022-02-13 20:23:32 +01:00
Matthias
0eb6d46c4b
remove dead code 2022-02-13 20:23:15 +01:00
Matthias
b095917b96
ignore wsgi 2022-02-13 20:20:05 +01:00
Matthias
0e840bacdd
ignore currently dead code in coverage 2022-02-13 20:16:44 +01:00