Commit Graph

11840 Commits

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