Commit Graph

11690 Commits

Author SHA1 Message Date
Oliver
77eb978c25
Merge pull request #2944 from SchrodingersGat/settings-by-key
Settings by key
2022-05-09 19:38:46 +10:00
Oliver Walters
b3c1d6b603 Fix plugin registry function so tests pass 2022-05-09 07:59:01 +10:00
Oliver Walters
3db09156ed Check for empty column name in data importer
Ref: https://github.com/inventree/InvenTree/issues/2940
2022-05-09 07:53:10 +10:00
Matthias
061314e989
Merge branch 'master' of https://github.com/inventree/InvenTree into theme-tests 2022-05-08 22:55:56 +02:00
Oliver Walters
aed02f6f0f PEP fixes 2022-05-08 22:53:49 +10:00
Oliver Walters
e78a5dc104 Keep existing behaviour for notification settings (at least for now) 2022-05-08 22:52:08 +10:00
Oliver Walters
3a9bacb27c Implement new approach for plugin settings
- URL specifies plugin slug and setting key
2022-05-08 22:48:47 +10:00
Oliver Walters
f733e23b65 Update serializer for plugin settings API
- Use string key rather than pk for plugin
- Allow filtering by 'enabled' status of the plugin
- Allow filtering by the plugin key
2022-05-08 17:46:19 +10:00
Oliver Walters
5cd2c20a11 PEP style fixes 2022-05-08 17:32:23 +10:00
Oliver Walters
6415a20e6e Update api_version.py 2022-05-08 13:33:28 +10:00
Oliver Walters
9e872d283b Update unit tests to match new format
- Add more unit tests for global settings
- Add more unit tests for user settings
2022-05-08 13:31:53 +10:00
Oliver Walters
5560706c33 User settings are now accessed via unique KEY 2022-05-08 10:58:31 +10:00
Oliver Walters
dd017f36c7 Augment existing frontend code to allow adjustment of notification settings 2022-05-08 10:50:57 +10:00
Oliver Walters
cd6a6b9196 Access global settings via the API using the <key> of the setting, rather than the <PK>
- Allows us to access settings even if they have not been 'created' yet
- Settings are created with default values if not found
2022-05-08 10:39:14 +10:00
Oliver
64e2234159
Merge pull request #2937 from SchrodingersGat/panel-plugin
[Feature] UI Plugins
2022-05-08 09:01:43 +10:00
Oliver Walters
ada1eeeb35 Remove 'no cover' 2022-05-08 07:53:21 +10:00
Matthias
df6d1a85da
fix assertation 2022-05-07 23:35:38 +02:00
Matthias
13854998ea
Add test for ColorTheme 2022-05-07 23:12:15 +02:00
Oliver Walters
50d8f242bb Fix for unit test 2022-05-07 23:50:41 +10:00
Oliver
52bae1feef
Translation updates (#2924)
* 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

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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>
2022-05-07 23:25:54 +10:00
Oliver Walters
b2689b943e Specific call to super() was actually needed 2022-05-07 23:22:54 +10:00
Oliver Walters
e57a3870c6 Fix build index template 2022-05-07 22:47:48 +10:00
Oliver Walters
06e79ee91b Move view mixin to plugin.views 2022-05-07 22:34:03 +10:00
Oliver Walters
9f15dd8e2a Custom panels can now be rendered from a template 2022-05-07 22:32:26 +10:00
Oliver Walters
103921f5c4 Rename plugin.loader to plugin.template
- Add helper function for rendering a template
2022-05-07 19:59:59 +10:00
Oliver Walters
44c4e88646 Add a configurable setting to the demo plugin 2022-05-07 02:17:20 +10:00
Oliver Walters
96f61dfcdb Add plugin description 2022-05-06 23:48:24 +10:00
Oliver Walters
bcf6e41b48 Add some example docs 2022-05-06 23:43:54 +10:00
Oliver Walters
5ed0128435 PEP style fixes 2022-05-06 23:34:34 +10:00
Oliver Walters
60f799c90a Add plugin view support for most of the remaining views 2022-05-06 23:32:42 +10:00
Oliver Walters
243e3ff37d Fix calls to super() 2022-05-06 23:32:09 +10:00
Oliver Walters
12c58b14d6 Improvements for panel mixin sample 2022-05-06 23:19:47 +10:00
Oliver Walters
0797e9ebf0 Simplify the new template rendering
- No extra template code is required for any new page
- All loaded in base.html or page_base.html
- Oh, so clean!
2022-05-06 23:19:21 +10:00
Oliver Walters
71128a1c8e Refactor the plugin javascript template
- Can appear in "base.html"
- Only renders anything if there are actually plugins available for the page
2022-05-06 22:57:15 +10:00
Oliver Walters
c80b36fc2f Adds a new InvenTreePluginMixin mixin class for enabling custom plugin rendering on a page
- Any view which needs custom plugin code must implement this mixin
- Initially implement for the PartDetail page
2022-05-06 22:52:52 +10:00
Oliver Walters
7b8a10173d Adds a new "Panel" mixin which can render custom panels on given pages
- Adds item to sidebar menu
- Adds panel content
- Runs custom javascript when the page is loaded
2022-05-06 22:49:51 +10:00
Oliver Walters
28e16616e5 Adds a PanelMixin plugin mixin class
Intended to allow rendering of custom panels on pages
2022-05-06 21:32:11 +10:00
Oliver Walters
170cb54490 Sort urls.py 2022-05-06 21:30:27 +10:00
Oliver Walters
b80ff5e460 Tweak display of plugin badges 2022-05-06 21:03:30 +10:00
Oliver
9e1d8e52f3
Merge pull request #2805 from matmair/matmair/issue2385
Plugins for notifications
2022-05-06 20:00:56 +10:00
Oliver
1b7172b57e
Merge pull request #2936 from matmair/test_tags
Test more templatetags
2022-05-06 12:16:14 +10:00
Matthias
09ceada639
fix test assertation 2022-05-06 03:03:08 +02:00
Matthias
0d0b713f6e
Fix tests 2022-05-06 02:26:58 +02:00
Matthias
2261e7a615
PEP fix 2022-05-06 02:20:38 +02:00
Matthias
33e3385830
fix assertations 2022-05-06 02:17:53 +02:00
Matthias
20d552f809
extend tag tests 2022-05-06 02:13:25 +02:00
Matthias
0eff4a4526
can not be covered in testing 2022-05-06 02:07:59 +02:00
Matthias
baf7e4505e
do not cover pacakge code - is not CI'd 2022-05-06 01:52:32 +02:00
Matthias
9a9a7e0ff4
also cover list API 2022-05-06 01:31:23 +02:00
Matthias
a2331829c9
this can not happen with normal operation 2022-05-06 01:31:11 +02:00
Matthias
d5c95f2225
only safety test - api is not callable as non-user 2022-05-06 01:29:16 +02:00
Matthias
8f220837d0
only log messages about notification methods 2022-05-06 01:25:22 +02:00
Oliver
eb1aad71ea
Merge pull request #2935 from matmair/fix-anon-static
fix error with anon connections and language check
2022-05-06 09:16:57 +10:00
Matthias
2b1d4ba9c1
add test for plugin settings 2022-05-06 01:15:12 +02:00
Matthias
7f8d20da0f
test _str 2022-05-06 01:12:22 +02:00
Matthias
1a70829f5c
do not cover dev error catcher 2022-05-06 01:12:11 +02:00
Matthias
a77382d0b5
sadd test for notification user settings 2022-05-06 01:04:00 +02:00
Matthias
50b17d6ae8
add mixin test 2022-05-06 01:03:11 +02:00
Matthias
ccefaade92
Add args back in to serializer 2022-05-06 00:48:20 +02:00
Matthias
1676cb8eb8
fix error with anon connections and language check 2022-05-06 00:13:58 +02:00
Matthias
28b8e27698
Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-06 00:11:38 +02:00
Matthias
fe4b264ae1
Fix user check 2022-05-06 00:11:26 +02:00
Matthias Mair
a1016c746c
Merge branch 'inventree:master' into so_fix_clean 2022-05-05 11:27:44 +02:00
Matthias Mair
6bd997ffad
Merge branch 'inventree:master' into matmair/issue2385 2022-05-05 11:26:25 +02:00
Matthias
164a8acf33
make genericref simpler 2022-05-05 01:31:19 +02:00
Matthias
17127e914d
PEP fix 2022-05-04 17:44:27 +02:00
Matthias
05d1f9703e
Add nice repr for NotificationUserSetting 2022-05-04 17:42:45 +02:00
Matthias
a27f8a427a
Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-04 17:40:47 +02:00
Matthias
cf986e557c
make unloading safer 2022-05-04 17:40:44 +02:00
Matthias
b16305afef
add html for notification setting 2022-05-04 17:40:04 +02:00
Matthias
0ff407348d
Add admin for NotificationUserSetting 2022-05-04 17:39:37 +02:00
Matthias
34855bbb37
add API endpoint for notifications 2022-05-04 17:38:50 +02:00
Matthias
c684e7d5e0
Add generic serializer 2022-05-04 16:57:39 +02:00
Oliver
1dee578907
Merge pull request #2931 from SchrodingersGat/more-api-functionality
Converting more forms to the API
2022-05-04 23:24:28 +10:00
Matthias
df9ca599a2
use full names consistently 2022-05-04 15:18:36 +02:00
Matthias Mair
a6bede877a
Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 15:11:56 +02:00
Oliver Walters
82541ede32 More unit tests
- BuildOrderCancel
- StockItemInstall
- StockItemUninstall
2022-05-04 22:49:21 +10:00
Matthias
055b9c9a46
remove duplicate endif 2022-05-04 13:57:35 +02:00
Oliver Walters
1c0fba0fca Add unit test for SalesOrderCancel API endpoint 2022-05-04 21:51:09 +10:00
Oliver Walters
7a5be35f10 Add unit tests for new purchase order API endpoints:
- PurchaseOrderCancel
- PurchaseOrderComplete
- PurchaseOrderIssue
2022-05-04 21:44:38 +10:00
Matthias
19d3b03280
fix double endif 2022-05-04 13:10:49 +02:00
Matthias
5435cd28c9
redirect to index if company was deleted 2022-05-04 12:39:56 +02:00
Matthias
00dffd953b
add messages if company was deleted 2022-05-04 12:39:12 +02:00
Matthias
1a3d482e42
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2788 2022-05-04 12:33:21 +02:00
Matthias Mair
cf93ba7cf9
Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 12:23:05 +02:00
Oliver Walters
88dbd5aa74 PEP fixes 2022-05-04 18:46:07 +10:00
Oliver Walters
104f9d4a70 Remove outdated unit tests 2022-05-04 18:39:33 +10:00
Oliver Walters
17c84141b1 Javascript linting 2022-05-04 17:38:01 +10:00
Oliver Walters
7365f7b5cb Paint the icon red 2022-05-04 17:33:19 +10:00
Oliver Walters
1cefdfc2e4 PEP style fixes 2022-05-04 17:31:44 +10:00
Oliver Walters
adbcd68fe8 Refactor "uninstall stock item" form to use the API 2022-05-04 17:25:24 +10:00
Oliver Walters
5cf30a850d Prune a lot of dead code 2022-05-04 17:01:19 +10:00
Oliver Walters
bd3d6f47a1 Refactor CancelBuild form 2022-05-04 16:30:46 +10:00
Oliver Walters
768e23c7b8 Refactor BuildOrder API classes with a fancy mixin 2022-05-04 15:59:30 +10:00
Oliver Walters
a510ca89f7 Refactor CancelSalesOrder form 2022-05-04 15:55:21 +10:00
Oliver Walters
bf48e3204b Refactor PurchaseOrderIssue form 2022-05-04 15:45:13 +10:00
Oliver Walters
5afc3bfce2 Replace PurchaseOrderComplete form 2022-05-04 15:33:50 +10:00
Oliver Walters
e527ddcc86 Extract context information from the OPTIONS request (forms.js) 2022-05-04 15:31:33 +10:00
Oliver Walters
4e7d1d8e7f Bump API version 2022-05-04 15:16:50 +10:00
Oliver Walters
62cd0f39c7 Replace the existing CancelPurchaseOrderForm with an API driven form 2022-05-04 15:14:14 +10:00
Oliver Walters
e920fc31e7 Only include extra context information if requested 2022-05-04 15:07:22 +10:00
Oliver Walters
c7980a347e Adds ability to add custom serializer context information to the OPTIONS endpoint
- Will be useful for constructing prettier forms with information about the endpoint
2022-05-04 15:06:02 +10:00
Oliver
628c9edd09
Merge pull request #2929 from SchrodingersGat/spelling-fixes
Fix speling errors in translated strings
2022-05-04 09:56:47 +10:00
Oliver
b65a969433
Merge pull request #2928 from matmair/coverage-adaption
Increase coverage
2022-05-04 09:39:24 +10:00
Oliver Walters
75e24635b5 Fix speling errors in translated strings 2022-05-04 09:17:42 +10:00
Matthias
8038cff874
ignore for coverage 2022-05-04 00:43:49 +02:00
Matthias
6504ef535a
fix test - len needs to be recalculated 2022-05-03 23:23:36 +02:00
Matthias
e1b395c9be
test is_active 2022-05-03 23:19:51 +02:00
Matthias
cf0cbff69a
we are not covering packages right now 2022-05-03 23:19:01 +02:00
Matthias
5e277130fa
do not cover not implemented Mixin 2022-05-03 23:07:16 +02:00
Matthias
c5acfaf541
do not coverage catch for load 2022-05-03 23:06:57 +02:00
Matthias
e95c3e0948
do not cover default returns 2022-05-03 23:06:38 +02:00
Matthias
1522d330fa
add test for is_sample 2022-05-03 23:06:11 +02:00
Matthias
096c0c876c
PEP fix 2022-05-03 22:58:24 +02:00
Matthias
d49f74746a
test that MixinImplementationErrors raise 2022-05-03 22:56:28 +02:00
Matthias
204b4fd527
rename test 2022-05-03 22:55:39 +02:00
Matthias
626e3838ae
also cover errors 2022-05-03 22:15:24 +02:00
Matthias
a357c4ef88
also cover unregistering 2022-05-03 22:13:29 +02:00
Matthias
08e278232b
ignore db not ready in coverage 2022-05-03 22:12:34 +02:00
Matthias
b9cbc287f2
empty mixin schaffold - no tests 2022-05-03 22:10:26 +02:00
Matthias
0a012c3c58
only possible in test cases with plugin_tests off 2022-05-03 22:09:58 +02:00
Matthias
4663815cfa
this is just an extra safety check - should not trigger 2022-05-03 22:09:20 +02:00
Matthias
4e5015e742
do not cover unready db 2022-05-03 22:08:57 +02:00
Matthias
58a5eac66a
ignore outside sample code in coverage 2022-05-03 22:06:10 +02:00
Matthias
07a86a3883
ognore catches in coverage 2022-05-03 22:05:56 +02:00
Matthias
7c437a3cf2
adjust testing function to also check return 2022-05-03 21:59:17 +02:00
Matthias
70b108d813
add check for call function 2022-05-03 21:56:58 +02:00
Matthias
5ea6a325ee
fix smaple code 2022-05-03 21:48:49 +02:00
Matthias
5fa7b45d1d
Add tests for scheduling
Closes #2523
2022-05-03 21:39:45 +02:00
Matthias
300558adb0
increase coverage on owners model 2022-05-03 20:26:49 +02:00
Matthias
05d2d3664c
ignore defaults for coverage 2022-05-03 20:13:07 +02:00
Matthias
0900fe82dc
ignore coverage on reverse conversion 2022-05-03 20:11:41 +02:00
Oliver
a191e45511
Merge pull request #2927 from SchrodingersGat/order-parts-wizard
Order parts wizard
2022-05-03 18:36:45 +10:00
Oliver Walters
e7ddeb8173 PEP style fixes 2022-05-03 17:36:30 +10:00
Oliver Walters
96c5a8252c remove dead code 2022-05-03 17:33:03 +10:00
Oliver Walters
f0e8e32c8a More refactoring 2022-05-03 17:27:21 +10:00
Oliver Walters
f3e8edaf1f Refactor for SupplierPart detail page 2022-05-03 17:21:33 +10:00
Oliver Walters
05b01e4d6c Refactor order parts for manfuacturer part detail page 2022-05-03 17:16:38 +10:00
Oliver Walters
28f3244574 Order parts from "supplier parts" page
- Prevent duplicate parts from loading
2022-05-03 16:52:23 +10:00
Oliver Walters
c0163a476f Refactor 'order parts' window from manufacturer part list 2022-05-03 16:42:00 +10:00
Oliver
1158b81b8b
Merge pull request #2926 from SchrodingersGat/event-generation
Use the tablename when generating automatic model events
2022-05-03 15:38:31 +10:00
Oliver Walters
bac5a16491 JS linting fxies 2022-05-03 14:28:41 +10:00
Oliver Walters
141b764b94 Modal fixes 2022-05-03 14:01:25 +10:00
Oliver Walters
8cd8581dbf fixes 2022-05-03 13:51:04 +10:00
Oliver Walters
1794f65d19 Button to submit each row individually 2022-05-03 13:44:28 +10:00
Oliver Walters
d69b5811b1 Improved javascript log / warn / error messages 2022-05-03 12:00:28 +10:00
Oliver Walters
4732efb330 Fix callbacks for adding new supplier part and/or purchase order "inline" 2022-05-03 11:42:13 +10:00
Oliver Walters
f1d8bf71b7 Use the tablename when generating automatic model events 2022-05-03 10:18:11 +10:00
Matthias
87515b1b48
fix __str__ instance 2022-05-02 22:46:03 +02:00
Matthias
e7b189ba29
fix templates 2022-05-02 22:41:24 +02:00
Matthias
8f3899ffe6
move migrations 2022-05-02 22:10:50 +02:00
Matthias Mair
0c338cb2ae
Merge branch 'inventree:master' into matmair/issue2788 2022-05-02 21:50:57 +02:00
Matthias Mair
4125803e6d
Merge branch 'inventree:master' into matmair/issue2385 2022-05-02 21:50:52 +02:00
Oliver Walters
e87a02638e Merge remote-tracking branch 'inventree/master' into order-parts-wizard
# Conflicts:
#	InvenTree/order/serializers.py
#	InvenTree/templates/js/translated/model_renderers.js
2022-05-02 16:11:11 +10:00
Oliver Walters
18080f329b Remove compiled .mo files from tracking 2022-05-02 10:52:30 +10:00
Oliver
194d72e63e
updated translation base (#2914)
* 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

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-02 10:31:31 +10:00
Matthias Mair
e418a54c25 PEP fix 2022-05-01 21:48:45 +00:00
Matthias Mair
8490589fa9 check for only unique methods to be added 2022-05-01 21:46:31 +00:00
Matthias
96e6752324
remove double import 2022-05-01 22:13:35 +02:00
Matthias
e7a0cf7342
fix old url() usage 2022-05-01 22:04:37 +02:00
Matthias
de6507e918
update translation commands 2022-05-01 22:03:49 +02:00
Matthias
67ab45bdee
update depreciated paths 2022-05-01 22:00:18 +02:00
Matthias
d05472b30c
upgrade to pyhton 3.9 syntax
using pyupgrade
2022-05-01 21:53:12 +02:00
Oliver
cc42977233
Merge pull request #2910 from SchrodingersGat/translation-ci
Translation CI
2022-05-01 23:19:58 +10:00
Oliver Walters
526571c062 Prevent recursion 2022-05-01 22:50:56 +10:00
Oliver Walters
e3c3ed28da PEP fixes 2022-05-01 22:46:50 +10:00
Oliver Walters
0a3613476c Fix empty translation string 2022-05-01 22:34:03 +10:00
Oliver Walters
d72efc3757 Small tweaks
- Factor out native_value property (not needed!)
- PEP fixes
2022-05-01 22:30:24 +10:00
Oliver Walters
f794d91e5c Adds more unit tests for global settings objects 2022-05-01 22:26:51 +10:00
Oliver Walters
0f8f9f3e5e Add unit test for integer settings with validator 2022-05-01 22:21:57 +10:00
Oliver Walters
f972551246 Add unit test for multiple-choice setting type 2022-05-01 22:07:16 +10:00
Oliver Walters
eabe082f0a Add unit tests for boolean user settings (via the API) 2022-05-01 20:23:50 +10:00
Oliver Walters
75fa0bed26 Render "native value" in serializer 2022-05-01 20:13:58 +10:00
Oliver Walters
5d4972d981 Convert settings to 'native' values before running callable valiators 2022-05-01 19:46:17 +10:00
Oliver Walters
3777686c92 503 page was missing inventree_extras
(cherry picked from commit 1a8fd7878ea253f7cdfd50f54850827e634fcb0f)
2022-05-01 19:44:52 +10:00
Oliver
433ecdb2c3
Merge pull request #2714 from matmair/matmair/issue2694
[FR] Add delivery cost (excluding unit cost that already exists) in PO
2022-05-01 10:28:47 +10:00
Matthias
93a05491ce
PEP fix 2022-05-01 00:17:07 +02:00
Matthias
58901a8cf6
fix migrations 2022-05-01 00:15:02 +02:00
Matthias
0c72fa180c
fix model backtrack 2022-05-01 00:09:17 +02:00
Matthias
9947cc2b08
remove old permissionset 2022-05-01 00:07:37 +02:00
Matthias
132f4aa82e
Use set_null instead 2022-05-01 00:07:13 +02:00
Kálmán Rózsahegyi
b8399e4887 Increment number of JS files in test_js_load 2022-04-30 21:56:05 +02:00
Kálmán Rózsahegyi
c7692475a8 Add onBarcodeScanClicked() to exported functions 2022-04-30 21:28:55 +02:00
Matthias Mair
c18579088a
Merge branch 'inventree:master' into matmair/issue2385 2022-04-30 19:53:32 +02:00
Matthias Mair
71a0d8159e
Merge branch 'inventree:master' into matmair/issue2788 2022-04-30 19:53:10 +02:00
Matthias Mair
e75daec695
Merge branch 'inventree:master' into matmair/issue2694 2022-04-30 19:50:25 +02:00
Kálmán Rózsahegyi
84bfb0a827 One more try to pass JS checks... 2022-04-30 12:33:44 +02:00
Kálmán Rózsahegyi
51152eee53 More JS style fixes 2022-04-30 12:22:10 +02:00
Kálmán Rózsahegyi
b37bb3eb3e Fix JS styling 2022-04-30 12:14:13 +02:00
Kálmán Rózsahegyi
8b279edee0 Merge branch 'master' into feat-qr-scanner 2022-04-30 11:57:09 +02:00
Oliver
35de490f72 JS linting fixes 2022-04-29 17:13:59 +10:00
Oliver
260680c5c4 Refactor BOM table to not load multi level BOMs by default
- Click to select which ones to load
2022-04-29 17:07:54 +10:00
Oliver
227b3d6aec
Merge pull request #2893 from SchrodingersGat/build-output-table-improvements
Build output table improvements
2022-04-29 15:05:52 +10:00
Oliver
1bb2551edb Fixes for model rendering code 2022-04-29 13:51:49 +10:00
Oliver
94fa424440 Table tweaks 2022-04-29 13:13:12 +10:00
Oliver
a80465e85c Display batch code in build output table 2022-04-29 13:03:41 +10:00
Oliver
8fc34a21a6 Reload the untracked stock table when allocation actions are performed 2022-04-29 12:59:20 +10:00
Kalman Rozsahegyi
9e1a143132 Merge branch 'master' into feat-qr-scanner 2022-04-28 22:14:11 +02:00
Oliver Walters
51da1f02a8 JS linting fixes 2022-04-29 01:58:57 +10:00
Oliver Walters
b595fa0e7e Fix loading of untracked parts table 2022-04-29 01:40:59 +10:00
Oliver Walters
0bda9c974e PEP fixes 2022-04-29 01:35:09 +10:00
Oliver Walters
a0ca20ab04 Retrieve all stock item test results at once 2022-04-29 01:27:58 +10:00
Oliver Walters
e0189be5a6 Adds ability to filter StockItemTestresult API list by Build ID
- Allows us to retrieve stock item test results in a single API query
2022-04-29 01:19:36 +10:00
Oliver Walters
6b4592b3dc Display error if stock item is "double allocted" 2022-04-29 01:10:05 +10:00
Oliver Walters
81638d06cf Show or hide items based on output BOM 2022-04-29 00:51:56 +10:00
Oliver Walters
6e52ca2178 Refactor button callbacks
- Add button to expand all output rows
- Add button to collapse all output rows
2022-04-29 00:44:29 +10:00
Oliver Walters
3da6446373 Allow sorting of build output table by allocated items 2022-04-29 00:32:33 +10:00
Oliver Walters
6c6ebe70c2 Update progress bars for build output allocation 2022-04-29 00:27:27 +10:00
Oliver Walters
df9a33935d Row button fixes 2022-04-28 23:26:08 +10:00
Oliver Walters
4a81c058d6 Function to reload allocation table data 2022-04-28 23:14:37 +10:00
Oliver Walters
cb7c4396fb Refactor build page template
- Only load build outputs table as required
2022-04-28 22:59:24 +10:00
Oliver Walters
b63352ce20 Add a stock item transaction when installing items into a build output 2022-04-28 22:58:58 +10:00
Oliver Walters
f531e354b9 Allow completion of partially allocated build outputs
- Requires manual acceptance from user
2022-04-28 21:54:38 +10:00
Paul R
9ce2eb988f [#2885] Modify group error messages to be unique 2022-04-28 11:32:20 +01:00
Paul R
82b32fe30e [#2885] Support hyphens in serials when correct no of serials supplied 2022-04-28 11:24:20 +01:00
Paul R
b08efa4de7 [#2885] Don't interpolate serial groups if they are not numeric 2022-04-28 11:24:16 +01:00
Paul R
1dba9f66fb [#2885] Support partial sequences in serial nos ('1, 2, 3+') 2022-04-28 11:24:12 +01:00
Paul R
8077469a3f [#2885] Support multiple '~' placeholders in serial numbers 2022-04-28 11:23:58 +01:00
Oliver
72bcea2f6d Better caching and rendering of sub tables for particular build outputs 2022-04-28 17:53:27 +10:00
Oliver
b8f274c680 Request allocations for entire build, and cache 2022-04-28 17:38:08 +10:00
Oliver
0841c628e0 Adds ability to filter build items by "tracked" flag 2022-04-28 17:27:09 +10:00
Oliver
e6c95bf6b2 Cache tracked BOM items for the build order 2022-04-28 17:08:43 +10:00
Oliver
74a08be5be Load (and cache) tracked BOM items for this build output 2022-04-28 17:00:23 +10:00
Oliver
a48c802576 Sort by test status 2022-04-28 16:54:29 +10:00
Oliver
d894302e62 Request build output test result information 2022-04-28 16:54:02 +10:00
Oliver
6538ab86cb Bug fix for 'required' filter in PartTestTemplate API 2022-04-28 16:25:04 +10:00
Oliver
2b46ed300e Client side pagination and sorting 2022-04-28 16:18:40 +10:00
Oliver
63145c90b0 Server-side sorting of "build output" column 2022-04-28 16:14:23 +10:00
Oliver
ba3bcdba89 Add switchable columns to build output table 2022-04-28 15:50:10 +10:00
Oliver
e9500e4981
Merge pull request #2892 from SchrodingersGat/build-allocation-fix
Fix part allocation check
2022-04-28 15:21:02 +10:00
Oliver
aec10e0cc7 Fix part allocation check 2022-04-28 14:58:05 +10:00
Oliver
5a77156051
Merge pull request #2886 from SchrodingersGat/remove-demo-mode
Remove "demo mode"
2022-04-28 14:13:16 +10:00
Oliver
823be74f38 PEP fixes 2022-04-28 12:53:16 +10:00
Oliver
6e7b307423 Prevent "null" from being displayed as part units 2022-04-28 09:51:51 +10:00
Matthias
4180336705
comment out not used variable 2022-04-28 00:51:35 +02:00
Matthias
87aeed9ab3
disable broken test 2022-04-28 00:46:59 +02:00
Matthias
6319beb14e
only print if models found 2022-04-28 00:42:28 +02:00
Matthias
f1ee206c53
fix typo 2022-04-28 00:37:55 +02:00
Matthias Mair
15206456d7
Merge branch 'inventree:master' into matmair/issue2788 2022-04-27 17:48:22 +02:00
Matthias Mair
dfd51174cb
Merge branch 'inventree:master' into matmair/issue2694 2022-04-27 17:48:19 +02:00
Matthias Mair
37e74074dd
Merge branch 'inventree:master' into matmair/issue2385 2022-04-27 17:46:57 +02:00
Oliver Walters
4222b614fa Remove stat context variables
(cherry picked from commit 0989c308d0)
2022-04-28 01:21:23 +10:00
Oliver
110d5f066e
I18n merge (#2887)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-04-27 23:58:01 +10:00
Oliver
d5f503275a
Merge pull request #2865 from matmair/matmair/issue1693
Implement proxy based auth
2022-04-27 23:23:17 +10:00
Oliver Walters
e809fd9a2c Remove database metrics from system info tab 2022-04-27 23:07:26 +10:00
Oliver Walters
fc3b062188 Mark injected strings as safe 2022-04-27 22:09:25 +10:00
Oliver Walters
518e0743cb Updated config template 2022-04-27 22:05:25 +10:00
Oliver Walters
06da120ef3 Hide entry box for changing password 2022-04-27 22:03:55 +10:00
Oliver Walters
fc4de6c7b8 Remove other demo references 2022-04-27 22:00:58 +10:00
Oliver Walters
4a843908ec Add customize option to hide admin link in user menu 2022-04-27 21:56:04 +10:00
Oliver Walters
090445f2c3 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-04-27 21:45:08 +10:00
Oliver Walters
24af2bd2c8 Update console output for forms.js 2022-04-27 21:45:00 +10:00
Matthias
37ea6e119e
just center content 2022-04-27 13:21:23 +02:00
Matthias
9c06d3b082
throw out markdown calculatinf 2022-04-27 13:21:10 +02:00
Matthias
6c23c94700
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2301 2022-04-27 13:13:04 +02:00
Matthias
bec2b1d932
make text bigger 2022-04-27 13:12:48 +02:00
Matthias
a02edca2d5
add another spacer 2022-04-27 13:12:22 +02:00
Matthias
f8b974186a
shorten template code 2022-04-27 13:00:45 +02:00
Matthias
2c653504ec
Update logo settings references 2022-04-27 13:00:03 +02:00
Oliver
f98225334e Simplify allocation display for part page 2022-04-27 15:36:44 +10:00
Oliver
481350b138 Refactor available quantity calculation for BOM table 2022-04-27 09:16:57 +10:00
Oliver
2a24fc43e7 Text formatting 2022-04-27 09:07:10 +10:00
Oliver
08ab99adc6 Build order table improvements:
- Display tick / cross badge for stock availability in build order table
- Correctly order available quantity
2022-04-27 09:04:57 +10:00
Oliver
01ce571a75
Merge pull request #2877 from matmair/matmair/issue2681
API Mixin cleanup
2022-04-27 08:42:10 +10:00
Matthias
d9c0698c34
remove oauth-toolkit 2022-04-26 23:53:07 +02:00
Oliver Walters
340d4d8a89 Launch new forms 2022-04-27 00:12:12 +10:00
Oliver Walters
bf11e8361e Add (empty) callbacks to prefix buttons 2022-04-26 22:18:27 +10:00
Oliver Walters
c66cd1d51b Adds button to expand row for "extra" information 2022-04-26 22:14:01 +10:00
Oliver Walters
b8ca7fb092 Merge remote-tracking branch 'inventree/master' into order-parts-wizard
# Conflicts:
#	InvenTree/templates/js/translated/model_renderers.js
2022-04-26 21:22:31 +10:00
Oliver
fec43f126b
Merge pull request #2876 from SchrodingersGat/default-batch-code
Default batch code
2022-04-26 20:47:28 +10:00
Oliver Walters
24da5d41b8 Add migration file 2022-04-26 20:21:15 +10:00
Oliver Walters
314cec5ad0 Generate default batch code for stock items 2022-04-26 20:18:33 +10:00
Oliver Walters
3f92f009e4 Add configurable setting for batch code generation 2022-04-26 20:00:06 +10:00
Oliver Walters
0b51ca2902 PEP fixes 2022-04-26 19:54:16 +10:00
Oliver Walters
7db11b627b Refactor PartSalePriceBreak and PartInternalPriceBreak tables to use the API
- Remove old server-side views
- Simplify code
2022-04-26 19:53:09 +10:00
Oliver Walters
cb12222e17 Re-enable the "pricing" tab
- Previously was gated entirely on the "PART_SHOW_PRICE_HISTORY" setting
2022-04-26 19:23:41 +10:00
Oliver
4c6c618af6
Merge pull request #2874 from SchrodingersGat/auto-allocate-fix
Prevent inactive or trackable parts from being 'auto allocated'
2022-04-26 18:48:16 +10:00
Oliver
89b8d04ca4
Merge pull request #2833 from SchrodingersGat/variant-available
Add 'available_variant_stock' to BomItem serializer
2022-04-26 18:47:56 +10:00
Oliver
3ef0386593 Prevent inactive or trackable parts from being 'auto allocated' 2022-04-26 17:14:47 +10:00
Oliver
ee47be4c9e Add unit test for 'available_variant_stock' in BomItem API serializer 2022-04-26 17:05:21 +10:00
Oliver
7aaa4a5812 add unit tests for new variant_stock annotations 2022-04-26 16:39:03 +10:00
Oliver
d4fc4bb8bd Merge branch 'master' into variant-available
# Conflicts:
#	InvenTree/InvenTree/api_version.py
2022-04-26 16:21:53 +10:00
Oliver
85fd247878 Fix for 'auto-allocate' stock to build orders
- Allocation of serialized stock items would cause issue
- Exclude serialized stock from auto allocation process
2022-04-26 15:54:03 +10:00
Oliver
2696f6bfbd
Merge pull request #2869 from SchrodingersGat/ipn-validator-fix
Adds 'variant_of' filter back into Part API
2022-04-26 12:05:30 +10:00
Oliver
70d4960fa3 Add new unit tests for part API filters 2022-04-26 11:43:34 +10:00
Oliver
c705bb57c6 Fix language code 2022-04-26 11:16:55 +10:00
Oliver
64b1f56b98 Generate pt_br 2022-04-26 11:09:21 +10:00
Oliver
b5551a1ceb Adds pt_br (brazillian) 2022-04-26 11:05:40 +10:00
Oliver
693e47ab89 Remove outdated filter_fields variable 2022-04-26 11:02:22 +10:00
Oliver
e1e0432963 Adds 'variant_of' filter back into Part API 2022-04-26 10:57:43 +10:00
Matthias
1603bf4e60
fix api call 2022-04-26 01:32:31 +02:00
Matthias
e7357726ca
Add oauth for zapier 2022-04-25 11:19:30 +02:00
Matthias
8de35f63be
Add config template section 2022-04-25 01:18:55 +02:00
Matthias
2e4aa8a2fc
Feature request: reverse proxy login support
Fixes #1693
2022-04-25 01:18:36 +02:00
Matthias
65357df648
PEP fix 2022-04-25 00:27:41 +02:00
Matthias
b72650d162
remove translation script 2022-04-25 00:25:31 +02:00
Matthias
b4068c5e0f
remove dead middleware 2022-04-25 00:25:12 +02:00
Matthias
f06a11e206
fix test 2022-04-24 16:17:47 +02:00
Matthias
cd931af74f
description for config values 2022-04-24 16:15:22 +02:00
Matthias
a4af573812
add logo option to config template 2022-04-24 16:14:55 +02:00
Matthias
1bce7b745e
add custom logo option 2022-04-24 16:13:44 +02:00
Matthias
002f5ec288
move setting lower 2022-04-24 16:12:01 +02:00
Matthias
f1f6c9ff66
remove InvenTree from settings texts 2022-04-24 15:25:34 +02:00
Matthias
2847eef71c
load missing tag 2022-04-24 15:13:31 +02:00
Matthias
f2d0537198
set navbar message via config file 2022-04-24 15:12:03 +02:00
Matthias
1127bf2497
make it possible to resitrict the about modal 2022-04-24 01:02:41 +02:00
Matthias
ff9d8e7b6b
use instance title in version string 2022-04-24 00:28:27 +02:00
Matthias
9673d81014
remove InvenTree name where not needed 2022-04-24 00:23:26 +02:00
Matthias
54d8a4e802
use server title instead of InvenTree 2022-04-24 00:21:33 +02:00
Matthias
7834171c2a
[FR] White labeling
Fixes #2301
2022-04-23 23:38:49 +02:00
Matthias Mair
b118890676
Merge branch 'inventree:master' into matmair/issue2694 2022-04-23 21:30:01 +02:00
Matthias Mair
8f13f36e2d
Merge branch 'inventree:master' into matmair/issue2788 2022-04-23 21:29:52 +02:00
Matthias Mair
2f0291864f
Merge branch 'inventree:master' into matmair/issue2385 2022-04-23 21:29:37 +02:00
Oliver
99718865c0 Further attempts to fix CI issues 2022-04-22 14:33:46 +10:00
Oliver
4994920119 Use recommended collation option 2022-04-22 13:48:15 +10:00
Oliver
fa3c24b085 Try a different collation option 2022-04-22 13:25:22 +10:00
Oliver
0806e18aca Case sensitive collation 2022-04-22 12:39:42 +10:00
Oliver
2f1e869351 Only set collation option for mysql test database 2022-04-22 11:31:51 +10:00
Oliver
dc0f18d21f Specify charset and collation options for the test database 2022-04-22 11:20:49 +10:00
Oliver Walters
5fde9f552c Add similar check for IPN 2022-04-22 01:00:38 +10:00
Oliver Walters
292d28d378 Account for cases where serial number could be an integer! 2022-04-22 01:00:02 +10:00
Oliver Walters
aa4df62ac9 IPN fix 2022-04-22 00:40:23 +10:00
Oliver Walters
a7c18891b5 Increase unit testing for duplicate IPN testing
- IPN duplication test is case sensitive!
2022-04-22 00:38:08 +10:00
Oliver Walters
9a9ed5f192 Fix validation of duplicate IPN
- Duplicate IPN check does not apply if an empty IPN value is set
- Note that "if x" is a more pythonic test than "if x not in [None, '']"
2022-04-22 00:36:30 +10:00
Oliver Walters
6dec8ba113 PEP fix 2022-04-22 00:24:25 +10:00
Oliver Walters
f504dfe797 part variant table now displays information about variant stock quantities 2022-04-22 00:20:32 +10:00
Oliver Walters
8b9aa86a0a Add 'variant_stock' to Part API serializer 2022-04-22 00:14:37 +10:00
Oliver Walters
aa20d84cc1 Update javascript rendering in build table 2022-04-22 00:00:50 +10:00
Oliver Walters
ec34d23bfc Update javascript rendering in BOM table 2022-04-21 23:58:12 +10:00
Oliver Walters
fa2510c42f Use a proper queryset annotation to calculate the "available_variant_stock" 2022-04-21 23:53:03 +10:00
Oliver Walters
1d73f7c066 Update API version info 2022-04-21 20:14:46 +10:00
Oliver Walters
3b4d0c2f9c Merge remote-tracking branch 'inventree/master' into variant-available
# Conflicts:
#	InvenTree/InvenTree/version.py
2022-04-21 20:13:51 +10:00
Oliver Walters
2b8ddd58a8 Add initial translation files 2022-04-21 00:18:39 +10:00
Oliver Walters
7dce7779c3 cz -> cs 2022-04-21 00:14:38 +10:00
Oliver Walters
2144506745 Add language support for Czech 2022-04-21 00:12:53 +10:00
Oliver
aec7d2d0aa
Merge pull request #2842 from awiswasi/vulnerability-fix
Fixed vulnerability in jquery-ui@1.12.1
2022-04-20 11:11:58 +10:00
Awf Wiswasi
761e822a4e Updated jquery v1.12.1 to v1.13.0 to fix a possible XSS vulnerability. 2022-04-19 17:36:34 -07:00
Matthias Mair
756eb4f4ea
Merge branch 'inventree:master' into matmair/issue2385 2022-04-20 00:05:26 +02:00
Matthias Mair
d2e3d824b0
Merge branch 'inventree:master' into plugin-mark-sample 2022-04-20 00:03:42 +02:00
Matthias Mair
544a590b7a
Merge branch 'inventree:master' into plugin-mark-sample 2022-04-19 18:24:21 +02:00
Matthias Mair
3e39f99ccb
Merge branch 'inventree:master' into matmair/issue2788 2022-04-19 18:24:15 +02:00
Matthias Mair
b3dca68c6b
Merge branch 'inventree:master' into matmair/issue2694 2022-04-19 18:24:12 +02:00
Matthias Mair
1399b4fbb3
Merge branch 'inventree:master' into matmair/issue2385 2022-04-19 18:23:49 +02:00
Awf Wiswasi
d93cc78bf6 Fixed vulnerability to Cross-site Scripting (XSS) when accepting the value of altField option of the Datepicker widget from untrusted sources, which may lead to execution of untrusted code. Vulnerability fixed in jquery-ui@1.13.0 2022-04-19 05:50:17 -07:00
Oliver Walters
7c126ed712 Added x_forwarded_for middleware
Used to extract remote client IP (when behind balancer / proxy / etc)
2022-04-19 21:19:25 +10:00
Oliver Walters
db897d5dce JS linting 2022-04-19 20:47:37 +10:00
Oliver Walters
5fe2fb615b Style fixes 2022-04-19 20:41:08 +10:00
Oliver Walters
1fb94bf04b Allow "tracked" stock items to be installed, rather than just serialized 2022-04-19 20:35:54 +10:00
Oliver Walters
0e67ea8e95 Change ordering of stock item form fields 2022-04-19 20:28:45 +10:00
Oliver Walters
7531ef8e5f Prevent annoying error messages when notification request fails 2022-04-19 20:28:35 +10:00
Oliver Walters
cffeb62bd1 Bug fix for StockItem.clean() 2022-04-19 20:28:13 +10:00
Oliver Walters
141f6ccbdf Increase unit testing for StockItem API 2022-04-19 20:10:07 +10:00
Oliver Walters
2315d0cb5d Adds ability to filter stock item tables by "tracked" status
- Also fixes some slight errors in the API filtering logic
2022-04-19 18:13:48 +10:00
Oliver Walters
d213e1fdc7 Move API version information into a new file
- Keeping track of the API version history was making for a very long file!
2022-04-19 18:11:52 +10:00
Oliver Walters
39a77f7f3a Adds a "stock items" view for a part category
- Shows any stock items for parts which exist in (or under) the selected category
2022-04-19 18:04:48 +10:00
Oliver Walters
86c7417296 Remove old template file 2022-04-19 17:58:54 +10:00
Oliver Walters
1dfbd30294 Bug fix for displaying batch information 2022-04-19 17:53:58 +10:00
Oliver
e33d970beb Add persian translation files 2022-04-19 16:36:52 +10:00
Oliver
584c06d045 Add support for fa (farsi / persian) 2022-04-19 16:31:38 +10:00
Oliver
5f503c7e0f PEP fxies 2022-04-19 13:16:45 +10:00
Oliver
5240c60e0b Render part information in stock item tracking table (if provided) 2022-04-19 13:14:54 +10:00
Oliver
e5eb1f4513 Adds button to refresh stock item tracking table 2022-04-19 13:09:14 +10:00
Oliver
48170ee096 Update stock item variant conversion form to use new function 2022-04-19 13:04:17 +10:00
Oliver
87de7e4beb Adds "convert_to_variant" function for the StockItem model 2022-04-19 12:52:36 +10:00
Oliver
ab114b52e9 Add new CONVERTED_TO_VARIANT tracking code 2022-04-19 12:46:08 +10:00
Oliver Walters
1cddb565da PEP fixes 2022-04-18 23:20:59 +10:00
Oliver Walters
8a6b16c1d1 Display batch code for stock items in forms 2022-04-18 23:10:38 +10:00
Oliver Walters
6beea0a557 Render batch code in stock adjustment dialog 2022-04-18 22:56:31 +10:00
Oliver Walters
33401cb207 Adds ability to filter stockitem list by "has_batch" parmeter 2022-04-18 22:34:00 +10:00
Kálmán Rózsahegyi
7cbefa5fb7 Fixes loading of SO table on company page 2022-04-16 17:09:28 +02:00
Oliver Walters
4313503649 PEP fix 2022-04-15 22:47:32 +10:00
Oliver Walters
6f5b560fb6 Update BOM table to include variant stock information 2022-04-15 22:45:22 +10:00
Oliver Walters
7f07c52689 Incremement APi version 2022-04-15 22:40:24 +10:00
Oliver Walters
d535e4fa12 Add 'available_variant_stock' to BomItem serializer
- Note: This is definitely *not* the optimum solution here
2022-04-15 22:38:31 +10:00
Oliver Walters
18de4676dc Explicitly mark "parent" field in PartCategory and StockLocation as not required in API form fields 2022-04-15 19:22:06 +10:00
Oliver
d43158ab1b
Merge pull request #2828 from SchrodingersGat/installed-in
Adds ability to include tests results from "installed items"
2022-04-14 13:17:03 +10:00
Oliver
688f53fdb1 Bump API version number 2022-04-14 12:52:09 +10:00
Oliver
dfa3bbf655 Add ability to include test results from "installed items" in table 2022-04-14 12:49:27 +10:00
Oliver
46892f9288 Hide ID values by default in model_renderers.js 2022-04-14 12:30:01 +10:00
Oliver
df2f7d195a
Merge pull request #2827 from SchrodingersGat/variant-stock
Allocation quantity functions include variants
2022-04-14 12:26:17 +10:00
Oliver
41959eaaba
Merge pull request #2826 from SchrodingersGat/can-build
Show "can build" detail even for template parts
2022-04-14 12:07:18 +10:00
Oliver
35aa5f25be Allocation quantity functions include variants
- For calculation of total "available_stock", variants are included
- Update the allocation quantity functions to also include variants
- Otherwise, the calculations are "out of sync"
2022-04-14 11:54:30 +10:00
Oliver
bcbfc9c292 Show "can build" detail even for template parts 2022-04-14 11:40:22 +10:00
Oliver
40d6a1470f Tweak for part.js 2022-04-14 11:04:25 +10:00
Oliver
7335bfae19 Fix templated string 2022-04-14 10:59:52 +10:00
Matthias Mair
a6a03acf92
re-add plugin on startup switch 2022-04-14 01:22:09 +02:00
Oliver
0233aa8bee
I18n merge (#2821)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-04-13 12:27:40 +10:00
Oliver
93257d547c
Merge pull request #2806 from SchrodingersGat/bom-serializer-quantity
Bom serializer quantity
2022-04-13 07:43:25 +10:00
Oliver Walters
7276fafcc5 Unit test fix 2022-04-10 20:25:05 +10:00
Oliver Walters
c7257a1bd3 build order 2022-04-10 20:03:40 +10:00
Oliver Walters
1c60d4e152 Refactor notes for "purchase order" 2022-04-10 19:55:32 +10:00
Oliver Walters
df9c5c0048 Refactor notes editing for "StockItem" 2022-04-10 18:08:09 +10:00
Oliver Walters
e1784c93b2 Simplification 2022-04-10 18:03:19 +10:00
Oliver Walters
641785a02b Refactor into a monolithic js function 2022-04-10 17:53:09 +10:00
Oliver Walters
957494f483 Custom headings 2022-04-10 16:29:31 +10:00
Oliver Walters
241e2e35c0 Display part notes inline, and allow updating via API 2022-04-10 15:58:36 +10:00
Oliver Walters
82b8230a7e Prune some dead code 2022-04-10 15:36:27 +10:00
Oliver Walters
953c7bc7e4 Adds easymde (v2.16.1) 2022-04-10 15:34:02 +10:00
Oliver Walters
b7937a4750 Add some more unit tests for BOM API endpoints 2022-04-09 19:22:12 +10:00
Oliver Walters
78ed5d9cc4 Some more API unit tests 2022-04-08 21:59:59 +10:00
Oliver Walters
8ab54c8e55 Add more unit tests 2022-04-08 21:39:41 +10:00
Matthias
3ffe51b4c3
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2385 2022-04-08 01:58:17 +02:00
Matthias
ddcaecb11f
How did I miss this? 2022-04-07 23:39:05 +02:00
Oliver Walters
49f095b15c Bump API version 2022-04-07 19:37:16 +10:00
Oliver Walters
be9648cbc7 Remove unused function which shadowed name of query annotation 2022-04-07 19:22:20 +10:00
Oliver Walters
e225d3b765 Fix action buttons in "part" table on category page 2022-04-07 19:09:43 +10:00
Oliver Walters
e1fbd961e5 Refactor form renderer functions 2022-04-07 19:05:25 +10:00
Oliver Walters
ed69f06620 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-04-07 18:54:00 +10:00
Oliver Walters
eef768e01f Merge remote-tracking branch 'inventree/master' into bom-serializer-quantity 2022-04-07 18:53:43 +10:00
Oliver Walters
ba81e6caf9 Style fixes 2022-04-07 18:50:10 +10:00
Oliver Walters
f3075d2151 Build table now also shows availability of substitute stock 2022-04-07 18:48:23 +10:00
Oliver Walters
acc6cb8729 Fix calculation of "can_build" 2022-04-07 17:47:24 +10:00
Oliver Walters
6aceb24e41 Include available substitute stock when calculating total availability in BOM table 2022-04-07 17:45:11 +10:00
Matthias
4c1a0ea9ce
mkae user setting access simpler 2022-04-06 23:58:11 +02:00
eeintech
ad366ef0bd Fix part and po files import 2022-04-06 16:45:23 -04:00
Oliver Walters
e3186b5573 Merge remote-tracking branch 'inventree/master' into bom-serializer-quantity 2022-04-06 18:01:10 +10:00
Oliver
24c64d7479 Bug fix for "inverted" logic when hiding inactive parts from search results 2022-04-06 12:21:19 +10:00
Matthias Mair
547c51b81b
pep fix 2022-04-06 01:47:11 +02:00
Matthias Mair
b087422290
add import back in 2022-04-06 01:45:19 +02:00
Matthias Mair
b53bf6de9c
pep fix 2022-04-06 01:42:24 +02:00
Oliver
27dac5af97 Fix search errors
- Do not show API error messages for requests which were intentionally aborted
- Prevents a large number of error messages being displayed when search text is changed
2022-04-06 09:42:07 +10:00
Oliver
ac721a544d
Merge pull request #2803 from SchrodingersGat/barcode-fix
Barcode scanning fixes
2022-04-06 09:27:42 +10:00
Matthias
b4654a7c71
add tests for email notification 2022-04-06 01:22:52 +02:00
Matthias
e1d261f989
pep fix 2022-04-05 23:47:26 +02:00
Matthias
77f5fa9360
pep fix 2022-04-05 23:45:35 +02:00
Matthias
f3aab952de
remove empty class 2022-04-05 23:43:50 +02:00
Matthias
47f9bd911a
add tests for notifications 2022-04-05 23:41:37 +02:00
Oliver Walters
dc2da4bcb9 BomItem API - improve annotation of available substitute stock quantity 2022-04-05 21:24:57 +10:00
Oliver Walters
30a4c38eb7 Ensure queryset is properly annotated for BomItem detail 2022-04-05 21:12:43 +10:00
Oliver Walters
e0acfe492b Merge remote-tracking branch 'inventree/master' into bom-serializer-quantity 2022-04-05 19:49:06 +10:00
Matthias Mair
41b75e4928
Merge branch 'inventree:master' into matmair/issue2385 2022-04-05 02:05:05 +02:00
Matthias Mair
4ab27e5f3c
Merge branch 'inventree:master' into matmair/issue2694 2022-04-05 02:03:40 +02:00
Matthias Mair
ed60666695
Merge branch 'inventree:master' into matmair/issue2788 2022-04-05 02:03:37 +02:00
Matthias Mair
346327b545
Merge branch 'inventree:master' into plugin-mark-sample 2022-04-05 02:03:29 +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
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
bdc62dfcc3
mark active sample code as a sample 2022-04-04 23:53:35 +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 Walters
e4ca638a2e Add field for substitute_stock (work in progress) 2022-04-04 23:52:45 +10:00
Oliver Walters
c6ba104ae8 Condense into single "available_stock" field 2022-04-04 23:07:44 +10:00
Oliver Walters
f6664b2477 Add annotated fields to BomItem API:
- total-stock / allocated_to_build_orders / allocated_to_sales_orders
2022-04-04 22:50:13 +10:00
Oliver
782a0f3576 Fix for scanIntoLocation function 2022-04-04 16:23:17 +10:00
Oliver
7dae05acc5 Fix for scanItemsIntoLocation function
- Accept list of objects rather than pk values
- Conform to API requirements
2022-04-04 16:20:19 +10:00
Oliver
2c8e274aa9 Tweaks for barcode scanning functionality
- Prevent javascript errors

(cherry picked from commit 9129a42a3e2a5c5939e6002d3b4010b3fd9cc20e)
2022-04-04 14:24:28 +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
Oliver Walters
f9a0bf822e Add more fixture data
- Stock items for part 100 (Bob)
2022-04-02 09:54:55 +11:00
Matthias
07aaa457de
PEP fix 2022-04-02 00:04:25 +02:00
Matthias
66e14b6ad0
move helper function to models.py 2022-04-02 00:01:38 +02:00
Matthias
80fa8f6d18
remove double definition 2022-04-01 23:57:49 +02:00
Matthias
57f9ef75e9
enable all functions for deleted company 2022-04-01 23:55:08 +02:00
Oliver Walters
9ad260e8e0 Bump API version 2022-04-01 17:46:15 +11:00
Oliver Walters
bf6a9b69ce Annotate with "unallocated_stock" quantity (calculated field) 2022-04-01 17:44:05 +11:00
Oliver Walters
94068f6bad Adds annotation for build order allocation count 2022-04-01 17:31:01 +11:00
Oliver Walters
4e100643f5 Add annotation for "allocated_to_sales_orders" 2022-04-01 17:24:15 +11:00
Kálmán Rózsahegyi
6bd5e652ee Fix translation on delete_build form 2022-03-31 15:23:26 +02:00
Oliver
6eab3dbf09
Translation merge (#2792)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-03-30 15:47:45 +11:00
Oliver Walters
4c6ad6facf Other changes as requested 2022-03-30 12:42:57 +11:00
Matthias
c278a5397f
add doc 2022-03-30 01:42:00 +02:00
Matthias
1d24f3586d
PEP fix 2022-03-30 01:35:21 +02:00
Matthias
e7f940810a
PEP style fix 2022-03-30 01:32:41 +02:00
Matthias
48441ea48e
add docstring 2022-03-30 01:32:29 +02:00
Matthias
924e46a0e3
hide purchase buttopn if special button 2022-03-30 01:32:09 +02:00
Matthias
b38b540616
hide the button group if no action allowed 2022-03-30 01:31:39 +02:00
Matthias
0d2fbe16f5
hide the action buttons if special object 2022-03-30 01:31:02 +02:00
Matthias
44239cba08
hide delete button 2022-03-30 01:30:32 +02:00
Matthias
d068b0a064
do not show in admin 2022-03-30 01:30:21 +02:00
Matthias
6c6c47c60e
do not import / export 2022-03-30 01:30:02 +02:00
Matthias
aa30e62ad8
[BUG] Deleting a Customer Breaks Associated Sales Orders
Add special protected deleted company
Fixes #2788
2022-03-30 01:29:36 +02:00
Oliver Walters
a45e2c0199 Padding adjustments 2022-03-30 08:18:25 +11:00
Matthias
05cc34f573
add test for so 2022-03-29 22:54:15 +02:00
Oliver Walters
b0ed9930dd Unit test fix 2022-03-30 00:16:43 +11:00
Oliver Walters
ba7035d7b6 JS litning fixes 2022-03-29 23:52:37 +11:00
Oliver Walters
016d802a10 Fixes for input autofocus, etc 2022-03-29 23:49:06 +11:00
Oliver Walters
f724f4a845 Add search preview for purchase orders and sales orders 2022-03-29 23:38:01 +11:00
Oliver Walters
2a604c244e Add search results for "company" 2022-03-29 23:29:17 +11:00
Oliver Walters
1f003b3f54 Add results for part categories and stock locations 2022-03-29 23:27:44 +11:00
Oliver Walters
a551bf1e81 Add options to control what is shown in search preview window 2022-03-29 23:27:25 +11:00
Oliver Walters
4bb95de4f9 Re-add button to submit "search" form and show full results 2022-03-29 23:19:23 +11:00
Oliver Walters
cc1501283d Refactoring 2022-03-29 22:59:23 +11:00
Oliver Walters
f1876ae28b Add a "searching..." indicator to show progress 2022-03-29 22:48:54 +11:00
Oliver Walters
11a6052871 remove the old search bar 2022-03-29 22:46:00 +11:00
Oliver Walters
22ee6614cc Render links for search results 2022-03-29 22:40:47 +11:00
Oliver Walters
78e5a685dc Display results for parts and stock items
- Use the existing rendering functions
2022-03-29 22:35:47 +11:00
Oliver Walters
51d26b1d16 Skeleton for displaying search results 2022-03-29 20:49:23 +11:00
Matthias
03328088a2
add missing migrations 2022-03-29 00:03:19 +02:00
Matthias
1387709281
remove coverage from reverse action 2022-03-29 00:01:34 +02:00
Matthias
4cde888be6
fix docstrings 2022-03-28 23:59:50 +02:00
Matthias
5dcb84ec0f
stop adding blank part entries 2022-03-28 23:59:28 +02:00
Matthias
2bbad1d387
add unit test for migration 2022-03-28 23:52:26 +02:00
Oliver Walters
92bff3d1b7 Merge branch 'master' into search-megamenu 2022-03-28 21:56:30 +11:00
Oliver Walters
89d0e41ebc JS lint fix 2022-03-28 20:59:34 +11:00
Oliver Walters
13af1cb853 Hide label printing buttons of labels are not enabled 2022-03-28 20:44:33 +11:00
Oliver Walters
b62905d5c4 Add user setting to enable / disable label printing 2022-03-28 20:38:57 +11:00
Oliver Walters
05344a3675 Only check for label printing plugins if plugins are enabled 2022-03-28 20:36:34 +11:00
Oliver Walters
2ce5b7c896 Make plugins_enabled variable available to javascript code 2022-03-28 20:25:47 +11:00
Oliver Walters
c4ac7e1877 Add callback for search text entery 2022-03-28 20:24:07 +11:00
Oliver Walters
7d68b3209b Add callbacks for search panel opening and closing 2022-03-28 10:18:49 +11:00
Oliver Walters
ffb89af9e5 Move search results panel into new template 2022-03-28 10:10:02 +11:00
Oliver Walters
ce396759a1 Add new javascript file (search.js)
- Empty, for now
2022-03-28 10:09:09 +11:00
Oliver Walters
2976545988 Adds a new "offcanvas" section for search results 2022-03-28 10:02:55 +11:00
Matthias
e1b3de001f
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2694 2022-03-27 23:19:41 +02:00
Matthias
760dafcdb2
use sub-context for migrations 2022-03-27 23:18:20 +02:00
Matthias
a724908423
remove blank line 2022-03-27 23:14:28 +02:00
Oliver Walters
441a947dbb Fix another quantity 2022-03-27 21:06:11 +11:00
Oliver Walters
ab7eda9d2c Add new button to navbar 2022-03-27 21:04:14 +11:00
Oliver Walters
ce323d80ea Fix floating point issues 2022-03-27 20:29:59 +11:00
Matthias
7a32f8edfc
add migration to convert items 2022-03-27 04:18:19 +02:00
Matthias
085a7c7d11
unify migrations 2022-03-27 03:16:49 +02:00
Matthias
a1a743513f
add context to extra lines 2022-03-27 01:55:55 +01:00
Matthias
68a02af9cd
finish renaming SO / PO 2022-03-27 01:41:16 +01:00
Matthias
28cec5e9e5
make function simpler 2022-03-27 01:13:09 +01:00
Matthias
bff2fb81f3
rename AdditionalLineItems to ExtraLine 2022-03-27 01:11:25 +01:00
Oliver Walters
5b949b6f60 Fix sorting for location column in part table 2022-03-27 07:45:45 +11:00
Kálmán Rózsahegyi
a523401a2f QR code scanner using camera if available 2022-03-26 19:41:51 +01:00
Kálmán Rózsahegyi
84717f8103 Add secure development server in DEBUG mode 2022-03-26 19:41:51 +01:00
Oliver Walters
e18493a397 Supply label width and height to the label printing plugin 2022-03-26 13:43:48 +11:00
Oliver Walters
3e484317d2 Register notification against the plugin class, not the particular label 2022-03-25 23:49:15 +11:00
Oliver
6e30ec5603 PEP fix 2022-03-25 16:42:20 +11:00
Oliver
15a221509b Bump API version 2022-03-25 16:40:30 +11:00
Oliver
052d9770ce Override view permissions for plugin list API
- It is necessary for *any* logged in user to view this endpoint
- This is how the user determines which plugins are available (e.g. for label printing!)
2022-03-25 16:39:43 +11:00
Oliver
9046c74628 Only send printing failed as a UI notification 2022-03-25 16:05:35 +11:00
Oliver
c1b408f8a3 Send notification if printing fails
If label printing fails (due to a plugin error) then the user is notified.
2022-03-25 15:57:32 +11:00
Oliver
011d97db3d Tweak display of label printing plugins 2022-03-25 14:20:25 +11:00
Oliver
bc48a95844 PEP fixes 2022-03-25 14:13:02 +11:00
Oliver
5ee9af7f0e Remove old "get_filters" function
- It was confusing!
- Manually filter where required
2022-03-25 14:10:05 +11:00
Oliver
63b5b95610 Ensure that kwargs are correctly passed through the settings chain
Problem: validate_unique fails

- Otherwise, the <plugin> object is not correctly passed
- Then, validate_unique fails
2022-03-25 13:43:19 +11:00
Oliver Walters
293294cce8 Merge remote-tracking branch 'inventree/master' into order-parts-wizard 2022-03-24 20:54:38 +11:00
Oliver Walters
acd796f127 Add 'plugins_enabled' information to the root API endpoint 2022-03-24 20:11:17 +11:00
Oliver
708ba566cb URL fix 2022-03-24 16:44:46 +11:00
Oliver
b2b9ceec46 javascript fixes 2022-03-24 16:38:01 +11:00
Oliver
f24aa37f8f Allow labels to be printed from the "incomplete build output" table 2022-03-24 16:34:47 +11:00
Oliver
2fc522ad15 Hard code url - it is not always available 2022-03-24 16:34:31 +11:00
Oliver
fcdd1eb55b Remove old function call 2022-03-24 16:18:50 +11:00
Oliver
efc6af5f4c PEP fixes 2022-03-24 16:18:08 +11:00
Oliver
f50dab22a6 fixes for label template 2022-03-24 16:17:04 +11:00
Oliver
6c25a5805d Allow offloading of label printing to the configured plugin 2022-03-24 14:57:01 +11:00
Oliver
f1f07a1977 Extract plugin information from label printing request 2022-03-24 13:31:01 +11:00
Oliver
e62b6063bb If printing plugins are available, let the user select them when printing 2022-03-24 13:20:26 +11:00
Oliver
86b5655c5f Simplify new plugin class 2022-03-24 13:15:57 +11:00
Oliver
4e041e97b9 Catch potential IntegrityError when importing plugins 2022-03-24 13:00:03 +11:00
Oliver
69e9d1625a Adds a LabelPrintingMixin plugin class
- Enables the implementation of custom label printing plugins
- Will be available directly from the "print labels" dialog box
2022-03-24 12:51:27 +11:00
Oliver
bd0bf4368c Remove more debug messages 2022-03-24 12:08:56 +11:00
Oliver
66487817dd Remove debug messages 2022-03-24 12:03:16 +11:00
Oliver
31b71fe29f Catch error when incorrect date format string is passed 2022-03-24 11:56:39 +11:00
Oliver
b720c2e431 Check for empty string when rendering dates 2022-03-24 11:49:34 +11:00
Oliver Walters
4fc605ee28 Render a form for ordering parts 2022-03-23 21:26:11 +11:00
Oliver
f92aa07f82 Fix null values in build order serial number field 2022-03-23 12:01:50 +11:00
Oliver Walters
f2806b2e41 Tweaks for existing form code 2022-03-21 23:19:27 +11:00
Oliver Walters
64bbcd2570 Add validation checks for the PurchaseOrderLineItem serializer 2022-03-21 22:41:50 +11:00
Oliver Walters
b4f8136142 Don't add "remove row" button if there is only one row 2022-03-21 21:58:21 +11:00
Oliver
27b55eb8f8
Merge pull request #2764 from SchrodingersGat/notification-settings
Notification settings
2022-03-21 09:29:38 +11:00
Matthias Mair
ce68ee3781
Merge branch 'inventree:master' into matmair/issue2694 2022-03-20 22:15:27 +01:00
Oliver
c082cec3ee
Merge pull request #2748 from matmair/matmair/issue2524
Run plugin install on startup
2022-03-21 07:15:37 +11:00
Matthias
eef51600c5
do not write to db 2022-03-20 18:10:42 +01:00
Oliver Walters
c8bbd25001 Bug fix 2022-03-20 19:41:42 +11:00
Oliver Walters
ace61c6aab Little bit of eye candy 2022-03-20 19:38:40 +11:00
Oliver Walters
9cc2cc5683 Fix asynchronous order of events for "mark all as read" button 2022-03-20 19:36:52 +11:00
Oliver Walters
5f98cdf3c7 Email notifications are only sent for users who have the setting enabled 2022-03-20 19:31:59 +11:00
Oliver Walters
d2969d0235 Adds a per-user setting to allow sending of emails for notification events 2022-03-20 19:19:42 +11:00
Oliver
8be6223967
Merge pull request #2372 from matmair/matmair/issue2279
Notification center and refactor
2022-03-20 19:07:16 +11:00
Oliver
bab47d1425
Merge pull request #2763 from SchrodingersGat/bo-allocation-table-fix
Fix table toolbar for stock item allocations
2022-03-20 16:43:40 +11:00
Oliver
402104448f
Merge pull request #2746 from matmair/fix-set_user
Fix set user
2022-03-20 16:34:24 +11:00
Matthias
2bb4e55d4a
remove test
something complex is happning on gh actions
2022-03-20 02:59:08 +01:00
Matthias Mair
cc50eff3a1
Merge branch 'master' into matmair/issue2694 2022-03-20 02:29:20 +01:00
Matthias
2861ee0843
another style fix 2022-03-20 02:26:36 +01:00
Matthias
20b0ccefea
style fix 2022-03-20 02:23:11 +01:00
Matthias
c139b90598
move button 2022-03-20 02:05:30 +01:00
Matthias
a4c9dfdd6f
add read all endpoint 2022-03-20 02:05:18 +01:00
Matthias
0fa8af6cd8
translate the notifications too 2022-03-20 00:58:45 +01:00
Matthias
b0e6b6071f
make requeseted changes from code review 2022-03-20 00:29:58 +01:00
Matthias
62a81c1a62
Change icons
https://github.com/inventree/InvenTree/pull/2372#issuecomment-1073005561
2022-03-20 00:26:04 +01:00
Matthias
028fff1473
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-03-20 00:23:29 +01:00
Oliver Walters
7db4e5c6c7 Fix table toolbar for stock item allocations 2022-03-20 09:15:08 +11:00
Oliver Walters
c103f0c100 Do not generate parameter data on the server side when rendering part category templates 2022-03-19 22:14:18 +11:00
Oliver Walters
467febf9ea The part parameter table is now loaded via the API 2022-03-19 22:09:17 +11:00
Oliver Walters
81d5ff8f79 Adds ability to list part parameters via the Part API 2022-03-19 21:56:57 +11:00
Oliver Walters
62d01cdbab Adds filtering options to PartParameterTemplate endpoint
- Allows filtering by part
- Allows filtering by category
2022-03-19 21:31:28 +11:00
Matthias
494c4ed03d
only raise if integrity error 2022-03-18 23:58:17 +01:00
Matthias
b914888c20
run reload 2022-03-18 23:51:44 +01:00
Matthias
e53e428a32
remove unneeded print 2022-03-18 23:50:13 +01:00
Oliver Walters
c3ea94827b Load stock location pages "on demand" 2022-03-19 07:50:37 +11:00
Oliver Walters
52a0665e32 load category tables "Just in time" 2022-03-18 23:28:46 +11:00
Oliver Walters
335f0ceb79 Improve form rendering for part parameter template 2022-03-18 23:20:53 +11:00
Oliver Walters
807dfebb03 Prevent forced creation of default currency setting 2022-03-18 23:16:54 +11:00
Oliver
5ddf5aed57
Translation merge (#2757)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-03-18 21:14:01 +11:00
Matthias Mair
eeccf8e6bf
pep fix 2022-03-18 07:52:36 +01:00
Matthias Mair
0cd8aae250
raise blocker again 2022-03-18 07:50:02 +01:00
Matthias Mair
a97f2be8fa
remove test 2022-03-18 07:49:16 +01:00
Matthias Mair
a1791645fa
just raise 2022-03-18 02:19:32 +01:00
Matthias
d32952fe23
add another debug message 2022-03-18 01:43:42 +01:00
Oliver
277f9451a1
Merge pull request #2759 from matmair/matmair/issue2756
[BUG] ValueError on Part page
2022-03-18 11:12:10 +11:00
Matthias
a06844d7e9
add additional debug messges 2022-03-18 00:46:37 +01:00
Matthias
927f7bbdad
only render it as a date 2022-03-18 00:05:12 +01:00
Matthias
771f6de93a
[BUG] ValueError on Part page
Fixes #2756
2022-03-17 23:56:48 +01:00
Oliver
278887e11c
Merge pull request #2751 from SchrodingersGat/sales-order-allocation-fixes
Sales order allocation fixes
2022-03-17 09:09:20 +11:00
Matthias
3606bd8fe4
add try to settings test 2022-03-16 17:03:04 +01:00
Matthias Mair
57df39086c
Merge branch 'inventree:master' into fix-set_user 2022-03-16 15:16:26 +01:00
Matthias Mair
966eb60dd8
Merge branch 'inventree:master' into matmair/issue2694 2022-03-16 15:16:07 +01:00
Matthias Mair
1e57bdcfba
Merge branch 'inventree:master' into matmair/issue2279 2022-03-16 15:15:46 +01:00
Matthias Mair
91464ad3d0
Merge branch 'inventree:master' into matmair/issue2524 2022-03-16 15:15:27 +01:00
Matthias
8f10ef817c
add setting for reload 2022-03-16 14:47:27 +01:00
Oliver
38d33a3f5f Display a message if scheduling information is unavailable for a given part 2022-03-16 23:48:49 +11:00
Oliver
219fd1da41 Template fixes for part sidebar display 2022-03-16 23:39:21 +11:00
Oliver
c447fb2c1c Improve stock overview display on part page 2022-03-16 23:36:44 +11:00
Oliver
4a381c7474 Part allocation query improvements 2022-03-16 23:28:30 +11:00
Oliver
c49cd52df7 style fix 2022-03-16 23:27:39 +11:00
Oliver
e2179fb4d1 Fixes for display of allocation tables (build order and / or sales order)
- Hide these tables where they do not make sense for a given Part or StockItem
- Remove redundant "loadStockAllocationTable" function
2022-03-16 23:25:51 +11:00
Oliver
e691536a84 Remove redundant table on Part page 2022-03-16 23:13:29 +11:00
Oliver
6ca61e2cd7 Fix rendering for "sales order allocations" table 2022-03-16 23:09:18 +11:00
Oliver
d1338e210e Only display "outstanding" sales order allocations in table 2022-03-16 23:01:46 +11:00
Oliver
529acb3bf6 Fix queries for displaying sales order allocation quantities 2022-03-16 22:57:30 +11:00
Oliver
adc44184b6
Merge pull request #2747 from matmair/matmair/issue1697
Add field with last updated to supplier price break
2022-03-16 07:14:25 +11:00
Matthias Mair
e4c293f721
fix formatter 2022-03-15 13:43:41 +01:00
Matthias
51860a4e7b
run with u flag 2022-03-15 01:33:01 +01:00
Matthias
5f9a549918
docs 2022-03-15 01:27:14 +01:00
Matthias
e398d64885
just use the setting 2022-03-15 01:25:52 +01:00
Matthias
d9d2f39072
just run install 2022-03-15 01:24:58 +01:00
Matthias Mair
9d001c07bd
fix assertation 2022-03-15 00:04:57 +01:00
Matthias
38938e892b
[FR] [Plugin] Check if all plugins are really installed
Fixes #2524
2022-03-14 23:50:09 +01:00
Matthias
cba0ca26ba
PEP fix 2022-03-14 23:34:34 +01:00
Matthias
f72979f2df
add doc-text 2022-03-14 23:30:37 +01:00
Matthias
1c9a29dfb8
add new 'updated' field to supplier price break table 2022-03-14 23:28:42 +01:00
Matthias
ef8c656b4f
update API endpoint 2022-03-14 23:24:37 +01:00
Matthias
752b70c1f7
Add "last updated" field to supplier price break
Add model
Fixes #1697
2022-03-14 23:22:29 +01:00
Matthias Mair
4100834ce9
Merge branch 'inventree:master' into matmair/issue2279 2022-03-14 23:14:29 +01:00
Matthias Mair
69a792a520
Merge branch 'inventree:master' into matmair/issue2694 2022-03-14 23:14:17 +01:00
Matthias Mair
a024df0147
Merge branch 'inventree:master' into coverage-changes 2022-03-14 23:14:14 +01:00
Matthias
ce9bbb4f2e
add plug back in 2022-03-13 22:36:07 +01:00
Matthias
44a2845a75
add test back in 2022-03-13 22:35:46 +01:00
Matthias
c5047e8779
remove new helper 2022-03-13 22:35:14 +01:00
Matthias
4e6c5f90f7
plug do_raise for enviroment var manipulating 2022-03-13 21:36:55 +01:00
Matthias
4a7f9630a5
add test for adding duplicate user 2022-03-13 21:35:16 +01:00
Matthias
34dd39b2fc
fix error message 2022-03-13 21:34:50 +01:00
Matthias
33d9913f78
do not cover programming error 2022-03-13 21:11:22 +01:00
Matthias
3b642695a8
PEP fix 2022-03-13 21:11:06 +01:00
Matthias
fbe3bf739a
ignore exchange rate - using external api so not reliable 2022-03-13 21:06:49 +01:00
Matthias
de73aa4ec5
can never be covered 2022-03-13 21:05:56 +01:00
Matthias
5f9f5555b6
ignore depreciated function in coverage 2022-03-13 21:01:16 +01:00
Matthias
080ee2ea50
remove dead code 2022-03-13 20:58:40 +01:00
Matthias
b1a3445338
ignore coverage for points that only gets reached by deadly broken plugins 2022-03-13 20:57:25 +01:00
Matthias
a3d0dcb5bb
only applicable in mulithread enviroments 2022-03-13 20:56:36 +01:00
Matthias
aee8ca1c78
do not cover safety functions for wrongly conf swarms 2022-03-13 20:56:16 +01:00
Matthias
f2aeab09ec
should never be reached 2022-03-13 20:55:25 +01:00
Matthias
08d2e74521
do not cover disabled / debugging plugins cases 2022-03-13 20:55:11 +01:00
Matthias
e0e87efb8c
do not cover old import 2022-03-13 20:53:49 +01:00
Matthias
312441c2f5
PEP fix 2022-03-13 20:46:44 +01:00
Matthias
df74bdfacd
ignore unkown errors for coverage 2022-03-13 20:45:40 +01:00
Matthias
1b9e980144
evals error out on gh action 2022-03-13 20:44:55 +01:00
Matthias
a28b1e97cc
worker will not run in debug mode 2022-03-13 20:44:25 +01:00
Matthias
5a2bfaaf19
refactor to keep namespace cleaner 2022-03-13 20:39:20 +01:00
Matthias
00637f4b6c
test instance name 2022-03-13 20:38:02 +01:00
Matthias
44fb356a3b
ignore parts that can not be reached on a dev version 2022-03-13 20:24:44 +01:00
Matthias
2286e203ca
test get_settings helper 2022-03-13 20:23:18 +01:00
Matthias
2c22ce9f0d
test plugin file helper 2022-03-13 20:18:00 +01:00
Matthias
646107fee0
omit helpers from coverage 2022-03-13 20:09:54 +01:00
Matthias
1c7f37e52a
add test for cfg file helper 2022-03-13 20:06:43 +01:00
Matthias
af95779ed0
superusers are not tested in CI 2022-03-13 19:49:58 +01:00
Matthias
1e4727d733
ignore precaution for plugin programmers srewing up in coverage 2022-03-13 19:48:49 +01:00
Matthias
e68cc25294
ignore programming error in coverage 2022-03-13 19:48:04 +01:00
Matthias
4c36737b9f
add empty data 2022-03-13 19:46:42 +01:00
Matthias
59a1d12534
PEP fix 2022-03-13 19:44:43 +01:00
Matthias
beb170c02d
ignore wrong lookup values for coverage 2022-03-13 19:42:06 +01:00
Matthias
bd2b279390
add coverage to barcode api 2022-03-13 19:38:57 +01:00
Matthias
925ae73eaa
fix docstring 2022-03-13 19:16:03 +01:00
Matthias
a68ee5ce0b
fix API assertations 2022-03-12 03:52:50 +01:00
Matthias
4eaa655a7c
ignore for coverage 2022-03-12 03:43:04 +01:00
Matthias
56ebb0fd0e
ignore custom admin form 2022-03-12 03:40:50 +01:00
Matthias
d8fc56cf61
ignore m2m for coverage 2022-03-12 03:40:27 +01:00
Matthias
b88a6ccdb5
test default value with as_int and fix it 2022-03-12 03:35:20 +01:00
Matthias
76fd529374
add test for as_bool 2022-03-12 03:20:14 +01:00
Matthias
e8ec0dc46b
add test for as_choice 2022-03-12 03:19:00 +01:00
Matthias
d8c20894ce
add uid to stockitem 2022-03-12 03:10:24 +01:00
Matthias
a4737a1a2f
barcode / InvenTreePugin test errors 2022-03-12 03:09:37 +01:00
Matthias
3a2b52ae53
barcode add error coverage 2022-03-12 02:18:21 +01:00
Matthias
92279b2f8f
remove theme test 2022-03-12 01:50:05 +01:00
Matthias
1e164fea5b
Add API test 2022-03-12 01:45:34 +01:00
Matthias
d2e8b2cc2b
run just empty task - auto_now is a hard to test 2022-03-12 01:38:08 +01:00
Matthias
91b4e7167d
test that the task is running 2022-03-12 01:32:18 +01:00
Matthias
4a0f710fec
PEP fix 2022-03-12 00:57:37 +01:00
Matthias
92398d7b39
ignore in coverage 2022-03-12 00:54:08 +01:00
Matthias
5587c04d0d
test color theme 2022-03-12 00:53:39 +01:00
Matthias
00b76ace77
increase coverage of settings 2022-03-12 00:28:04 +01:00
Matthias
e05ebce058
test allValues 2022-03-12 00:27:37 +01:00
Matthias
e955b75041
test restart flag reset 2022-03-11 23:41:30 +01:00
Matthias
6a5dc33e20
ignore admin rendering fields for coverage 2022-03-11 23:32:36 +01:00
Matthias
b977a8c124
[BUG] Wrong icon on the place order button
Use paper plane as symbol
Fixes #2742
2022-03-11 23:27:51 +01:00
Matthias
4b8a2e3c1f
fix js function call 2022-03-11 02:18:46 +01:00
Matthias
6516d9dbe6
fix permission check 2022-03-11 02:18:24 +01:00
Matthias
b34f39cc44
fix wrong fix ;-) 2022-03-11 02:16:05 +01:00
Matthias
f1f0027cef
fix wrong reference for POs 2022-03-11 02:10:21 +01:00
Matthias
98ea838ec4
fix serializer 2022-03-11 01:55:13 +01:00
Matthias
771fc6ada8
style fixes 2022-03-11 01:44:13 +01:00
Matthias
934754ddff
migration for PO additional item 2022-03-11 01:18:50 +01:00
Matthias
f5d3a64aef
add missing class 2022-03-11 01:18:26 +01:00
Matthias
721f2cb63b
PEP fix 2022-03-11 01:04:37 +01:00
Matthias
2e05cc670d
fix definition 2022-03-11 01:04:29 +01:00
Matthias
c6383e9f7e
add user ruleset 2022-03-11 00:59:07 +01:00
Matthias
e841b7faf6
add HTML templates for PO 2022-03-11 00:58:18 +01:00
Matthias
76698ec627
add js function for PO 2022-03-11 00:57:31 +01:00
Matthias
06bd7130f5
remove dead code 2022-03-11 00:51:20 +01:00
Matthias
8fbd776419
make naming more abstract 2022-03-11 00:49:49 +01:00
Matthias
b7e5f6a109
name more abstract 2022-03-11 00:47:24 +01:00
Matthias
17d421fb7e
fix export order 2022-03-11 00:46:56 +01:00
Matthias
84dd85852b
fix naming 2022-03-11 00:46:42 +01:00
Matthias
3f038b4c51
add additional line items to reports for PO 2022-03-11 00:46:21 +01:00
Matthias
c69fdf90d9
add PO serializer 2022-03-11 00:34:16 +01:00
Matthias
2ae038a006
use abstract classes 2022-03-11 00:33:59 +01:00
Matthias
e2d301be3f
add total to PO serializer 2022-03-11 00:26:27 +01:00
Matthias
d086f09771
use more abstract definitions 2022-03-11 00:25:58 +01:00
Matthias
0a1961bc31
Add additionallLineItems for POs 2022-03-11 00:22:11 +01:00
Matthias
84a95aaadb
spelling fix 2022-03-11 00:21:43 +01:00
Matthias
c6d0c03adf
more abstraction 2022-03-11 00:21:33 +01:00
Matthias
72d565d17a
move to abstract model 2022-03-11 00:20:36 +01:00
Matthias
2036164ef1
add po API endpoints 2022-03-11 00:09:07 +01:00
Matthias
c30e8d9b4e
make more generalised 2022-03-11 00:08:39 +01:00
Matthias
df418c503e
reduce duplication 2022-03-11 00:02:18 +01:00
Matthias
6ef7cb82b4
Add admin for PO additional line 2022-03-10 23:57:59 +01:00
Matthias
55df46c8b9
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2694 2022-03-10 23:50:42 +01:00
Oliver
9f171faf1c
I18n merge (#2737)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-03-10 20:25:43 +11:00
Oliver
266e5555c5 Add unit testing for PartCategory tree updates 2022-03-10 15:33:29 +11:00
Oliver
82840b0590 Adds custom delete routine for PartCategory model 2022-03-10 15:01:20 +11:00
Oliver
24af134a87 Fix behaviour when deleting a StockLocation
Adds unit tests
2022-03-10 14:56:44 +11:00
Oliver
d5fe62262d Refactor "delete part category" dialog
- Translations
- Simplification
2022-03-10 12:51:49 +11:00
Oliver
9bc686b76f Refactor "delete stock location" dialog
- Simplify dialog
- Make text translatable
2022-03-10 12:44:57 +11:00
Oliver
4caf73e0e3 Change sidebar text to be consistent 2022-03-09 16:19:52 +11:00
Oliver
7af302f08e
Merge pull request #2731 from SchrodingersGat/exclude-from-location
Add "exclude_location" to build order auto-allocation
2022-03-09 15:51:14 +11:00
Oliver
cf2c078952 Add spinning logo 2022-03-09 15:27:44 +11:00
Oliver
fe12b889d0
Merge pull request #2730 from SchrodingersGat/warning-messages
Change error messages to warnings when rebuilding thumbnails
2022-03-09 15:24:21 +11:00
Oliver
4cd41bd0a3 Display "loading" until allocations loaded 2022-03-09 15:23:23 +11:00
Oliver
4191a043b2 Add "exclude_location" to build order auto-allocation 2022-03-09 14:57:57 +11:00
Oliver
bda827001b Change error messages to warnings when rebuilding thumbnails 2022-03-09 14:51:39 +11:00
Oliver
927e206e14
Merge pull request #2729 from SchrodingersGat/build-allocation-load-speed
Bug fix for build order panel loading
2022-03-09 14:41:57 +11:00
Oliver
fe8ea5568f Bug fix for build order panel loading 2022-03-09 13:58:48 +11:00
Oliver
dd5cda281e
Merge pull request #2727 from SchrodingersGat/build-allocation-load-speed
Bug fixes for build output creation
2022-03-09 13:46:56 +11:00
Oliver
9f8f900e17 Wrap server queries in onPanelLoad calls, to reduce initial page load time 2022-03-09 13:14:04 +11:00
Oliver
7986e0752d Bug fix: Allocation quantity for "auto allocate" of tracked parts must be 1 2022-03-09 13:03:38 +11:00
Oliver
39e8b2af0f Allow setting to be checked without being created
- Prevents crash when trying to load exported dataset
2022-03-09 12:43:27 +11:00
Oliver
fda556c289
Merge pull request #2695 from SchrodingersGat/scheduling
[WIP] Scheduling
2022-03-09 12:06:55 +11:00
Oliver
c699e208cf JS linting 2022-03-09 10:41:07 +11:00
Oliver
d56fed3211 Fixes for "duplicate stock item" form
- Redirect to the new stock item
- Display a success message
2022-03-09 10:34:47 +11:00
Matthias
07fb55bf9c
Add report reference 2022-03-08 21:37:57 +01:00
Matthias Mair
ec021624cd
Merge branch 'inventree:master' into matmair/issue2694 2022-03-08 21:26:21 +01:00
Matthias Mair
0a9e85e801
Merge branch 'inventree:master' into matmair/issue2279 2022-03-08 21:26:05 +01:00
Oliver
f7d724aa0c Merge remote-tracking branch 'inventree/master' into scheduling
# Conflicts:
#	InvenTree/InvenTree/version.py

(Update API version)
2022-03-08 12:25:36 +11:00
Oliver
8a8fd1b4ba
I18n merge (#2723)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-03-08 10:45:17 +11:00
Oliver
6e82709a48
Merge pull request #2721 from SchrodingersGat/big-serial-fix
Big serial fix
2022-03-07 15:30:37 +11:00
Oliver
6fcc9ec8f0 Unit test fixes 2022-03-07 15:01:15 +11:00
Oliver
ac512cb8bb Add test for very large serial number 2022-03-07 14:52:31 +11:00
Oliver
09ff4862ec Unit test fixes 2022-03-07 14:43:55 +11:00
Oliver
0adf89e793 Add unit tests for serial number functionality 2022-03-07 14:07:01 +11:00
Oliver
2f3f57148a Refactor previous code for looking up "previous" and "next" serial numbers
- Old way was extremely inefficient, especially when large spaces existed between serial numbers
- New method reduces O(n) to O(1)
2022-03-07 13:47:38 +11:00
Oliver
d9f73ae05b Clip integer versions of serial numbers to specified range 2022-03-07 12:27:00 +11:00
Oliver
bcc4267827
Merge pull request #2720 from SchrodingersGat/barcode-scan-fix
Barcode scan fix
2022-03-07 12:25:46 +11:00
Oliver
9b14a41e83 Add unit tests for barcode scanning API 2022-03-07 11:20:07 +11:00
Matthias Mair
2c8e7ac810
Merge branch 'inventree:master' into matmair/issue2279 2022-03-07 00:03:47 +01:00
Matthias Mair
b9ee436110
Merge branch 'inventree:master' into matmair/issue2694 2022-03-07 00:03:33 +01:00
Matthias
4e832bb9ac
make sure 'no date' elements do not fail 2022-03-07 00:01:30 +01:00
Matthias
66601a516b
style fix 2022-03-06 23:50:29 +01:00
Matthias
174bba90ab
total read only 2022-03-06 23:49:36 +01:00
Oliver
0f48ca6008 Ensure that the native barcode scan plugin is *always* in use 2022-03-07 09:48:39 +11:00
Matthias
e2f54880f0
style fix 2022-03-06 23:46:59 +01:00
Matthias
7a54cb4cb8
merge migrations 2022-03-06 23:38:59 +01:00
Matthias
43395aca34
style fixes 2022-03-06 23:35:55 +01:00
Matthias
5336d09296
fix api values 2022-03-06 23:34:01 +01:00
Oliver
776138f2e2
Merge pull request #2713 from SchrodingersGat/auto-allocate
Adds "Auto allocate" feature for build orders
2022-03-07 09:32:49 +11:00
Matthias
f0b19e69b8
add total price woth js reload 2022-03-06 23:21:33 +01:00
Matthias Mair
56142b9303
Merge branch 'inventree:master' into matmair/issue2694 2022-03-06 19:54:14 +01:00
Matthias Mair
d9e27b7ecf
Merge branch 'inventree:master' into matmair/issue2279 2022-03-06 19:54:06 +01:00
Matthias
53602c94b7
remove dead code 2022-03-06 19:52:08 +01:00
Matthias
36d288fc27
remove detail view 2022-03-06 19:51:53 +01:00
Matthias
d747418937
remove target_date 2022-03-06 19:50:59 +01:00
Matthias
010f3f4f1e
fiy style 2022-03-06 19:32:08 +01:00
Matthias
ab876bf95d
use right field def 2022-03-06 19:31:50 +01:00
Matthias
de11b3463e
add API schema 2022-03-06 18:44:05 +01:00
Matthias
3452880d2a
add search to API 2022-03-06 18:43:40 +01:00
Matthias
acec4fa5d5
remove titile 2022-03-06 18:43:27 +01:00
Matthias
ed75970010
ad UI components 2022-03-06 18:42:10 +01:00
Oliver Walters
89f2317e1c Bug fix for stock serial numbers:
- empty strings do not count as a valid serial number
2022-03-06 22:18:31 +11:00
Matthias
44e1021063
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2694 2022-03-05 23:34:06 +01:00
Matthias
aed708d339
PEP fix 2022-03-05 23:25:00 +01:00
Matthias
b81d2b8410
cut back on modifications 2022-03-05 23:10:20 +01:00
Oliver
83fbc6159c Add table filter buttons to incomplete build output table 2022-03-04 17:47:46 +11:00
Oliver
4bb7c65d8a Template fix 2022-03-04 17:42:37 +11:00
Oliver
d06def3c29 Improve dialog message when allocating stock to a build order 2022-03-04 17:40:04 +11:00
Oliver
70c9c9473d Unit test fixes 2022-03-04 17:27:07 +11:00
Oliver
4151d94240 JS linting 2022-03-04 16:34:26 +11:00
Oliver
d2027dc590 Increment API version 2022-03-04 16:29:26 +11:00
Oliver
0bb0047fcd Add unit tests for the auto_allocate_stock method 2022-03-04 16:27:50 +11:00
Oliver
71cd6c93d1 Assign sorting priority when allocating parts to a build order
1. Direct match parts
2. Variant parts
3. Any other parts (e.g. substitute parts)
2022-03-04 16:02:50 +11:00
Oliver
434f563a41 Adds API endpoint for "auto allocating" stock items against a build order.
- If stock exists in multiple locations, and the user "does not care" where to take from, simply iterate through and take
2022-03-04 15:26:00 +11:00
Oliver
64dd870436 Fix broken URL 2022-03-04 12:23:47 +11:00
Matthias
157f0e72a7
[FR] Add delivery cost (excluding unit cost that already exists) in PO
Fixes #2694
2022-03-04 01:06:39 +01:00
Matthias Mair
6071f6545b
Merge branch 'inventree:master' into matmair/issue2279 2022-03-03 23:55:04 +01:00
Oliver
07da25bfd6 Unit test fixes 2022-03-04 00:46:12 +11:00
Oliver
846899fa53 Adds ability to download purchase order line item table 2022-03-04 00:45:30 +11:00
Oliver
f6b574a127 Merge remote-tracking branch 'inventree/master' into duplicate-order-lines 2022-03-04 00:38:50 +11:00
Oliver
0ac86417a7 Adds "duplicate line item" button to purchase order and sales order tables 2022-03-04 00:36:26 +11:00
Oliver
99f3d97f13
Merge pull request #2709 from SchrodingersGat/stock-exporter
Stock export refactor
2022-03-04 00:26:49 +11:00
Oliver
0ba71956cd Add unit tests 2022-03-04 00:02:30 +11:00
Oliver
0af636d2b1 Pass options back through when re-creating filter list 2022-03-03 21:23:01 +11:00
Oliver
ba406a4da9 Refactorin'
- Add the "download" button into the "filters" list
- Cuts down on boilerplate code
2022-03-03 21:16:27 +11:00
Oliver
85e9c4d3ca JS linting 2022-03-03 17:47:23 +11:00
Oliver
0ec0f55e17 Style fixes 2022-03-03 17:44:12 +11:00
Oliver
4f74a27e1a Exporting data from a Part table now uses the API too
- Makes use of the existing table filters
- Exported data matches exactly what you see in the table!
2022-03-03 17:42:31 +11:00
Oliver
73a32f66c8 Adds ability to export stock "assigned" to a particular customer 2022-03-03 17:31:25 +11:00
Oliver
10cc72910d Remove StockExport view (no longer required!) 2022-03-03 17:25:41 +11:00
Oliver
8bf84ec217 Remove calls to "exportStock" 2022-03-03 17:25:31 +11:00
Oliver
51de436d42 User can select export format 2022-03-03 17:21:04 +11:00
Oliver
6b7a0fde1b Store table query parameters when performing a bootstrap-table query
- For now it only supports .csv format
2022-03-03 17:17:27 +11:00
Oliver
549f16b7aa Adds "export" option to StockItem API endpoint, allowing export to file 2022-03-03 13:53:09 +11:00
Oliver
67d0033ab3 Allows BOM to be copied for any part, not just variant parts 2022-03-03 13:19:25 +11:00
Oliver
15ec3836d5
Merge pull request #2706 from matmair/test_checker
Add user with variable
2022-03-03 12:45:27 +11:00
Matthias
e11fa338b6
also test empty 2022-03-03 00:52:10 +01:00
Matthias
a158ecf401
reset to previous 2022-03-02 23:41:41 +01:00
Matthias
771d82bdc2
style fix 2022-03-02 23:40:46 +01:00
Matthias
941efd08d1
change type of error 2022-03-02 23:36:53 +01:00
Matthias
c893b81314
remove the wrong setting 2022-03-02 23:34:44 +01:00
Oliver
954f0afb85 Merge branch 'master' into scheduling 2022-03-03 09:15:08 +11:00
Matthias
7d58db4336
full set again 2022-03-02 22:52:14 +01:00
Matthias
d03af8f5b0
nothing test 2022-03-02 22:50:36 +01:00
Matthias
2c6731df0c
add ENVs back in 2022-03-02 22:49:05 +01:00
Oliver
7e007d096a
Merge pull request #2704 from SchrodingersGat/bom-tree
Re-enable display of multi-level BOM
2022-03-03 08:46:27 +11:00
Matthias
48583f470c
remove testing code 2022-03-02 19:54:40 +01:00
Oliver
8dcf061581
Translations (#2701)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.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-03-02 22:50:05 +11:00
Oliver
fb4e44b73f Re-enable display of multi-level BOM 2022-03-02 22:46:58 +11:00
Oliver
55d09c4469
Merge pull request #2699 from SchrodingersGat/duplicate-bom-subs
Allow duplication of subtitute parts when copying a BOM
2022-03-02 21:50:18 +11:00
Oliver
676266215e Errant F 2022-03-02 21:50:02 +11:00
Matthias
d018654c9c
fix settings override? 2022-03-02 00:17:00 +01:00
Matthias Mair
b2676e3629
Merge branch 'inventree:master' into matmair/issue2501 2022-03-01 20:19:23 +01:00
Matthias Mair
56e6783556
Merge branch 'inventree:master' into matmair/issue2279 2022-03-01 20:14:25 +01:00
Matthias Mair
0957feafa1
fix test 2022-03-01 20:12:38 +01:00
Oliver
0d2bfa6839
Merge pull request #2698 from SchrodingersGat/delete-serialized-stock
Allows deletion of serialized stock
2022-03-02 00:32:59 +11:00
Oliver
35451be4f2
Merge pull request #2697 from SchrodingersGat/allocation-bug
Bug fix for BuildOrder.bom_items
2022-03-02 00:32:35 +11:00
Oliver
5dc543618e Allow duplication of subtitute parts when copying a BOM 2022-03-02 00:31:50 +11:00
Oliver
f6b3760bb5 Make UI elements more consistent
Ref: https://github.com/inventree/InvenTree/issues/2692
2022-03-02 00:05:02 +11:00
Oliver
aeb9dfe371 Allows deletion of serialized stock 2022-03-01 23:58:30 +11:00
Oliver
28a7ad7f0e Bug fix for BuildOrder.bom_items
- Now uses the query generator provided by the Part model
- No more code duplication
- More importantly, no more code duplication which is WRONG!
2022-03-01 23:53:33 +11:00
Oliver
190822a680 JS linting 2022-03-01 23:40:38 +11:00
Oliver
457bcdc0ae Fix some small template / JS errors on the "part" page 2022-03-01 23:38:02 +11:00
Oliver
9a62fe6993 style fixes 2022-03-01 23:31:18 +11:00
Oliver
e44159baea Adds (per user) setting to show or hide scheduling tab 2022-03-01 23:26:08 +11:00
Oliver
f33f1a339d Add more information to scheduling chart
Also improves chart styling
2022-03-01 23:20:08 +11:00
Oliver
776dffe779 Scheduling information is now calculated on the server, and provided via a new API endpoint
- Much simpler than sequencing multiple API calls
2022-03-01 22:54:49 +11:00
Matthias Mair
56e0b5f98d
Add as superuser 2022-03-01 12:31:56 +01:00
Matthias Mair
a500e8cf54
Fix typo 2022-03-01 12:28:31 +01:00
Matthias Mair
484a53ff8e
Update apps.py
Update env names
2022-03-01 12:26:16 +01:00
Matthias Mair
2f4cae4c9d
Update config_template.yaml
Change name for config name
2022-03-01 12:25:04 +01:00
Matthias Mair
5cc214dfbc
Update settings.py
Add comment to explain usage
2022-03-01 12:23:17 +01:00
Oliver
dfd6684699 Add incoming stock for build orders 2022-03-01 17:31:26 +11:00
Oliver
8f7164d5cd Add information for outgoing stock (sales orders) 2022-03-01 17:24:09 +11:00
Oliver
37ac8f6517 Display scheduled incoming stock for purchase orders 2022-03-01 17:13:47 +11:00
Oliver
a278e52443 Merge branch 'master' into scheduling 2022-03-01 16:50:57 +11:00
Oliver
a30e478412
Merge pull request #2685 from SchrodingersGat/date-format
Adds a user-configurable setting to configure how dates are displayed
2022-03-01 08:45:30 +11:00
Oliver
1393e38eec Adds date rendering to new target_date fields 2022-03-01 08:23:52 +11:00
Oliver
abbd087a66
Merge pull request #2688 from SchrodingersGat/custom-admin-url
Custom admin url
2022-03-01 08:21:31 +11:00
Oliver
5d37ce9175 Merge remote-tracking branch 'inventree/master' into date-format 2022-03-01 08:18:24 +11:00
Oliver
c4d462b0b4
Merge pull request #2684 from SchrodingersGat/po-target-date
Order target date improvements
2022-03-01 08:17:54 +11:00
Matthias
12c4296261
add special env testing flag 2022-02-28 21:08:27 +01:00