Commit Graph

9828 Commits

Author SHA1 Message Date
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
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
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
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
Matthias
7598b47642
ignore some default in coverage 2022-02-13 20:15:31 +01:00
Matthias
2bf3b90d38
ignore db optm in coverage 2022-02-13 20:15:03 +01:00
Matthias
5a40bdda51
do not cover secret key 2022-02-13 20:14:18 +01:00
Matthias
2bba1766b0
ignore testing coditions in coverage 2022-02-13 20:13:57 +01:00
Matthias
4567e9d941
ignore system exit conditions in coverage 2022-02-13 20:11:41 +01:00
Matthias
1fd336aa1b
ignore whole file 2022-02-13 20:00:19 +01:00
Matthias
af3f3c741d
test Isimporting 2022-02-13 19:59:06 +01:00
Matthias
d596ae1e7e
test test mode 2022-02-13 19:58:29 +01:00
Matthias
ce88deeb3b
add test for system healt checks 2022-02-13 19:56:30 +01:00
Matthias
6bc53c1308
will never be true in testing 2022-02-13 19:55:50 +01:00
Matthias
dbb4c3f407
Merge branch 'master' of https://github.com/inventree/InvenTree into coverage-fixes 2022-02-13 17:46:09 +01:00
Matthias
0ad3b5bcba
ignore coverage in exsisting migrations 2022-02-13 17:45:46 +01:00
Matthias
898f99c931
ignore not testable condition 2022-02-13 17:42:50 +01:00
Matthias
67a4f75856
remove dead test 2022-02-13 17:41:27 +01:00
Matthias
ad41957127
database not ready events are hard to reproduce consistently 2022-02-13 17:39:17 +01:00
Matthias
9d12a7172c
use same style for AppNotReady Exception 2022-02-13 17:35:07 +01:00
Matthias
fe65f92df0
app not ready can not be simulated by tests 2022-02-13 17:34:05 +01:00
Matthias
2838817e32
ignore debug toolbar 2022-02-13 17:31:34 +01:00
Matthias
a763ac383c
Merge branch 'coverage-fixes' of https://github.com/matmair/InvenTree into coverage-fixes 2022-02-13 17:30:38 +01:00
Matthias
ed6bf7d4d0
add comment about function 2022-02-13 17:30:35 +01:00
Matthias
11e41048d0
ignore ci render_test 2022-02-13 17:29:46 +01:00
Oliver
e3fc1ab138 Allow BOM file to be "re-uploaded" 2022-02-13 20:49:42 +11:00
Oliver
0aeaf61254
Merge pull request #2564 from matmair/template-reduce-duplication
Template reduce duplication
2022-02-13 20:37:02 +11:00
Matthias Mair
880d78f2c6
Pep 2022-02-13 06:24:05 +01:00
Matthias Mair
c6da462229
Remove settings mods 2022-02-13 06:22:15 +01:00
Matthias
54f6c5b34f
fix setting coverage 2022-02-13 05:57:07 +01:00
Matthias
1f59373c70
test wrong setting defaults 2022-02-13 05:50:53 +01:00
Matthias
42b4466897
ignore controls that should not be reached in coverage 2022-02-13 05:50:19 +01:00
Matthias
7793a22a35
ignore wrong control view safeties 2022-02-13 05:48:10 +01:00
Matthias
440245c812
PEP fix 2022-02-13 05:37:28 +01:00
Matthias
c0ab93b2a9
remove dead code 2022-02-13 05:35:06 +01:00
Matthias
491bb0b28f
fix import 2022-02-13 05:34:06 +01:00
Matthias
22bc0b3d90
ignore exception ref 2022-02-13 05:21:43 +01:00
Matthias
e162eea9a4
no test for malformed paths 2022-02-13 05:17:41 +01:00
Matthias
ca07c5f12c
imports are not tested 2022-02-13 05:16:29 +01:00
Matthias
6437674ca8
ignore database not ready 2022-02-13 05:16:14 +01:00
Matthias
12a5b6b148
remove dead code 2022-02-13 05:11:47 +01:00
Matthias
021faf4c1f
move up comment so unneeded functions are not not covered 2022-02-13 05:11:14 +01:00
Matthias
c84be228f1
remove dead code 2022-02-13 05:08:37 +01:00
Matthias
127368d47f
ignore coverage on ruleset checks 2022-02-13 05:04:51 +01:00
Matthias
673435fe90
simpler coverage ignore 2022-02-13 04:56:42 +01:00
Matthias
e693fe1e41
fix migration coverage for build 2022-02-13 04:55:39 +01:00
Matthias
fe767775bc
fix migration coverage for company 2022-02-13 04:53:18 +01:00
Matthias
a4c6d0e6c5
fix migration coverage for orders 2022-02-13 04:49:08 +01:00
Matthias
10170b5466
remove coverage from parts migrations 2022-02-13 04:46:36 +01:00
Matthias
3ed836f19d
ignore branches 2022-02-13 04:43:18 +01:00
Matthias
5d277a888d
ignore migration 2022-02-13 04:41:44 +01:00
Matthias
01b8bca501
ignore import error 2022-02-13 04:37:38 +01:00
Matthias
65f3c3fce4
ignore the django import check 2022-02-13 04:33:18 +01:00
Matthias
bc17536e6d
fix quotes 2022-02-13 03:49:52 +01:00
Matthias
aa3192a106
Merge branch 'master' of https://github.com/inventree/InvenTree into template-reduce-duplication 2022-02-12 00:55:39 +01:00
Matthias Mair
975c81ccfe
Merge branch 'inventree:master' into fix-html-tags 2022-02-12 00:32:26 +01:00
Oliver
8b34ea3066
Merge pull request #2609 from eeintech/child_model_permissions
Child model permissions
2022-02-10 18:08:38 +11:00
Oliver
6c083622e5
Merge pull request #2615 from SchrodingersGat/delete-multiple-outputs
Delete multiple outputs
2022-02-10 07:47:00 +11:00
Oliver
6b52a07e71 js linting 2022-02-10 00:53:38 +11:00
Oliver
71f9399760 Cleanup 2022-02-10 00:50:21 +11:00
Oliver
0d7b94fbfa Remove old form code which is no longer used 2022-02-10 00:48:06 +11:00
Oliver
96af074365 Adds API endpoint to delete build outputs 2022-02-10 00:46:38 +11:00
Oliver
f460b14014 Add more unit testing for BOM file upload
- Test "levels" functionality
- Test part guessing / introspection
2022-02-10 00:13:37 +11:00
Oliver
ffb319e136 Disable "submit" button to prevent multiple simultaneous uploads 2022-02-10 00:00:23 +11:00
Oliver
d38a8adf4c Add button to display original row data 2022-02-09 23:49:26 +11:00
Oliver
383835aa89 Display initial errors when importing data 2022-02-09 23:26:32 +11:00
Oliver
aa962aac83 Improve part "guess" algorithm 2022-02-09 23:26:13 +11:00
Oliver
c0e940a898 Catch potential error when posting invalid numbers via REST API 2022-02-09 23:26:00 +11:00
Oliver
001437e083 Increased error checking when uploading BOM data 2022-02-09 23:02:09 +11:00
Oliver
2af617e92b Adds check for duplicate parts when importing 2022-02-09 11:34:25 +11:00
Oliver
67a9c0aeec PEP fixes 2022-02-09 11:31:36 +11:00
Oliver
a9e1357ffb Return per-row error messages when extracting data 2022-02-09 11:30:58 +11:00
Oliver
29c3064ae7 Raise error if imported dataset contains no data rows 2022-02-09 11:27:51 +11:00
Oliver
692039f712 Add unit testing for uploading invalid BOM files 2022-02-09 08:38:28 +11:00
Oliver
8fc2695873 Catch potential file processing errors 2022-02-09 08:31:08 +11:00
Oliver
5376c5b022 Allow POST of files for unit testing 2022-02-08 23:54:48 +11:00
Oliver
dbf1e1b463 Fix logic for enabling "place order" button 2022-02-08 08:59:42 +11:00
eeintech
3b45c1406a Improved approach to permission check at runtime 2022-02-07 15:42:39 -05:00
eeintech
fd63fcde43 Reverted print statement to logger 2022-02-07 15:39:06 -05:00
eeintech
ef70e665bb Refactored and added permission check for children models 2022-02-07 15:37:07 -05:00
eeintech
d3b2e80e14 Merge branch 'master' of github.com:inventree/InvenTree into permission_experiment 2022-02-07 11:55:47 -05:00
Oliver
ba1c7caa2a
Merge pull request #2605 from SchrodingersGat/po-refresh
Do not hide the "submit order" button
2022-02-07 15:02:52 +11:00
Oliver
c94c0902b6
Merge pull request #2603 from SchrodingersGat/bom-upload-improvements
Bom upload improvements
2022-02-07 14:46:25 +11:00
Oliver
55ff026696 Remove incorrect validation routine 2022-02-07 14:24:40 +11:00
Oliver
64b1523013 Do not hide the "submit order" button 2022-02-07 13:55:25 +11:00
Oliver
11f541303b unit test fixes 2022-02-07 13:32:35 +11:00
Oliver
11c187f81d PEP fixes 2022-02-07 13:14:51 +11:00
Oliver
a5a2fcd84a Only update rates on server launch if there are no rates available 2022-02-07 13:13:45 +11:00
Oliver
7265360648 JS linting 2022-02-07 13:07:03 +11:00
Oliver
4f638be874 Handle errors when connecting to currency exchange
- Also adds timeout when connecting
2022-02-07 13:04:42 +11:00
Oliver
c6dc196053 PEP fixes 2022-02-07 12:32:50 +11:00
Oliver
509d58979e Remove old templates 2022-02-07 12:29:15 +11:00
Oliver
11d5900b69 Update upload file template 2022-02-07 12:25:09 +11:00
Oliver
131663cecc Adds options to clear existing BOM data when uploading 2022-02-07 12:20:18 +11:00
Oliver
4f26df3124 bug fix 2022-02-07 11:35:51 +11:00
Oliver
2ade14c47b Check for duplicate BOM items as part of serializer validation 2022-02-07 11:35:07 +11:00
Oliver
a2c48d308f Adds a BomUpload endpoint to handle upload of complete BOM 2022-02-07 10:54:37 +11:00
Oliver
80818c464a Allow decimal values for BOM overage 2022-02-07 09:24:23 +11:00
Oliver
0963602bea Add optional part lookup by "part" field 2022-02-07 08:37:39 +11:00
Oliver
81271bf6b9 Add "clear input" callback function 2022-02-05 10:01:07 +11:00
Oliver
bdf0b5b446 Construct required form fields
- required some additional functionality in forms.js
2022-02-05 09:53:35 +11:00
Oliver
c620107625 Add callback for "remove row" button 2022-02-05 09:11:01 +11:00
Oliver
8a86932c7b Initialize related field for "part" selection 2022-02-05 01:36:46 +11:00
Oliver
8a8d718534 Basic javascript function to construct BOM table from extracted data 2022-02-05 01:26:34 +11:00
Oliver
3bd39ec752 Attempt to auto-extract part information based on provided data 2022-02-05 01:26:08 +11:00
Oliver
137c9ff2f2 POST request now returns extracted data rows (as an array of dicts) 2022-02-05 00:30:00 +11:00
Oliver
707787d82c Fix existing bug with BomExport functionality - could not select BOM format 2022-02-05 00:12:40 +11:00
Oliver
611592694b Adds serializer for uploading a BOM file and extracting fields 2022-02-05 00:12:11 +11:00
Oliver
448cd18468
Merge pull request #2586 from nwns/feature/maintdefaultstorage
Switch Maint Mode to use default storage backend
2022-02-04 07:31:59 +11:00
Oliver
647b2be5cf
Merge pull request #2599 from SchrodingersGat/hide-part-pricing-history
Hide part pricing history
2022-02-03 16:57:23 +11:00
Oliver
c12191d3ed Disable multi-level BOM requests 2022-02-03 16:33:10 +11:00
Oliver
722e947745 Only calculate pricing data if required 2022-02-03 16:30:48 +11:00
Oliver
0c1971bfbb
Merge pull request #2598 from SchrodingersGat/loaddata-skip-steps
Skips some specific steps when importing data
2022-02-03 16:29:02 +11:00
Oliver
525b6d399d Hide pricing history tab if not enabled 2022-02-03 16:23:52 +11:00
Oliver
8c52924020 Adds new setting to optionally display or hide part pricing information 2022-02-03 16:16:42 +11:00
Oliver
328e9639f7
Merge pull request #2597 from SchrodingersGat/binary-settings
Binary settings
2022-02-03 16:07:13 +11:00
Oliver
aeb8967473 PEP fixes 2022-02-03 16:06:00 +11:00
Oliver
78b1c7a22b Skips some specific steps when importing data
- We need to prevent certain operations from running when we are importing data
- This is to prevent unique database constraints from being violated

