2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-10 17:20:32 +00:00
Commit Graph

16202 Commits

Author SHA1 Message Date
0adf89e793 Add unit tests for serial number functionality 2022-03-07 14:07:01 +11:00
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
d9f73ae05b Clip integer versions of serial numbers to specified range 2022-03-07 12:27:00 +11:00
bcc4267827 Merge pull request #2720 from SchrodingersGat/barcode-scan-fix
Barcode scan fix
2022-03-07 12:25:46 +11:00
9b14a41e83 Add unit tests for barcode scanning API 2022-03-07 11:20:07 +11:00
984e465b70 Merge pull request #2719 from matmair/fix-date-formats
Fix render_date tag
2022-03-07 11:13:30 +11:00
2c8e7ac810 Merge branch 'inventree:master' into matmair/issue2279 2022-03-07 00:03:47 +01:00
b9ee436110 Merge branch 'inventree:master' into matmair/issue2694 2022-03-07 00:03:33 +01:00
4e832bb9ac make sure 'no date' elements do not fail 2022-03-07 00:01:30 +01:00
66601a516b style fix 2022-03-06 23:50:29 +01:00
174bba90ab total read only 2022-03-06 23:49:36 +01:00
0f48ca6008 Ensure that the native barcode scan plugin is *always* in use 2022-03-07 09:48:39 +11:00
e2f54880f0 style fix 2022-03-06 23:46:59 +01:00
7a54cb4cb8 merge migrations 2022-03-06 23:38:59 +01:00
43395aca34 style fixes 2022-03-06 23:35:55 +01:00
5336d09296 fix api values 2022-03-06 23:34:01 +01:00
776138f2e2 Merge pull request #2713 from SchrodingersGat/auto-allocate
Adds "Auto allocate" feature for build orders
2022-03-07 09:32:49 +11:00
f0b19e69b8 add total price woth js reload 2022-03-06 23:21:33 +01:00
56142b9303 Merge branch 'inventree:master' into matmair/issue2694 2022-03-06 19:54:14 +01:00
d9e27b7ecf Merge branch 'inventree:master' into matmair/issue2279 2022-03-06 19:54:06 +01:00
53602c94b7 remove dead code 2022-03-06 19:52:08 +01:00
36d288fc27 remove detail view 2022-03-06 19:51:53 +01:00
d747418937 remove target_date 2022-03-06 19:50:59 +01:00
010f3f4f1e fiy style 2022-03-06 19:32:08 +01:00
ab876bf95d use right field def 2022-03-06 19:31:50 +01:00
de11b3463e add API schema 2022-03-06 18:44:05 +01:00
3452880d2a add search to API 2022-03-06 18:43:40 +01:00
acec4fa5d5 remove titile 2022-03-06 18:43:27 +01:00
ed75970010 ad UI components 2022-03-06 18:42:10 +01:00
5d5f13ab14 Merge pull request #2717 from SchrodingersGat/serial-number-fix
Bug fix for stock serial numbers:
2022-03-06 22:40:31 +11:00
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
44e1021063 Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2694 2022-03-05 23:34:06 +01:00
aed708d339 PEP fix 2022-03-05 23:25:00 +01:00
b81d2b8410 cut back on modifications 2022-03-05 23:10:20 +01:00
83fbc6159c Add table filter buttons to incomplete build output table 2022-03-04 17:47:46 +11:00
4bb7c65d8a Template fix 2022-03-04 17:42:37 +11:00
d06def3c29 Improve dialog message when allocating stock to a build order 2022-03-04 17:40:04 +11:00
70c9c9473d Unit test fixes 2022-03-04 17:27:07 +11:00
4151d94240 JS linting 2022-03-04 16:34:26 +11:00
d2027dc590 Increment API version 2022-03-04 16:29:26 +11:00
0bb0047fcd Add unit tests for the auto_allocate_stock method 2022-03-04 16:27:50 +11:00
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
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
004ced8030 Merge pull request #2711 from SchrodingersGat/link-fix
Fix broken URL
2022-03-04 13:52:22 +11:00
64dd870436 Fix broken URL 2022-03-04 12:23:47 +11:00
157f0e72a7 [FR] Add delivery cost (excluding unit cost that already exists) in PO
Fixes #2694
2022-03-04 01:06:39 +01:00
6071f6545b Merge branch 'inventree:master' into matmair/issue2279 2022-03-03 23:55:04 +01:00
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
07da25bfd6 Unit test fixes 2022-03-04 00:46:12 +11:00
846899fa53 Adds ability to download purchase order line item table 2022-03-04 00:45:30 +11:00