Commit Graph

10355 Commits

Author SHA1 Message Date
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
7de3eb46c5
fix migrations 2022-02-13 04:15:58 +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
9eb238c85e
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-02-12 00:51:15 +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
Matthias
b3d031c473
make expression simpler 2022-01-21 02:12:40 +01:00
Matthias
f04de517d1
fix tags 2022-01-21 02:11:34 +01:00
Matthias
2e0198e7cd
refactor field matching 2022-01-21 01:20:32 +01:00
Matthias
3c02c918b2
reduce code in wizard templates 2022-01-21 01:12:11 +01:00
Matthias
116369bba1
fix indent 2022-01-21 00:31:03 +01:00
Matthias
ff897ccc41
remove dead code 2022-01-21 00:30:51 +01:00
Matthias
c44565f9e3
fix reused builtins 2022-01-21 00:17:52 +01:00
Matthias
cbd84a23f9
fix default empy dict 2022-01-21 00:11:26 +01:00
Matthias
b2eb4e131a
remove empty test 2022-01-21 00:08:36 +01:00
Matthias
a96ceba0be
use constant for content type 2022-01-20 23:58:36 +01:00
Matthias
16239289c0
remove dead code 2022-01-20 23:56:39 +01:00
Matthias
967efae8f1
make simpler 2022-01-20 23:55:48 +01:00
Matthias
21125eb892
add docstring 2022-01-20 23:55:07 +01:00
Matthias
3d2113d98b
make simpler 2022-01-20 23:53:50 +01:00
Matthias
9da234002b
add comment 2022-01-20 23:51:53 +01:00
Matthias
f8c4470d98
make simpler 2022-01-20 23:51:42 +01:00
Matthias
db66546606
rename to not shadow builtin 2022-01-20 23:49:21 +01:00
Matthias
ef22b9fc1b
remove unneeded assingments 2022-01-20 23:47:59 +01:00
Oliver Walters
9ffcdbc417 Fix issues when re-opening a secondary modal 2022-01-19 19:18:20 +11:00
Oliver Walters
3c328feb65 Donate keyboard focus when creating a secondary modal 2022-01-19 19:03:47 +11:00
Oliver Walters
21f2dd5896 Use modal "depth" to construct form fields
- Top level modals are not changed
2022-01-19 18:57:53 +11:00
Oliver Walters
f16b18f7ad icon fixes 2022-01-19 14:41:22 +11:00
Oliver Walters
40564f0357 Rearrange drop-down menu 2022-01-19 14:38:05 +11:00
eeintech
391836689d Allow decimal for quantity received on PO 2022-01-17 09:04:14 -05:00
Oliver Walters
6f3918deea Fix for i18n javascript 2022-01-14 00:02:00 +11:00
Oliver
9b1ccedbb4
Merge pull request #2546 from SchrodingersGat/plugin-bool-fix
Display "boolean" plugin setting values as checkboxes
2022-01-13 17:18:01 +11:00
Oliver
2f01691095 "patch" for legacy checkboxes in HTML forms
- Update to match the style of more "modern" API-driven forms
- These legacy forms will be removed in future revision anyway
2022-01-13 16:37:42 +11:00
Oliver
eb21e1f844 Display "boolean" plugin setting values as checkboxes 2022-01-13 16:22:38 +11:00
Oliver
3fb77f466c PEP fixes 2022-01-13 11:00:33 +11:00
Oliver
ae016730f8 Fix - needs a global function to schedule 2022-01-13 10:53:33 +11:00
Oliver
519a1009ab Fix: wrap args in quotes 2022-01-13 10:47:37 +11:00
Oliver
934de1f772 Adds the ability for 'scheduled tasks' to be member functions of plugins 2022-01-13 10:24:47 +11:00
Matthias Mair
c490574082
Merge branch 'inventree:master' into matmair/issue2279 2022-01-12 14:36:04 +01:00
Oliver
5df8377213 Fix "actions" column for part purchase order table 2022-01-12 15:12:53 +11:00
Oliver
0c37c2ce13
Merge pull request #2540 from SchrodingersGat/500
Adds custom error handler page for 500
2022-01-12 14:52:51 +11:00
Oliver
ebad01b497
Merge pull request #2525 from matmair/matmair/issue2519
Refactor action and barcode plugins and cleanup
2022-01-12 14:40:24 +11:00
Oliver
684de69251 Adds custom error handler page for 500 2022-01-12 13:06:50 +11:00
Matthias
ee99052d04
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-01-12 02:13:50 +01:00
Oliver
7ce55f4195 Add try/except blocks for calls to conert_money 2022-01-12 11:57:33 +11:00
Matthias
8690326a8f
PEP fix 2022-01-12 01:04:25 +01:00
Matthias
678b89e093
consolidate helpers 2022-01-12 00:59:09 +01:00
Matthias
3dab1ab736
remove unneeded branches 2022-01-12 00:56:18 +01:00
Matthias
4f74ae3fce
readd import 2022-01-12 00:22:06 +01:00
Matthias
62236474e2
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-12 00:12:32 +01:00
Matthias
164ee5fa5c
fix reference 2022-01-12 00:08:58 +01:00
Oliver
2255619b40
Merge pull request #2534 from SchrodingersGat/plugin-enable
Plugin enable
2022-01-12 09:49:52 +11:00
Oliver
36f342f05e URL fix 2022-01-12 09:21:34 +11:00
Oliver
d92173dc8e Do not service plugin URLs if plugins are not enabled 2022-01-12 09:05:08 +11:00
Oliver
4f79904fc8 Ignore events from 'webhook' tables 2022-01-11 15:02:32 +11:00
Oliver
5f955fab80 Merge remote-tracking branch 'inventree/master' into filters-fix 2022-01-11 14:54:34 +11:00
Oliver
1ddf3c62c4 CSS fixes for table filter tags 2022-01-11 14:31:35 +11:00
Oliver
19de9a056b
Merge pull request #2336 from matmair/webhooks
Webhooks
2022-01-11 14:19:21 +11:00
Oliver
1937a9d737 PEP fixes 2022-01-11 13:49:53 +11:00
Oliver
6541dc43ec Template fixes 2022-01-11 13:46:50 +11:00
Oliver
8aec055e6c Only load plugins if PLUGINS_ENABLED is true
- Hide plugin settings
- Add plugin support status to "stats" dialog
2022-01-11 13:39:47 +11:00
Oliver
ad851a653c Add default value for plugins_enabled to configuration template file 2022-01-11 12:34:34 +11:00
Oliver
a92ea1e5c7 Add PLUGINS_ENABLED variable in settings.py 2022-01-11 12:32:41 +11:00
Matthias
db197a98b6
PEP fix 2022-01-11 01:51:19 +01:00
Matthias
cd9e9a367b
PEP fix 2022-01-11 01:49:42 +01:00
Matthias
a31ff85c89
rename to make clearer 2022-01-11 01:45:20 +01:00
Matthias
7c51d0e399
PEP fix 2022-01-11 01:44:55 +01:00
Matthias
208bcb7707
and remove actions again 2022-01-11 01:41:56 +01:00
Matthias
2a7ad93173
move invenTreePlugin to new class
to enable depreceation
2022-01-11 01:41:33 +01:00
Matthias
52d90cef46
fix path 2022-01-11 01:29:57 +01:00
Matthias
86142856f7
PEP fixes 2022-01-11 01:25:21 +01:00
Matthias
0f7c277e69
docstrings 2022-01-11 01:19:03 +01:00
Matthias
d215af45f1
simplify code 2022-01-11 01:18:51 +01:00
Matthias
fa6a20712f
docstring 2022-01-11 01:13:52 +01:00
Matthias
9b02e3bdb7
reafactor 2022-01-11 01:13:36 +01:00
Matthias
9bb6bb294c
rename 2022-01-11 01:12:50 +01:00
Matthias
67a501f438
rename 2022-01-11 01:12:19 +01:00
Matthias
56772ccd02
docstring fix 2022-01-11 01:10:59 +01:00
Matthias
5424ee38e7
rename to makr internal functions as internal so 2022-01-11 01:10:34 +01:00
Matthias
0b9a6a1123
registry reanme fix 2022-01-11 01:09:04 +01:00
Matthias
9601811827
docstrings 2022-01-11 01:08:51 +01:00
Matthias
f612f57992
make registration simpler 2022-01-11 01:08:35 +01:00
Matthias
3ff4ed67c3
docstrings 2022-01-11 01:08:09 +01:00
Matthias
3ae84617d0
change default values for plugin hadler 2022-01-11 01:01:51 +01:00
Matthias
f53e66d4c3
Rename registry to make it clearer 2022-01-11 01:00:41 +01:00
Matthias
0283214034
add custom errors for plugin 2022-01-11 00:43:18 +01:00
Matthias
a3410a30d5
also load nuiltin actions 2022-01-11 00:35:01 +01:00
Matthias
dd2547e117
readd spaces 2022-01-11 00:32:56 +01:00
Matthias
c3d7a26f5d
readd api call (dont know how that happened) 2022-01-11 00:30:17 +01:00
Matthias
588936f6f4
PEP fix 2022-01-10 23:53:34 +01:00
Matthias
e08c87e49f
Merge branch 'matmair/issue2519' of https://github.com/matmair/InvenTree into matmair/issue2519 2022-01-10 23:52:00 +01:00
Matthias
0fecf3c0bc
fix assingment 2022-01-10 23:50:00 +01:00
Matthias
3b6e31cd35
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2519 2022-01-10 23:48:43 +01:00
Oliver
410e5da371
Translationmerge (#2529)
* 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-10 22:09:04 +11:00
Oliver
fde2b03172 Merge remote-tracking branch 'inventree/master' into triggers
# Conflicts:
#	InvenTree/plugin/mixins/__init__.py
2022-01-10 20:34:42 +11:00
Oliver
204f60405e
Merge pull request #2518 from matmair/api-mixin
[Plugin] API Call mixin
2022-01-10 20:33:17 +11:00
Oliver
4ae86c8c14 Reject triggered events when running special commands 2022-01-10 20:12:43 +11:00
Oliver
c848ca8d44 Handle errors when offloading tasks 2022-01-10 20:04:36 +11:00
Oliver
0a40c253a5 Do not fire events for some tables 2022-01-10 19:56:43 +11:00
Oliver
1243923944 Event refactoring 2022-01-10 17:28:44 +11:00
Oliver
886b1f1d72 Simplify event triggering
- add generic receivers for database actions
- exclude django_q tables, otherwise we get an infinite loop!

Ref: https://stackoverflow.com/questions/17507784/consolidating-multiple-post-save-signals-with-one-receiver/32230933#32230933
2022-01-10 17:24:53 +11:00
Matthias Mair
2bc4d57ffa
remove double code 2022-01-10 02:49:34 +01:00
Matthias
18cb676ce3
another PEP fix 2022-01-10 02:17:50 +01:00
Matthias
7d160039b1
PEP fixes 2022-01-10 02:15:58 +01:00
Matthias
e80a71eb46
load plugins too 2022-01-10 02:10:24 +01:00
Matthias
d03c636067
fix plugin init sequence 2022-01-10 02:10:08 +01:00
Matthias
632632c8ad
fix lookup function 2022-01-10 01:28:44 +01:00
Matthias
20e712a287
update barcodes to use mixin 2022-01-10 01:23:48 +01:00
Matthias
4fc3e85a53
use new loading mechanism for barcodes too 2022-01-10 01:06:05 +01:00
Matthias
13ff94b6b2
remove dead code 2022-01-10 01:05:32 +01:00
Matthias
bb559deb5d
add docstrings 2022-01-10 01:00:45 +01:00
Matthias
6affc7550b
add depreciation TODO 2022-01-10 01:00:12 +01:00
Matthias
bcb0f62e42
remove old loading mechanism 2022-01-10 00:59:24 +01:00
Matthias
8088bf28fe
refactor ActionPlugin to use mixin 2022-01-10 00:40:19 +01:00
Oliver
4ddd6bc351 Adds more triggered events for stock models 2022-01-10 09:16:18 +11:00
Oliver
67aac9c373 Add triggere events for the "company" app 2022-01-10 09:07:30 +11:00
Matthias
6af2267e3d
fix test 2022-01-09 23:05:51 +01:00
Oliver
13d8bf437a PEP fixes 2022-01-10 09:02:11 +11:00
Matthias
bf7af8f72a
cover another missing setting 2022-01-09 23:01:38 +01:00
Oliver
2370e41961 Add multiple triggered events for the "order" app 2022-01-10 09:01:17 +11:00
Matthias
afada6b759
test the url arg building 2022-01-09 22:56:14 +01:00
Oliver
5acd880f39 Fix for triggered events 2022-01-10 08:54:11 +11:00
Oliver
0002edc32c Hide "restart required" message in demo mode 2022-01-10 08:50:50 +11:00
Matthias
2c05b858a4
renmae var 2022-01-09 22:34:02 +01:00
Matthias
c8599039a2
added test for wrong config 2022-01-09 22:33:14 +01:00
Matthias
e889f487f0
added a check for the required constants 2022-01-09 22:27:50 +01:00
Matthias
31d587a9b1
unittests fdor ApiCallMixin 2022-01-09 22:19:01 +01:00
Matthias
c699ced34a
make general mixin tests multi mixin enabled 2022-01-09 22:16:19 +01:00
Oliver
936330d3d2 Add more triggered events 2022-01-09 23:07:12 +11:00
Oliver
e891e0a2b9 typo fix 2022-01-09 23:02:24 +11:00
Oliver
d765be8c73 Iterate through plugins in a separate background task 2022-01-09 22:58:59 +11:00
Oliver
3731d688c9 Refactor behaviour of "event" mixin:
- Trigger a new background task for each plugin
- Call plugin.process_event
- Plugin class can then decide what to do with the particular event
2022-01-09 22:52:28 +11:00
Oliver
6aa83796ea PEP fixes 2022-01-09 22:15:59 +11:00
Oliver
da9fa1313c Increased unit testing 2022-01-09 22:14:48 +11:00
Oliver
3e2e9aaf9e Mark serializer fields as not required 2022-01-09 20:10:00 +11:00
Matthias
ad9a9da656
PEP fix 2022-01-09 03:35:29 +01:00
Matthias
f9742ab41d
add integration test for plugin 2022-01-09 03:34:27 +01:00
Matthias
cc8948c708
fix sample url 2022-01-09 03:34:08 +01:00
Matthias
b48e9bcac9
fix settings call 2022-01-09 03:33:47 +01:00
Matthias
ea8fd21af0
pip fix 2022-01-09 03:10:23 +01:00
Matthias
ed193e9e90
docstring for plugin base import class 2022-01-09 03:04:00 +01:00
Matthias
61b21d1ec1
add sample for api caller 2022-01-09 03:03:05 +01:00
Matthias
19f2c44c2a
change mixin name 2022-01-09 03:02:19 +01:00
Matthias
33ee7e53db
append docstring 2022-01-09 03:01:50 +01:00
Matthias
d939107d36
add example 2022-01-09 03:01:31 +01:00
Oliver
af1bfb2f87 Merge remote-tracking branch 'inventree/master' into triggers 2022-01-09 08:15:47 +11:00
Matthias
3aea1bb7ba
made docstring clearer 2022-01-08 21:59:02 +01:00
Matthias
f59b59401f
refactor setting 2022-01-08 21:58:44 +01:00
Matthias
62394c4a82
small reformat 2022-01-08 21:54:42 +01:00
Matthias
3bc3e98ed1
Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin 2022-01-08 21:50:37 +01:00
Oliver
d8057e88e7 Fix messaging in build complete dialg 2022-01-09 07:50:08 +11:00
Matthias Mair
9e21dde6de
Merge branch 'inventree:master' into webhooks 2022-01-08 21:42:18 +01:00
Oliver
ff7a75266b Fixes for stock location forms 2022-01-08 20:28:57 +11:00
Oliver
af18d16d98 Tweak admin area icon 2022-01-08 20:19:18 +11:00
Oliver
77decc72ed Extra bug fix for part variant form 2022-01-08 20:07:54 +11:00
Oliver
137a668452 Remove duplicated settings display 2022-01-08 13:29:13 +11:00
Oliver
9e2250e9b8 Bug fixes for settings 2022-01-08 13:19:16 +11:00
Oliver
04d25a60b0 Adds sample plugin which responds to triggered events
- Adds some example trigger events for the "Part" model
2022-01-08 09:07:27 +11:00
Oliver
a604d85f0f Move events.py to the plugin app 2022-01-07 22:35:54 +11:00
Oliver
63eb49777a Add mixin class to respond to internal events 2022-01-07 22:29:19 +11:00
Oliver
8ff3bf1ad1 Adds a new setting to enable event responses 2022-01-07 21:53:42 +11:00
Oliver
1e5ecb13f0 Add code for triggering and responding to events 2022-01-07 21:48:17 +11:00
Matthias
220bf0db3a
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-install 2022-01-07 08:57:04 +01:00
Oliver Walters
8efd45f0ad log warning message if db not ready 2022-01-07 18:00:38 +11:00
Oliver Walters
668e2bfcd5 Further error catching 2022-01-07 17:20:57 +11:00
Oliver Walters
103dfaa2a5 try/catch for operational error
- Database might not yet be ready to load models
2022-01-07 17:11:53 +11:00
Oliver Walters
c04e07c1fa Add a task which fails on purpose 2022-01-07 17:04:33 +11:00
Oliver Walters
36feef6558 Remove log message if not relevent 2022-01-07 16:53:51 +11:00
Oliver Walters
3eb1fa32f9 Scheduled tasks get registered for the background worker 2022-01-07 16:51:00 +11:00
Oliver Walters
ff598a22ff bug fix : correct setting name when changing a 'requires restart' setting 2022-01-07 16:20:16 +11:00
Oliver Walters
0ab9b2dbc7 Bug fix - always allow plugins to register settings 2022-01-07 15:42:20 +11:00
Oliver Walters
794a9e75e8 Add validation for scheduled tasks defined by a plugin 2022-01-07 15:37:43 +11:00
Oliver Walters
326b897d14 Revert "Move mixins.py into main plugin directory"
This reverts commit 8103b84268.
2022-01-07 14:54:12 +11:00
Oliver Walters
0773545615 Add "ScheduleMixin" for scheduling tasks 2022-01-07 14:54:04 +11:00
Oliver Walters
8103b84268 Move mixins.py into main plugin directory 2022-01-07 14:23:32 +11:00
Oliver
7967c0c0bd
Merge pull request #2492 from SchrodingersGat/plugin-settings-refactor
Plugin settings refactor
2022-01-07 14:12:22 +11:00
Oliver Walters
aaf35e6c76 Customize text if totalRows not known 2022-01-07 13:14:47 +11:00
Oliver Walters
2bb1c4ea77 Remove old forms / outdated code 2022-01-07 11:34:33 +11:00
Oliver Walters
12b3a5c9cc Validate and save the new serailizer 2022-01-07 11:33:27 +11:00
Matthias
0974ebb5cd
shield plugin package load 2022-01-07 01:10:44 +01:00
Matthias
edc648d619
write installd plugins to plugins.txt 2022-01-07 01:09:44 +01:00
Matthias
ceed90217b
restructuring 2022-01-07 01:03:05 +01:00
Oliver Walters
960784644f Adds skeleton for new API endpoint for completing a build order 2022-01-07 10:50:29 +11:00
Matthias Mair
978018e284
Merge branch 'inventree:master' into matmair/issue2279 2022-01-07 00:08:17 +01:00
Matthias Mair
67e4fd9d34
Merge branch 'inventree:master' into webhooks 2022-01-07 00:08:11 +01:00
Oliver
8597ae89b6
Merge pull request #2504 from SchrodingersGat/plugin-docker-support
Plugin Installation Support
2022-01-06 14:48:00 +11:00
Oliver
d8d22e5f38 Refactor code (so that it actually runs)...
- Invoke does not have access to the local virtual environment
- Some functions need to be split out from settings.py
2022-01-06 14:20:26 +11:00
Oliver
836b6275b6 Removes custom plugins directory
- rely on plugins.txt instead
2022-01-06 13:31:04 +11:00
Lennart Deters
6edfe08bde Dont localize item.quantity in JS Code 2022-01-06 03:05:29 +01:00
Oliver
75d5f9d6e6 Allow specification of an external plugin directory
- Specify directory using INVENTREE_PLUGIN_DIR
- Specify installation file using INVENTREE_PLUGIN_FILE
2022-01-06 12:39:01 +11:00
Oliver
5c2121b1a1 Add invoke target to install plugins from file 2022-01-06 12:25:07 +11:00
Oliver
e0e6dbac94 Add PLUGIN_FILE to settings.py 2022-01-06 12:15:33 +11:00
Oliver
ff80fe4dbf
Translation merge (#2499)
* 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-05 15:14:03 +11:00
Oliver
963ac35a5b Tweaks for settings pages 2022-01-04 21:57:09 +11:00
Oliver
ac849c1566 Fixes for unit tests 2022-01-04 21:36:27 +11:00
Oliver
928b90a833 Edit plugin settings via the "settings" display 2022-01-04 21:03:01 +11:00
Oliver
dc9e25ebad Adds API endpoints for viewing and updating plugin settings
A lot of code updates / refactoring here to get this to work as expected
2022-01-04 20:27:35 +11:00
Oliver
f3bfe6e7ca More refactoring:
- Rename "mixins_globalsettings" to "mixing_settings"
- Fix translation on settings page template
2022-01-02 11:22:05 +11:00
Oliver
737467a1fd Rename "has_globalsettings" -> "has_settings" 2022-01-01 23:14:34 +11:00
Oliver
7cb029e7c3 Refactor: Rename "GLOBAL_SETTINGS" to "SETTINGS" 2022-01-01 22:43:35 +11:00
Oliver
7f08c75a08 Add missing migration file 2022-01-01 22:00:58 +11:00
Oliver
547db3322f Adds new "PluginSetting" class
- Adds settings which are unique to a particular plugin
2022-01-01 22:00:43 +11:00
Oliver
182849e160 Fix for settings template 2021-12-31 15:24:56 +11:00
Oliver
553b998c9c CSS fixes 2021-12-31 15:23:44 +11:00
Oliver
9b468ba92e Second fix for the first fix 2021-12-31 15:20:32 +11:00
Oliver
78120bb020 Fixes for unit tests 2021-12-31 14:54:19 +11:00
Oliver
4b4d4be13e Registry name fixes 2021-12-31 14:28:16 +11:00
Oliver
02e0ea6e3a Rename "GlobalSettingsPlugin" -> "SettingsPlugin" 2021-12-31 14:25:22 +11:00
Oliver
e02a2cef1b Fixes unit test 2021-12-31 14:18:27 +11:00
Oliver
572f4a21b3 capitalization 2021-12-30 23:13:33 +11:00
Oliver
76fe774b6e Visual tweaks 2021-12-30 23:11:12 +11:00
Oliver
f97ffaf9c3 Visual tweak to settings page 2021-12-30 23:08:33 +11:00
Oliver
be3bb05edd Improve docstrings 2021-12-30 23:06:28 +11:00
Oliver
04820c894b getattr should look for "SETTINGS" and not "GLOBALSETTINGS" 2021-12-30 23:04:08 +11:00
Oliver
67d9d9413f Plugin code bug fix
- handle case where self.plugin is None
2021-12-30 22:58:11 +11:00
Matthias Mair
5c4c9bfaed
Merge branch 'inventree:master' into matmair/issue2279 2021-12-29 23:54:54 +01:00
Matthias Mair
b6b6e10f4d
Merge branch 'inventree:master' into webhooks 2021-12-29 23:54:48 +01:00
Matthias Mair
d763959269
Merge branch 'inventree:master' into api-mixin 2021-12-29 23:54:33 +01:00
Matthias
95ee4f908f
Merge branch 'master' of https://github.com/inventree/InvenTree into sn-append 2021-12-29 23:45:19 +01:00
Matthias
f2c1fe1f95
damm vscode intellisense adding stuff I do not need 2021-12-29 16:16:20 +01:00
Matthias
ed09d5015a
better group handeling 2021-12-29 16:13:44 +01:00
Matthias
410c190ddf
more docs 2021-12-29 15:53:23 +01:00
Matthias
972f93f6d8
always return a number 2021-12-29 15:53:04 +01:00
Matthias
624b16a419
fix pep style 2021-12-29 15:51:44 +01:00
Matthias
1eb9b395bc
more complicated tests 2021-12-29 15:43:34 +01:00
Matthias
b1188be019
fix test assertations 2021-12-29 15:34:03 +01:00
Matthias
a745aa500e
replace must be str 2021-12-29 03:02:43 +01:00
Matthias
2ec41b02f8
append information about next serial numbe to fnc call
Fixes #2484
2021-12-29 03:01:52 +01:00
Matthias
1d0aa900e8
add helper fnc to get latest SN as int 2021-12-29 02:50:23 +01:00
Matthias
771f3d6b7b
add fnc for new matcher 2021-12-29 02:38:32 +01:00
Matthias
7ef0e7941e
expand tests
TDD for the win?
2021-12-29 02:24:57 +01:00
Matthias
750e3297cc
expand docstring 2021-12-29 02:24:13 +01:00
Matthias
c9f0528dfc
append api call 2021-12-29 02:24:00 +01:00
Matthias
f8ce23217e
simplify call 2021-12-29 02:22:10 +01:00
Oliver
3921af821c Fix filtering for part purchase order table 2021-12-22 10:58:46 +11:00
Oliver
774d834b7e
Merge pull request #2477 from SchrodingersGat/duplicate-bom-form
Duplicate bom form
2021-12-21 23:06:44 +11:00
Oliver
2c0da25cbc "Validate BOM" now uses the API also 2021-12-21 22:45:59 +11:00
Oliver
70f9a0fe13 Furher logic improvements to BOM copy
- Remove "self" part from list
- Stop inherited BOM items from being copied incorrectly
- Allow user to select whether "inherited" BOM items are copied
2021-12-21 22:07:08 +11:00
Oliver
0c8a047bc2 Adds simply endpoint for BOM duplication 2021-12-21 17:29:14 +11:00
Oliver
f0c41b3b70
Merge pull request #2475 from SchrodingersGat/table-filternig
Table filtering
2021-12-21 17:17:18 +11:00
Oliver
1c08c1e602
Translation merge (#2474)
* 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
2021-12-21 16:57:17 +11:00
Oliver
0060bb074e Updates for various part views 2021-12-21 16:56:47 +11:00
Oliver
103f98b665 Adds "reload" button to attachment table(s) 2021-12-21 16:51:26 +11:00
Oliver
dbc385ac24 Fix for "supplier-parts" view 2021-12-21 16:48:34 +11:00
Oliver
9884c0fadb Adds filters for "manufacturer-parts" list 2021-12-21 16:47:20 +11:00
Oliver
46aeafb5da Adds filter for "assigned stock" view on customer page 2021-12-21 16:44:49 +11:00
Oliver
0a21512329 Adds refresh and filtering for "company" table 2021-12-21 16:41:34 +11:00
Oliver
52ca2e5068 Add another check for merging stock 2021-12-21 09:29:12 +11:00
Oliver
dd53748f9f Cleanup models 2021-12-21 08:49:53 +11:00
Oliver
785c5edf96 Reduce verbosity of translation coverage stats script 2021-12-21 08:13:38 +11:00
Oliver
fcb2bb2a46 Fix behaviour on deleting parent stock item 2021-12-21 01:03:37 +11:00
Oliver
552ca8e5c4 Adds javascript function to merge multiple stock items together 2021-12-20 22:09:08 +11:00
Oliver
31dbb9563b Add some unit tests for the new endpoint 2021-12-20 21:25:27 +11:00
Oliver
943b27e195 Adds "items" list to API endpoint 2021-12-20 19:29:08 +11:00
Oliver
5ca50022b9 Incremenent API version 2021-12-20 18:47:51 +11:00
Oliver
fdf79065a9 Adds framework for API endpoint and serializer to merge stock items 2021-12-20 18:03:08 +11:00
Oliver
189f836e47
Merge pull request #2466 from SchrodingersGat/depleted-badge
Float "depleted" badge to the right
2021-12-20 14:25:03 +11:00
Oliver
c060bc0815 Float "depleted" badge to the right 2021-12-20 13:30:54 +11:00
Oliver
ec4f898562 Cleanup search results page 2021-12-20 13:10:48 +11:00
Oliver
81a3547120 Hide "receive parts" button for orders which have been cancelled 2021-12-20 11:17:29 +11:00
Oliver
30f509ad32 Clip overflow 2021-12-16 08:27:55 +11:00
Matthias
0ee36b360d
Merge branch 'master' of https://github.com/inventree/InvenTree into api-mixin 2021-12-15 00:22:34 +01:00
Matthias Mair
3ed8fc6ad4
Merge branch 'inventree:master' into webhooks 2021-12-15 00:21:03 +01:00
Matthias Mair
acbee38600
Merge branch 'inventree:master' into matmair/issue2279 2021-12-15 00:20:48 +01:00
Oliver
597d26d3d4
Merge pull request #2452 from SchrodingersGat/bom-export-form-fixes
BOM export form fixes
2021-12-14 23:15:51 +11:00
sintech
58364bb3b5 JS style fix 2021-12-14 11:30:09 +03:00
Matthias
251fdeb69e
PEP fixes 2021-12-13 18:01:20 +01:00
sintech
b6d9bc3093 Remove treeview state saving. 2021-12-13 15:51:34 +03:00
Oliver
36026a9217 PEP fixes 2021-12-13 23:15:06 +11:00
Oliver
922b8b1c30 Fix typo
(cherry picked from commit 673a5779f9)
2021-12-13 23:12:18 +11:00
Oliver
01ce752a8c BOM export options are now han
(cherry picked from commit c797eb0703)
2021-12-13 23:12:11 +11:00
Oliver
88fc0393b7 Logic fix for boolean fields in JS forms
(cherry picked from commit 10dec7743e)
2021-12-13 23:11:56 +11:00
Oliver
d75ce451be Allow user to select file format when downloadin BOM import template
(cherry picked from commit 8030ca0bb9)
2021-12-13 23:11:42 +11:00
Matthias
8e962c0c59
add mixin to consum a single API 2021-12-13 08:03:19 +01:00
sintech
40f73b00ce Propagate expanded state all the way to the root 2021-12-12 19:59:18 +03:00
sintech
e9650a94f3 Do not show icons for childless categories 2021-12-12 19:57:30 +03:00
Oliver
a2357b5b46 Fix decimal places for money field 2021-12-12 22:18:29 +11:00
Matthias
41302398e9
managment and invoke commands to remove mfa 2021-12-11 23:07:37 +01:00
Matthias
67b3c339b9
add back button to setup screen 2021-12-11 22:10:05 +01:00
Matthias Mair
271ad1dc87
Merge branch 'inventree:master' into matmair/issue2279 2021-12-11 00:09:32 +01:00
Matthias Mair
f6d43946b3
Merge branch 'inventree:master' into webhooks 2021-12-11 00:08:56 +01:00
Matthias Mair
89758f28b2
Merge branch 'inventree:master' into matmair/issue2201 2021-12-11 00:08:29 +01:00
Oliver
dfd7a439a6
Merge pull request #2445 from SchrodingersGat/issue2250
Issue2250
2021-12-11 09:15:37 +11:00
Oliver
c35971c524
Merge pull request #2448 from SchrodingersGat/build-allocation-fixes
Correctly allow "inherited" BOM items to be allocated to a build order
2021-12-11 08:10:26 +11:00
Oliver
438bbb5c03
Translation merge (#2447)
* 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
2021-12-11 01:11:27 +11:00
Oliver
1dafa040f9 Move 'quantity' field 2021-12-11 01:08:18 +11:00
Oliver
d573668f81 Correctly allow "inherited" BOM items to be allocated to a build order
- Some back-end logic was not running correctly
2021-12-11 01:05:19 +11:00
Oliver
e1a5192604 Calculate how many items to assign to sales order
- Do not over-allocate by default
2021-12-11 00:45:53 +11:00
Oliver
b908aa2467 fix js linting issues 2021-12-11 00:33:16 +11:00
Oliver
9e16989c91 Add same breadcrumb tree for StockLocation and StockItem 2021-12-11 00:25:59 +11:00
Oliver
e9ae3eb01d Revert to bootstrap-treeview
- More "bootstrappy" design
- Already in code base
- Cleaner API
2021-12-11 00:25:44 +11:00
Oliver
3bc3ff493a CSS tweaks 2021-12-10 22:53:24 +11:00
Oliver
7dcd166d50 Change "sidetree" to "breadcrumb-tree" 2021-12-10 22:53:19 +11:00
Oliver
8c018cf987 Add href to nav toggle (so mouse cursor changes) 2021-12-10 22:31:50 +11:00
Oliver
ffe970d139 Move "sidetree" to underneath breadcrumbs 2021-12-10 22:31:11 +11:00
Matthias
e6ad22ec15
fix plugin urlpattern patching 2021-12-10 01:34:47 +01:00
Matthias
c6b88c2f24
Merge branch 'matmair/issue2279' of https://github.com/matmair/InvenTree into matmair/issue2279 2021-12-10 00:22:49 +01:00
Matthias
023cd53b1a
fix test that failing deliveries do not block 2021-12-10 00:22:25 +01:00
Matthias Mair
25e0324eb1
Merge branch 'inventree:master' into matmair/issue2279 2021-12-09 23:56:27 +01:00
Matthias Mair
ac0a5d4efc
Merge branch 'inventree:master' into webhooks 2021-12-09 23:56:18 +01:00
Matthias Mair
75aeab48b8
Merge branch 'inventree:master' into matmair/issue2250 2021-12-09 23:56:08 +01:00
Matthias
869324249e
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2201 2021-12-09 23:54:55 +01:00
Matthias
18244f0adf
docstring 2021-12-09 23:54:23 +01:00
Matthias
ceb06c6e62
require MFA for admin if set 2021-12-09 23:54:02 +01:00
Oliver
2b27fab771
Merge pull request #2436 from SchrodingersGat/assign-to-customer
Assign to customer
2021-12-09 10:41:57 +11:00
Oliver
fefe39b88d Fixes for unit tests 2021-12-09 10:04:33 +11:00
Oliver
c1163b9f6b Adds missing semicolon 2021-12-09 09:07:36 +11:00
Matthias
ba921b45ff
remove state from api interface 2021-12-08 22:44:01 +01:00
Matthias
3a3f8ba4ef
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2201 2021-12-08 18:31:33 +01:00
Matthias Mair
b8404c44b4
Merge branch 'inventree:master' into webhooks 2021-12-08 18:28:11 +01:00
Matthias Mair
cdcac90319
Merge branch 'inventree:master' into matmair/issue2279 2021-12-08 18:27:57 +01:00
Matthias
cfa576d03d
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-08 18:26:49 +01:00
Oliver
4a453b0a35 Assign multiple stock items to a customer at one 2021-12-09 00:33:45 +11:00
Oliver
96a885e4e1 client side form for assigning stock items to customers 2021-12-09 00:20:45 +11:00
Oliver
c36687af22 Add unit test for new API serializer 2021-12-08 23:45:47 +11:00
Oliver
e0d52843a4 Basic stock assignment serializer implementation 2021-12-08 23:42:27 +11:00
Oliver
88840e6adb
Merge pull request #2435 from SchrodingersGat/old-session-fix
Remove old task to delete expired sessions
2021-12-08 22:49:51 +11:00
Oliver
b19a7cc4fb Run at app startup, not as a migration 2021-12-08 22:26:59 +11:00
Matthias
1cc1fca5fe
set background color 2021-12-08 02:06:55 +01:00
Matthias
2725a2eb87
disable icons 2021-12-08 02:01:26 +01:00
Matthias
79a60ff895
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-08 01:11:35 +01:00
Matthias
12afb19dfa
move toggle 2021-12-08 01:11:21 +01:00
Matthias
45181904af
fix icon 2021-12-08 00:26:56 +01:00
Matthias
5ed163dd71
add new toggler 2021-12-08 00:22:00 +01:00
Matthias
821f9389d5
remove old links 2021-12-08 00:19:17 +01:00
Matthias
ff5095a270
remove children -> used for reloading 2021-12-08 00:07:05 +01:00
Matthias
596532f312
only one api call 2021-12-08 00:05:34 +01:00
Oliver
c8c35e2f04 Remove old task to delete expired sessions
- Does not apply any more with new session management
2021-12-08 09:55:41 +11:00
Matthias
948270bbcb
add stuff to mark starting endpoint 2021-12-07 23:54:45 +01:00
Weng Tad
c143826e9b fix: stock tracking table aligment
Fixes #2428
2021-12-07 13:59:51 +08:00
Oliver
f2b966fac5
Merge pull request #2433 from SchrodingersGat/string-fix
Translateable string fixes
2021-12-07 11:29:44 +11:00
Matthias
2cf4e20d9a
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-07 01:16:32 +01:00
Matthias
fbc4cfe166
remove always show 2021-12-07 00:52:14 +01:00
Matthias
46279c8172
fix design refs 2021-12-07 00:51:44 +01:00
Oliver
1a85e4f21d Translateable string fixeas 2021-12-07 10:51:40 +11:00
Matthias
2fa67707bd
Add text 2021-12-07 00:51:27 +01:00
Matthias
99a62b2934
move border on right side to items 2021-12-07 00:41:37 +01:00
Oliver
463192e0b9 Improved table filtering for "purchase order" table (as seen from "part" view) 2021-12-07 10:33:09 +11:00
Matthias
61bdf8937c
style fix 2021-12-07 00:30:50 +01:00
Matthias
388b42a407
use sidebar-wrapper for styleing 2021-12-07 00:26:36 +01:00
Matthias
f375ba96ae
add sidetree toggler function 2021-12-07 00:21:33 +01:00
Matthias
b5ae9edc2e
style fixes 2021-12-06 23:48:21 +01:00
Oliver
1ad91811a5
Merge pull request #2426 from nwns/feature/qcluster_redis
Q_CLUSTER is using the database for its broker
2021-12-07 09:24:29 +11:00
Matthias
c703f9993f
make url simpler 2021-12-06 22:37:42 +01:00
Matthias
8e425e67a1
reduce 2021-12-06 22:37:17 +01:00
Matthias
70939a0cf9
first working example 2021-12-06 22:35:14 +01:00
Matthias
de4d057b93
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2250 2021-12-06 01:37:48 +01:00
Matthias
9ebbf8190c
add tree to replication 2021-12-06 01:35:14 +01:00
Matthias
416bcb822b
remove unneeded sidebar block 2021-12-06 01:34:16 +01:00
Matthias
49f9cc7edc
modifiy sidebar code 2021-12-06 01:33:41 +01:00
Oliver
b7f3a044d9
Merge pull request #2427 from nwns/fix/overlapping_currency
Swallow Serialization failure while updating exchange rates
2021-12-06 09:49:54 +11:00
Oliver
44d35d06f4 Merge remote-tracking branch 'inventree/master' into maintenance-mode-state-file
# Conflicts:
#	InvenTree/InvenTree/settings.py
2021-12-06 09:16:44 +11:00
Oliver
da020f6fd6 Remove extra options 2021-12-06 09:05:13 +11:00
Nigel
a9f584cb65
fix: swallow Serialization failure
We can swallow the serialization exception because there is a scheduled
task that will update these later anyway.

Fixes #2241
2021-12-05 09:24:57 -07:00
Nigel
561fd6afc1
fix: Q_CLUSTER is using the database for its broker
Q_CLUSTER is using the database as its broker, and adding cache
configuration for it and not using it is pointless.  But rather than
change Q_CLUSTER's configuration to use redis as the broker, lets just
leave it using the database as the database broker has its advantages.
2021-12-05 09:04:54 -07:00
Oliver
93a240d9c3 Remove the "scheduled_for_deletion" field from the StockItem model
Reverts back to the original behaviour - stock items are just deleted
2021-12-05 18:14:14 +11:00
Oliver
a821717103 Add a data migration which deletes any stock items which have been scheduled for deletion.
Also deletes any instance of the "delete_old_stock_items" worker task
2021-12-05 17:56:39 +11:00
Oliver
ae8166984f Adjustments for maintenance-mode options:
- Brings the state into the same directory as the runtime config file
2021-12-05 17:28:46 +11:00
Matthias
529987bb17
remove unneeded Todo 2021-12-04 19:52:56 +01:00
Matthias
ed5bb3d264
turn around template loader order 2021-12-04 19:49:43 +01:00
Matthias
5567ee432a
more coverage 2021-12-04 18:50:49 +01:00
Matthias
d156e4c431
make simpler 2021-12-04 18:44:31 +01:00
Matthias
2413119cc1
seperate wrong implementations into own cases 2021-12-04 18:42:08 +01:00
Matthias
bb2ad7c2cb
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-12-04 18:04:47 +01:00
Matthias Mair
1060f60117
Merge branch 'inventree:master' into webhooks 2021-12-04 17:53:21 +01:00
Matthias Mair
2a0e07abe0
Merge branch 'inventree:master' into matmair/issue2201 2021-12-04 17:53:13 +01:00
Matthias Mair
0d9f76a019
Merge branch 'inventree:master' into matmair/issue2279 2021-12-04 17:52:58 +01:00
Matthias
2ef8c25c05
directer import 2021-12-04 17:46:04 +01:00
Matthias
8724471fc0
rename 2021-12-04 17:45:52 +01:00
Matthias
ce726f89a1
refactor wrong implementations into own testcase 2021-12-04 17:45:40 +01:00
Matthias
13b390d69b
test that single errors do not kill the whole 2021-12-04 17:44:10 +01:00
Matthias
cfd509adb4
PEP fix 2021-12-04 17:43:11 +01:00
Matthias
58f0838d3d
improve coverage 2021-12-04 17:24:41 +01:00
Matthias
0b6cceb998
this should not happen 2021-12-04 17:23:35 +01:00
Matthias
cccbc567fe
delivery must be true 2021-12-04 17:23:04 +01:00
Oliver
120870712a
Merge pull request #2420 from SchrodingersGat/assigned-to-me
Assigned to me
2021-12-04 23:08:08 +11:00
Oliver
66462d0a68 Fix for APIFilter 2021-12-04 22:07:55 +11:00
Oliver
20dac08158 PEP fixes 2021-12-04 21:31:39 +11:00
Oliver
9e1251d78d Adds "assigned_to_me" filtering to build orders 2021-12-04 21:30:11 +11:00
Oliver
087ac0bd34 Adds filter to purchase order for "assigned to me" 2021-12-04 21:15:38 +11:00
Oliver
cdf63c43aa Add autocomplete fields to admin views for "build" app 2021-12-04 20:17:36 +11:00
Oliver
71aa6a910d Adds autocomplete fields to admin pages for "company" app 2021-12-04 20:14:12 +11:00
Oliver
1667af4c07 Add autocomplete fields to "order" admin pages 2021-12-04 20:09:39 +11:00
Oliver
e83b5f9db0 Add autocomplete admin fields for "part" app 2021-12-04 20:01:56 +11:00
Oliver
cde85a5168 Add autocomplete fields to admin views for "stock" app:
- StockItem
- StockLocation
- StockItemTestResult
- StockItemAttachment
- StockItemTracking
2021-12-04 19:25:57 +11:00
Oliver
ab80980b5a
Translation merge (#2418)
* 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

* updated translation base

* 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

* updated translation base

* 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

* updated translation base

* 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

* updated translation base

* 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

* updated translation base

* 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

* updated translation base

* 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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-04 19:11:17 +11:00
Oliver
9ec5e39c50 js tweaks 2021-12-04 17:50:25 +11:00
Oliver
9e35c52b1d unit testing fixes 2021-12-04 17:30:13 +11:00
Matthias
7016c253a8
fix test to trigger 2021-12-04 04:38:45 +01:00
Matthias
55ca284a13
Revert "this wont happen"
This reverts commit 3047bd6612.
2021-12-04 04:22:07 +01:00
Matthias
3047bd6612
this wont happen 2021-12-04 04:11:42 +01:00
Matthias
e25759c1ac
check message counters too 2021-12-04 04:08:11 +01:00
Matthias
d8ca87057b
cover another line 2021-12-04 04:07:47 +01:00
Matthias
75c7722612
PEP fixes 2021-12-04 03:57:45 +01:00
Matthias
f88882da8e
without targets it wont work 2021-12-04 03:56:16 +01:00
Matthias
6c6683657e
remove debug prints 2021-12-04 03:51:40 +01:00
Matthias
453589dbcb
docs 2021-12-04 03:50:37 +01:00
Oliver
31398b4c10 Sales order can now be completed via the API 2021-12-04 13:50:11 +11:00
Matthias
373c061389
rename to be clearer what the funtions and vars are fore 2021-12-04 03:49:44 +01:00
Matthias
01ad534664
use the same names as in messages model 2021-12-04 03:46:57 +01:00
Matthias
733fc4b718
forgot that before 2021-12-04 03:46:35 +01:00
Matthias
2ea32d200a
rename 2021-12-04 03:45:45 +01:00
Matthias
c10841fe0e
and again 2021-12-04 03:44:59 +01:00
Matthias
3a8909f0d4
and a bit more renaming 2021-12-04 03:44:07 +01:00
Matthias
fc1fa775c3
rename 2021-12-04 03:43:14 +01:00
Matthias
057c880377
fix test calls 2021-12-04 03:41:05 +01:00
Matthias
1cfc03d698
add a general context checker 2021-12-04 03:40:53 +01:00
Matthias
3239e60702
add comments to show execution flow 2021-12-04 03:37:13 +01:00
Oliver
008c52ef39 Allocation by serial number now moved to the API 2021-12-04 13:08:00 +11:00
Matthias
1ef7163b94
remove one uncovered line :-) 2021-12-04 02:39:41 +01:00
Matthias
1ba7110cda
change templates to new way 2021-12-04 02:19:12 +01:00
Matthias
febc51466a
use a more gnerall counting method 2021-12-04 02:13:53 +01:00
Matthias
dceea757e1
create a notification message! 2021-12-04 02:12:51 +01:00
Matthias
c803fdaab1
PEP fix 2021-12-04 01:39:58 +01:00
Matthias
1f7a75ca92
docs are never bad 2021-12-04 01:10:56 +01:00
Matthias
4e07b4bf72
fix tests + method name test 2021-12-04 01:10:46 +01:00
Matthias
e18f7d49cc
make mehtod name mandatory 2021-12-04 01:07:07 +01:00