Commit Graph

12192 Commits

Author SHA1 Message Date
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
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