Commit Graph

12253 Commits

Author SHA1 Message Date
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
7f888923c8
Merge pull request #2725 from SchrodingersGat/duplicate-stock-item-success
Fixes for "duplicate stock item" form
2022-03-09 11:21: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 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
Oliver
984e465b70
Merge pull request #2719 from matmair/fix-date-formats
Fix render_date tag
2022-03-07 11:13:30 +11:00
Matthias Mair
2c8e7ac810
Merge branch 'inventree:master' into matmair/issue2279 2022-03-07 00:03:47 +01:00
Matthias
4e832bb9ac
make sure 'no date' elements do not fail 2022-03-07 00:01:30 +01:00
Oliver
0f48ca6008 Ensure that the native barcode scan plugin is *always* in use 2022-03-07 09:48:39 +11: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 Mair
d9e27b7ecf
Merge branch 'inventree:master' into matmair/issue2279 2022-03-06 19:54:06 +01:00
Oliver
5d5f13ab14
Merge pull request #2717 from SchrodingersGat/serial-number-fix
Bug fix for stock serial numbers:
2022-03-06 22:40:31 +11: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
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
004ced8030
Merge pull request #2711 from SchrodingersGat/link-fix
Fix broken URL
2022-03-04 13:52:22 +11:00
Oliver
64dd870436 Fix broken URL 2022-03-04 12:23:47 +11:00
Matthias Mair
6071f6545b
Merge branch 'inventree:master' into matmair/issue2279 2022-03-03 23:55:04 +01:00
Oliver
cb76b13eb2
Merge pull request #2710 from SchrodingersGat/duplicate-order-lines
Adds "duplicate line item" button to orders
2022-03-04 07:44:27 +11:00
Oliver
07da25bfd6 Unit test fixes 2022-03-04 00:46:12 +11:00