Commit Graph

12289 Commits

Author SHA1 Message Date
Matthias
47f9bd911a
add tests for notifications 2022-04-05 23:41:37 +02:00
Matthias Mair
41b75e4928
Merge branch 'inventree:master' into matmair/issue2385 2022-04-05 02:05:05 +02:00
Matthias
347be2aa3a
fix test 2022-04-05 01:58:28 +02:00
Matthias
5f4c8b3a3e
add icon support for user settings 2022-04-05 01:53:41 +02:00
Matthias
5b9f84a90f
fix test 2022-04-05 01:30:12 +02:00
Matthias
785cdc5267
patch loading methods for selective loading 2022-04-05 01:29:19 +02:00
Matthias
42f630cff1
fix tests
due to changes in the loading mechansim they need to be fethced now
2022-04-05 01:10:52 +02:00
Matthias
ad9d067033
typo fix 2022-04-05 01:08:35 +02:00
Matthias
41ccacaa05
disable email by default 2022-04-05 00:56:13 +02:00
Matthias
32918348b9
fix docstrings 2022-04-05 00:55:53 +02:00
Matthias
7063db7a32
add missing model ruleset 2022-04-05 00:43:29 +02:00
Matthias
01fcc728ad
PEP fixes 2022-04-05 00:34:30 +02:00
Matthias
dc7b88515e
rename class to make it clearer 2022-04-05 00:27:13 +02:00
Matthias
2728bfab37
fix: add genericSettingClassMixin back in 2022-04-05 00:25:39 +02:00
Matthias
d634afad48
move to common/models 2022-04-05 00:24:55 +02:00
Matthias
352ab34eda
remove struc docstring 2022-04-05 00:23:30 +02:00
Matthias
586812e5c6
add doc for generic mixin 2022-04-05 00:23:09 +02:00
Oliver
0ff754c7d9
Merge pull request #2804 from SchrodingersGat/quantity-fixes
Quantity fixes
2022-04-05 08:20:18 +10:00
Matthias
23f57bec19
some docs for future users :-) 2022-04-05 00:15:22 +02:00
Matthias
205916e0b2
refactor clean method to reduce duplication 2022-04-05 00:14:39 +02:00
Matthias
8d01df0b5e
refactor settings to reduce duplication 2022-04-05 00:08:07 +02:00
Matthias
138aebdb08
and another one 2022-04-04 23:52:00 +02:00
Matthias
e3ca478042
PEP fix 2022-04-04 23:51:51 +02:00
Matthias
1eb511e8a0
user notification settings 2022-04-04 23:46:19 +02:00
Oliver Walters
c93f9c94f3 Change column title 2022-04-05 00:33:54 +10:00
Oliver Walters
0908aa8c8c Allow sorting of part table by unallocated_stock 2022-04-05 00:31:44 +10:00
Oliver Walters
58003bc2cb Refactor model renderer functions 2022-04-05 00:27:37 +10:00
Oliver Walters
15253435af Adjustments for partStockLabel function 2022-04-05 00:02:11 +10:00
Oliver
d1a8b7ed48
Merge pull request #2801 from rkalman/feat-use-unallocated-quantites
Use new unallocated_stock quantity in the part table and in the search results
2022-04-03 23:23:02 +10:00
Kálmán Rózsahegyi
ade5a81a1a Enhance partStockLabel with ordering/building quantites 2022-04-03 12:36:46 +02:00
Kálmán Rózsahegyi
bc4b66e7d3 Render partStockLabel based on available/in stock quantites 2022-04-03 12:36:37 +02:00
Kálmán Rózsahegyi
d912846e41 Use available quantities in part table, enhance stock badge 2022-04-03 12:35:59 +02:00
Kálmán Rózsahegyi
a9f7457c12 New part table filter on available stock 2022-04-03 12:30:53 +02:00
Matthias
2fee6b02db
structure comment 2022-04-03 03:48:27 +02:00
Matthias
905b164ecb
store methods on load 2022-04-03 03:47:48 +02:00
Oliver
d1d7db76cc
Merge pull request #2797 from SchrodingersGat/available_stock
Available stock
2022-04-02 13:52:34 +11:00
Oliver Walters
271cb3f8b1 Rebuild tree structure before running unit tests! 2022-04-02 13:26:39 +11:00
Matthias
926f56bb41
move plugins checks to method 2022-04-02 04:11:29 +02:00
Matthias
6a300ea24a
fix global settings check 2022-04-02 03:32:27 +02:00
Matthias
6124b1207d
make setting global 2022-04-02 03:16:14 +02:00
Matthias
c7329da7e0
move settings 2022-04-02 03:03:41 +02:00
Oliver Walters
fb0b87db3d Further unit test fixes 2022-04-02 12:00:08 +11:00
Matthias
e95cc7c699
only calculate excluded classes once 2022-04-02 02:57:40 +02:00
Matthias
40ff2f61aa
make comperator simpler to read 2022-04-02 02:52:35 +02:00
Matthias
f6aa9e4719
remove dead code 2022-04-02 02:46:55 +02:00
Matthias
279be87448
Move email notification method into plugin
Fixes #2385
2022-04-02 02:46:41 +02:00
Oliver Walters
0ab2ff306c Fix incorrect value for "available stock" 2022-04-02 11:13:43 +11:00
Oliver Walters
4593b0f412 Unit test fixes 2022-04-02 11:12:54 +11:00
Oliver Walters
484a0693d7 Check that the sales_order_allocations information is provided in the API endpoint 2022-04-02 10:25:38 +11:00
Oliver Walters
57be4b337d Check that new annotated fields exist in the API dataset 2022-04-02 09:55:37 +11:00