- Do not register plugins during data import
- Do not launch notification events
2022-02-03 16:03:46 +11:00
Oliver
bf528db4ab Display error if setting update failes 2022-02-03 15:46:44 +11:00
Oliver
eef15b13ec
Merge pull request #2596 from SchrodingersGat/bom-export
Fixes issue with BOM export
2022-02-03 15:30:48 +11:00
Oliver
2b11d5ed52
Merge pull request #2595 from SchrodingersGat/build-refresh
Build refresh
2022-02-03 15:30:41 +11:00
Oliver
5cd5ee81af Layout changes 2022-02-03 15:30:36 +11:00
Oliver
ababab944b Boolean settings are now directly clickable 2022-02-03 15:25:21 +11:00
Oliver
72be63572e Fixes issue with BOM export
- Cascading BOM export was broken
2022-02-03 14:52:38 +11:00
Oliver
c6089a2828 Reload completed output table 2022-02-03 14:47:35 +11:00
Oliver
66e5aa4060 Reload build output table when an active build output is deleted 2022-02-03 14:23:25 +11:00
Oliver
566fd87e86 PEP style fixes 2022-02-03 14:16:33 +11:00
Oliver
b387b4e173 Prevent build outputs being created with zero quantity 2022-02-03 14:13:13 +11:00
eeintech
de7e152081 Experimenting with children models permissions 2022-02-02 14:01:53 -05:00
Nigel
bbe14690f1
fix: use default storage backend for Maint Mode 2022-02-02 08:37:43 -07:00
Oliver
ea1f1b398e Prevent AttributeError from being thrown
Ref: https://github.com/inventree/InvenTree/issues/2587
2022-02-02 12:40:10 +11:00
Oliver Walters
00d7cf88e8 Throw validation error if no build outputs have been started 2022-02-01 15:58:18 +11:00
Oliver Walters
318e84883a Adds a warning if no build outputs are created 2022-02-01 15:51:38 +11:00
Oliver
3462cf796b
I18n merge (#2582)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin
2022-01-30 21:44:23 +11:00
Matthias
ae667df14a
add migration 2022-01-28 23:58:12 +01:00
Matthias Mair
18e0a7b7e6
fix spelling
Thanks @Stephano120
Good catch!
2022-01-28 20:19:38 +01:00
Oliver
e879c97e1e Display "base" part when selecting substitutes 2022-01-28 13:23:44 +11:00
Oliver
60c5635a21
Merge pull request #2576 from SchrodingersGat/translation-fix
Fix message
2022-01-28 09:25:50 +11:00
Oliver
90474af76d Fix message 2022-01-28 08:47:03 +11:00
Oliver
22892565ed JS linting fixes 2022-01-28 08:28:52 +11:00
Oliver
f6ffef66e0 Fixes for new "allocation" tab
- Fix broken link
- Add "description" column
- Add thumbnail images
2022-01-27 16:25:26 +11:00
Oliver
0ea0edf1bb
Merge pull request #2574 from SchrodingersGat/allocation-tab
Allocation tab
2022-01-27 15:58:41 +11:00
Oliver
5ec1d5aab8 Display allocations for individual stock items 2022-01-27 15:21:04 +11:00
Oliver
60cde7fe13 Includes sales order allocation data 2022-01-27 15:01:26 +11:00
Oliver
c43d1840ea Load table of build order allocations 2022-01-27 14:55:19 +11:00
Oliver
09bba40c20
Merge pull request #2573 from SchrodingersGat/bom-stock-export
Expand available stock information when exporting Bill of Materials
2022-01-27 14:47:41 +11:00
Oliver
3889baf37a Adds a tab for "allocations" 2022-01-27 14:25:57 +11:00
Oliver
11125e9f60 Fixes for unit tests 2022-01-27 14:19:42 +11:00
Oliver
b027f126e8 Expand available stock information when exporting Bill of Materials 2022-01-27 13:59:13 +11:00
Oliver
3127b1b34a Remove incorrect line 2022-01-27 13:48:16 +11:00
Oliver
4a45ba3a44 Fix data mutability issues 2022-01-27 13:37:42 +11:00
Oliver
d0aa09337a Simplify creation of serialized stock via the API
- Fixes atomicity issues
- Don't create-then-delete stock items
2022-01-27 12:08:50 +11:00
Oliver
9153b62ea0 Handle case when aggregation returns None 2022-01-27 10:49:30 +11:00
Oliver Walters
9a2d47cd53 style fixes 2022-01-26 23:17:58 +11:00
Oliver Walters
681e007092 Add clean() function for PurchaseOrderLineItem
Also adds renderer for purchaseorder model
2022-01-26 22:56:00 +11:00
Matthias
1704a50d92
Merge branch 'style-fix' of https://github.com/matmair/InvenTree into style-fix 2022-01-24 23:46:39 +01:00
Matthias Mair
d998f8bfbe
Merge branch 'inventree:master' into fix-html-tags 2022-01-24 23:39:21 +01:00
Matthias Mair
af04056843
Merge branch 'inventree:master' into style-fix 2022-01-24 23:39:17 +01:00
Matthias
6bfb17f2ab
pep fix 2022-01-24 23:38:12 +01:00
Matthias
3ab93dcdd5
only one exception type needed 2022-01-21 02:17:30 +01:00
Matthias
02058389b2
remove unneeded pass 2022-01-21 02:13:41 +01:00