Commit Graph

11420 Commits

Author SHA1 Message Date
Oliver
aeb8967473 PEP fixes 2022-02-03 16:06:00 +11:00
Oliver
78b1c7a22b Skips some specific steps when importing data
- We need to prevent certain operations from running when we are importing data
- This is to prevent unique database constraints from being violated

- Do not register plugins during data import
- Do not launch notification events
2022-02-03 16:03:46 +11:00
Oliver
eef15b13ec
Merge pull request #2596 from SchrodingersGat/bom-export
Fixes issue with BOM export
2022-02-03 15:30:48 +11:00
Oliver
2b11d5ed52
Merge pull request #2595 from SchrodingersGat/build-refresh
Build refresh
2022-02-03 15:30:41 +11:00
Oliver
72be63572e Fixes issue with BOM export
- Cascading BOM export was broken
2022-02-03 14:52:38 +11:00
Oliver
c6089a2828 Reload completed output table 2022-02-03 14:47:35 +11:00
Oliver
0d6cdb1761
Merge pull request #2593 from SchrodingersGat/build-output-quantity
Prevent build outputs being created with zero quantity
2022-02-03 14:43:29 +11:00
Oliver
66e5aa4060 Reload build output table when an active build output is deleted 2022-02-03 14:23:25 +11:00
Oliver
566fd87e86 PEP style fixes 2022-02-03 14:16:33 +11:00
Oliver
b387b4e173 Prevent build outputs being created with zero quantity 2022-02-03 14:13:13 +11:00
Oliver
a41eca1cb3
Merge pull request #2588 from SchrodingersGat/migration-fix
Prevent AttributeError from being thrown
2022-02-02 13:34:04 +11:00
Oliver
ea1f1b398e Prevent AttributeError from being thrown
Ref: https://github.com/inventree/InvenTree/issues/2587
2022-02-02 12:40:10 +11:00
Oliver
dd3ac58f38
Merge pull request #2584 from SchrodingersGat/build-output-requires
Build output requires
2022-02-01 16:35:59 +11:00
Oliver Walters
00d7cf88e8 Throw validation error if no build outputs have been started 2022-02-01 15:58:18 +11:00
Oliver Walters
318e84883a Adds a warning if no build outputs are created 2022-02-01 15:51:38 +11:00
Oliver
3462cf796b
I18n merge (#2582)
* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

* Fix: New translations django.po from Crowdin

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