Commit Graph

12634 Commits

Author SHA1 Message Date
Oliver Walters
e3c3ed28da PEP fixes 2022-05-01 22:46:50 +10:00
Oliver Walters
d72efc3757 Small tweaks
- Factor out native_value property (not needed!)
- PEP fixes
2022-05-01 22:30:24 +10:00
Oliver Walters
f794d91e5c Adds more unit tests for global settings objects 2022-05-01 22:26:51 +10:00
Oliver Walters
0f8f9f3e5e Add unit test for integer settings with validator 2022-05-01 22:21:57 +10:00
Oliver Walters
f972551246 Add unit test for multiple-choice setting type 2022-05-01 22:07:16 +10:00
Oliver Walters
eabe082f0a Add unit tests for boolean user settings (via the API) 2022-05-01 20:23:50 +10:00
Oliver Walters
75fa0bed26 Render "native value" in serializer 2022-05-01 20:13:58 +10:00
Oliver Walters
5d4972d981 Convert settings to 'native' values before running callable valiators 2022-05-01 19:46:17 +10:00
Oliver Walters
3777686c92 503 page was missing inventree_extras
(cherry picked from commit 1a8fd7878ea253f7cdfd50f54850827e634fcb0f)
2022-05-01 19:44:52 +10:00
Oliver
433ecdb2c3
Merge pull request #2714 from matmair/matmair/issue2694
[FR] Add delivery cost (excluding unit cost that already exists) in PO
2022-05-01 10:28:47 +10:00
Oliver
937232a238
Merge pull request #2904 from matmair/patch-1
Adding permissions to hook
2022-05-01 10:03:19 +10:00
Oliver
6497dd7d31
Merge pull request #2779 from rkalman/feat-qr-scanner
Camera QR scanner
2022-05-01 09:56:05 +10:00
Kálmán Rózsahegyi
b8399e4887 Increment number of JS files in test_js_load 2022-04-30 21:56:05 +02:00
Kálmán Rózsahegyi
c7692475a8 Add onBarcodeScanClicked() to exported functions 2022-04-30 21:28:55 +02:00
Matthias Mair
b1019abb45
adding permissions to hook
see https://github.com/inventree/InvenTree/pull/2895#issuecomment-1112733654
2022-04-30 20:01:30 +02:00
Matthias Mair
e75daec695
Merge branch 'inventree:master' into matmair/issue2694 2022-04-30 19:50:25 +02:00
Kálmán Rózsahegyi
84bfb0a827 One more try to pass JS checks... 2022-04-30 12:33:44 +02:00
Kálmán Rózsahegyi
51152eee53 More JS style fixes 2022-04-30 12:22:10 +02:00
Kálmán Rózsahegyi
b37bb3eb3e Fix JS styling 2022-04-30 12:14:13 +02:00
Kálmán Rózsahegyi
8b279edee0 Merge branch 'master' into feat-qr-scanner 2022-04-30 11:57:09 +02:00
Oliver
d7e9e15c21
Merge pull request #2901 from SchrodingersGat/multi-bom-fix
Refactor BOM table to not load multi level BOMs by default
2022-04-29 17:57:33 +10:00
Oliver
35de490f72 JS linting fixes 2022-04-29 17:13:59 +10:00
Oliver
260680c5c4 Refactor BOM table to not load multi level BOMs by default
- Click to select which ones to load
2022-04-29 17:07:54 +10:00
Oliver
227b3d6aec
Merge pull request #2893 from SchrodingersGat/build-output-table-improvements
Build output table improvements
2022-04-29 15:05:52 +10:00
Oliver
1bb2551edb Fixes for model rendering code 2022-04-29 13:51:49 +10:00
Oliver
94fa424440 Table tweaks 2022-04-29 13:13:12 +10:00
Oliver
a80465e85c Display batch code in build output table 2022-04-29 13:03:41 +10:00
Oliver
8fc34a21a6 Reload the untracked stock table when allocation actions are performed 2022-04-29 12:59:20 +10:00
Kalman Rozsahegyi
32febb010c Fix a wrong merge in requirements.txt 2022-04-28 22:15:11 +02:00
Kalman Rozsahegyi
9e1a143132 Merge branch 'master' into feat-qr-scanner 2022-04-28 22:14:11 +02:00
Kalman Rozsahegyi
5b5a39568b Merge branch 'master' into feat-qr-scanner 2022-04-28 22:09:01 +02:00
Oliver Walters
51da1f02a8 JS linting fixes 2022-04-29 01:58:57 +10:00
Oliver Walters
b595fa0e7e Fix loading of untracked parts table 2022-04-29 01:40:59 +10:00
Oliver Walters
0bda9c974e PEP fixes 2022-04-29 01:35:09 +10:00
Oliver Walters
a0ca20ab04 Retrieve all stock item test results at once 2022-04-29 01:27:58 +10:00
Oliver Walters
e0189be5a6 Adds ability to filter StockItemTestresult API list by Build ID
- Allows us to retrieve stock item test results in a single API query
2022-04-29 01:19:36 +10:00
Oliver Walters
6b4592b3dc Display error if stock item is "double allocted" 2022-04-29 01:10:05 +10:00
Oliver Walters
81638d06cf Show or hide items based on output BOM 2022-04-29 00:51:56 +10:00
Oliver Walters
6e52ca2178 Refactor button callbacks
- Add button to expand all output rows
- Add button to collapse all output rows
2022-04-29 00:44:29 +10:00
Oliver Walters
3da6446373 Allow sorting of build output table by allocated items 2022-04-29 00:32:33 +10:00
Oliver Walters
6c6ebe70c2 Update progress bars for build output allocation 2022-04-29 00:27:27 +10:00
Oliver Walters
df9a33935d Row button fixes 2022-04-28 23:26:08 +10:00
Oliver Walters
4a81c058d6 Function to reload allocation table data 2022-04-28 23:14:37 +10:00
Oliver Walters
cb7c4396fb Refactor build page template
- Only load build outputs table as required
2022-04-28 22:59:24 +10:00
Oliver Walters
b63352ce20 Add a stock item transaction when installing items into a build output 2022-04-28 22:58:58 +10:00
Oliver
cd0de941ac
Merge pull request #2895 from exp/issue-2885
Issue 2885 - Support more serial number formats and fix a couple of bugs
2022-04-28 22:04:00 +10:00
Oliver Walters
f531e354b9 Allow completion of partially allocated build outputs
- Requires manual acceptance from user
2022-04-28 21:54:38 +10:00
Paul R
9ce2eb988f [#2885] Modify group error messages to be unique 2022-04-28 11:32:20 +01:00
Paul R
82b32fe30e [#2885] Support hyphens in serials when correct no of serials supplied 2022-04-28 11:24:20 +01:00
Paul R
b08efa4de7 [#2885] Don't interpolate serial groups if they are not numeric 2022-04-28 11:24:16 +01:00