Commit Graph

2092 Commits

Author SHA1 Message Date
Kálmán Rózsahegyi
d912846e41 Use available quantities in part table, enhance stock badge 2022-04-03 12:35:59 +02:00
Kálmán Rózsahegyi
a9f7457c12 New part table filter on available stock 2022-04-03 12:30:53 +02:00
Oliver Walters
4c6ad6facf Other changes as requested 2022-03-30 12:42:57 +11:00
Oliver Walters
ba7035d7b6 JS litning fixes 2022-03-29 23:52:37 +11:00
Oliver Walters
016d802a10 Fixes for input autofocus, etc 2022-03-29 23:49:06 +11:00
Oliver Walters
f724f4a845 Add search preview for purchase orders and sales orders 2022-03-29 23:38:01 +11:00
Oliver Walters
2a604c244e Add search results for "company" 2022-03-29 23:29:17 +11:00
Oliver Walters
1f003b3f54 Add results for part categories and stock locations 2022-03-29 23:27:44 +11:00
Oliver Walters
a551bf1e81 Add options to control what is shown in search preview window 2022-03-29 23:27:25 +11:00
Oliver Walters
4bb95de4f9 Re-add button to submit "search" form and show full results 2022-03-29 23:19:23 +11:00
Oliver Walters
cc1501283d Refactoring 2022-03-29 22:59:23 +11:00
Oliver Walters
f1876ae28b Add a "searching..." indicator to show progress 2022-03-29 22:48:54 +11:00
Oliver Walters
11a6052871 remove the old search bar 2022-03-29 22:46:00 +11:00
Oliver Walters
22ee6614cc Render links for search results 2022-03-29 22:40:47 +11:00
Oliver Walters
78e5a685dc Display results for parts and stock items
- Use the existing rendering functions
2022-03-29 22:35:47 +11:00
Oliver Walters
51d26b1d16 Skeleton for displaying search results 2022-03-29 20:49:23 +11:00
Oliver Walters
92bff3d1b7 Merge branch 'master' into search-megamenu 2022-03-28 21:56:30 +11:00
Oliver Walters
89d0e41ebc JS lint fix 2022-03-28 20:59:34 +11:00
Oliver Walters
13af1cb853 Hide label printing buttons of labels are not enabled 2022-03-28 20:44:33 +11:00
Oliver Walters
b62905d5c4 Add user setting to enable / disable label printing 2022-03-28 20:38:57 +11:00
Oliver Walters
05344a3675 Only check for label printing plugins if plugins are enabled 2022-03-28 20:36:34 +11:00
Oliver Walters
2ce5b7c896 Make plugins_enabled variable available to javascript code 2022-03-28 20:25:47 +11:00
Oliver Walters
c4ac7e1877 Add callback for search text entery 2022-03-28 20:24:07 +11:00
Oliver Walters
7d68b3209b Add callbacks for search panel opening and closing 2022-03-28 10:18:49 +11:00
Oliver Walters
ffb89af9e5 Move search results panel into new template 2022-03-28 10:10:02 +11:00
Oliver Walters
ce396759a1 Add new javascript file (search.js)
- Empty, for now
2022-03-28 10:09:09 +11:00
Oliver Walters
2976545988 Adds a new "offcanvas" section for search results 2022-03-28 10:02:55 +11:00
Oliver Walters
441a947dbb Fix another quantity 2022-03-27 21:06:11 +11:00
Oliver Walters
ab7eda9d2c Add new button to navbar 2022-03-27 21:04:14 +11:00
Oliver Walters
ce323d80ea Fix floating point issues 2022-03-27 20:29:59 +11:00
Oliver Walters
5b949b6f60 Fix sorting for location column in part table 2022-03-27 07:45:45 +11:00
Oliver
011d97db3d Tweak display of label printing plugins 2022-03-25 14:20:25 +11:00
Oliver
708ba566cb URL fix 2022-03-24 16:44:46 +11:00
Oliver
b2b9ceec46 javascript fixes 2022-03-24 16:38:01 +11:00
Oliver
2fc522ad15 Hard code url - it is not always available 2022-03-24 16:34:31 +11:00
Oliver
6c25a5805d Allow offloading of label printing to the configured plugin 2022-03-24 14:57:01 +11:00
Oliver
f1f07a1977 Extract plugin information from label printing request 2022-03-24 13:31:01 +11:00
Oliver
e62b6063bb If printing plugins are available, let the user select them when printing 2022-03-24 13:20:26 +11:00
Oliver
f92aa07f82 Fix null values in build order serial number field 2022-03-23 12:01:50 +11:00
Oliver Walters
ace61c6aab Little bit of eye candy 2022-03-20 19:38:40 +11:00
Oliver Walters
9cc2cc5683 Fix asynchronous order of events for "mark all as read" button 2022-03-20 19:36:52 +11:00
Oliver Walters
d2969d0235 Adds a per-user setting to allow sending of emails for notification events 2022-03-20 19:19:42 +11:00
Matthias
2861ee0843
another style fix 2022-03-20 02:26:36 +01:00
Matthias
20b0ccefea
style fix 2022-03-20 02:23:11 +01:00
Matthias
c139b90598
move button 2022-03-20 02:05:30 +01:00
Matthias
a4c9dfdd6f
add read all endpoint 2022-03-20 02:05:18 +01:00
Matthias
0fa8af6cd8
translate the notifications too 2022-03-20 00:58:45 +01:00
Matthias
b0e6b6071f
make requeseted changes from code review 2022-03-20 00:29:58 +01:00
Matthias
62a81c1a62
Change icons
https://github.com/inventree/InvenTree/pull/2372#issuecomment-1073005561
2022-03-20 00:26:04 +01:00
Matthias
028fff1473
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-03-20 00:23:29 +01:00
Oliver Walters
467febf9ea The part parameter table is now loaded via the API 2022-03-19 22:09:17 +11:00
Oliver Walters
335f0ceb79 Improve form rendering for part parameter template 2022-03-18 23:20:53 +11:00
Oliver
278887e11c
Merge pull request #2751 from SchrodingersGat/sales-order-allocation-fixes
Sales order allocation fixes
2022-03-17 09:09:20 +11:00
Oliver
38d33a3f5f Display a message if scheduling information is unavailable for a given part 2022-03-16 23:48:49 +11:00
Oliver
e2179fb4d1 Fixes for display of allocation tables (build order and / or sales order)
- Hide these tables where they do not make sense for a given Part or StockItem
- Remove redundant "loadStockAllocationTable" function
2022-03-16 23:25:51 +11:00
Oliver
6ca61e2cd7 Fix rendering for "sales order allocations" table 2022-03-16 23:09:18 +11:00
Oliver
d1338e210e Only display "outstanding" sales order allocations in table 2022-03-16 23:01:46 +11:00
Matthias Mair
4100834ce9
Merge branch 'inventree:master' into matmair/issue2279 2022-03-14 23:14:29 +01:00
Oliver
cf2c078952 Add spinning logo 2022-03-09 15:27:44 +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
fda556c289
Merge pull request #2695 from SchrodingersGat/scheduling
[WIP] Scheduling
2022-03-09 12:06: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
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
Matthias Mair
2c8e7ac810
Merge branch 'inventree:master' into matmair/issue2279 2022-03-07 00:03:47 +01:00
Matthias Mair
d9e27b7ecf
Merge branch 'inventree:master' into matmair/issue2279 2022-03-06 19:54:06 +01:00
Oliver
83fbc6159c Add table filter buttons to incomplete build output table 2022-03-04 17:47:46 +11:00
Oliver
d06def3c29 Improve dialog message when allocating stock to a build order 2022-03-04 17:40:04 +11:00
Oliver
4151d94240 JS linting 2022-03-04 16:34:26 +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
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
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
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
8bf84ec217 Remove calls to "exportStock" 2022-03-03 17:25:31 +11:00
Oliver
51de436d42 User can select export format 2022-03-03 17:21:04 +11:00
Oliver
6b7a0fde1b Store table query parameters when performing a bootstrap-table query
- For now it only supports .csv format
2022-03-03 17:17:27 +11:00
Oliver
954f0afb85 Merge branch 'master' into scheduling 2022-03-03 09:15:08 +11:00
Oliver
fb4e44b73f Re-enable display of multi-level BOM 2022-03-02 22:46:58 +11:00
Oliver
55d09c4469
Merge pull request #2699 from SchrodingersGat/duplicate-bom-subs
Allow duplication of subtitute parts when copying a BOM
2022-03-02 21:50:18 +11:00
Matthias Mair
56e6783556
Merge branch 'inventree:master' into matmair/issue2279 2022-03-01 20:14:25 +01:00
Oliver
0d2bfa6839
Merge pull request #2698 from SchrodingersGat/delete-serialized-stock
Allows deletion of serialized stock
2022-03-02 00:32:59 +11:00
Oliver
5dc543618e Allow duplication of subtitute parts when copying a BOM 2022-03-02 00:31:50 +11:00
Oliver
f6b3760bb5 Make UI elements more consistent
Ref: https://github.com/inventree/InvenTree/issues/2692
2022-03-02 00:05:02 +11:00
Oliver
190822a680 JS linting 2022-03-01 23:40:38 +11:00
Oliver
457bcdc0ae Fix some small template / JS errors on the "part" page 2022-03-01 23:38:02 +11:00
Oliver
e44159baea Adds (per user) setting to show or hide scheduling tab 2022-03-01 23:26:08 +11:00
Oliver
f33f1a339d Add more information to scheduling chart
Also improves chart styling
2022-03-01 23:20:08 +11:00
Oliver
776dffe779 Scheduling information is now calculated on the server, and provided via a new API endpoint
- Much simpler than sequencing multiple API calls
2022-03-01 22:54:49 +11:00
Oliver
dfd6684699 Add incoming stock for build orders 2022-03-01 17:31:26 +11:00
Oliver
8f7164d5cd Add information for outgoing stock (sales orders) 2022-03-01 17:24:09 +11:00
Oliver
37ac8f6517 Display scheduled incoming stock for purchase orders 2022-03-01 17:13:47 +11:00
Oliver
a278e52443 Merge branch 'master' into scheduling 2022-03-01 16:50:57 +11:00
Oliver
a30e478412
Merge pull request #2685 from SchrodingersGat/date-format
Adds a user-configurable setting to configure how dates are displayed
2022-03-01 08:45:30 +11:00
Oliver
1393e38eec Adds date rendering to new target_date fields 2022-03-01 08:23:52 +11:00
Oliver
abbd087a66
Merge pull request #2688 from SchrodingersGat/custom-admin-url
Custom admin url
2022-03-01 08:21:31 +11:00
Oliver
5d37ce9175 Merge remote-tracking branch 'inventree/master' into date-format 2022-03-01 08:18:24 +11:00
Oliver
c4d462b0b4
Merge pull request #2684 from SchrodingersGat/po-target-date
Order target date improvements
2022-03-01 08:17:54 +11:00
Oliver
f3e7af3cc3
Merge pull request #2686 from SchrodingersGat/po-receive-serials
Po receive serials
2022-03-01 00:58:44 +11:00
Oliver
b2e0241b12 Adds option to "obfuscate" the admin URL
- By default, uses '/admin/'
- Can be set in config yaml file
- Can be set by environment variable
2022-03-01 00:57:53 +11:00
Oliver
42a75863fe Adds a "persist" option for modal forms 2022-03-01 00:25:14 +11:00
Oliver
7170e16ae7 Adds ability to display "success" messages inside a persistant modal dialog 2022-03-01 00:05:30 +11:00
Oliver
9f5618a51f Adds option to reload a form after success, rather than dismissing it 2022-02-28 23:57:28 +11:00
Oliver
615a954e09 Refactor UI for adding batch code and serial numbers 2022-02-28 23:31:23 +11:00
Oliver
9e0120599f Adds front-end javascript code to implement new serializer features 2022-02-28 22:48:15 +11:00
Oliver
7d19b21dff JS linting 2022-02-28 19:22:22 +11:00
Oliver
fd02f1b761 Add option for display of "time" in addition to date 2022-02-28 19:14:20 +11:00
Oliver
b00ae67d68 Pass dates in templates through the new template tag 2022-02-28 19:10:33 +11:00
Oliver
040f1805e0 Pass dates displayed in front-end tables through the date formatter 2022-02-28 16:13:08 +11:00
Oliver
c720c75b79 Adds javascript function for rendering a date according to user preference 2022-02-28 16:10:16 +11:00
Oliver
b19719516b Adds a user-configurable setting to configure how dates are displayed (on the front end only!) 2022-02-28 15:57:34 +11:00
Oliver
4858787a78 Adds "overdue" field to sales order line item
- API serializer
- front end / UX tables
2022-02-28 15:24:01 +11:00
Oliver
784189be75 Update purchase order table from part context 2022-02-28 15:07:12 +11:00
Oliver
9e82b28e9d Update PO line item table 2022-02-28 15:03:39 +11:00
Matthias Mair
86ba69eeaf
Merge branch 'inventree:master' into matmair/issue2279 2022-02-28 00:45:58 +01:00
Oliver
8587a59ec1 WIP - loading graph 2022-02-26 18:36:25 +11:00
Oliver
88bb0f05e9 URL fixes 2022-02-25 16:00:00 +11:00
Matthias Mair
e4c6f6e8e4
Merge branch 'inventree:master' into matmair/issue2279 2022-02-23 00:54:54 +01:00
Matthias
08a5779c35
fix caps 2022-02-20 19:25:03 +01:00
Matthias Mair
da0eda0b27
Merge branch 'inventree:master' into matmair/issue2279 2022-02-20 02:36:53 +01:00
eeintech
05b1943886 Set default error message visibility in modal options 2022-02-18 12:25:50 -05:00
Oliver
580effab92 Merge remote-tracking branch 'inventree/master' into match-fields
# Conflicts:
#	InvenTree/InvenTree/version.py
2022-02-17 22:55:16 +11:00
Oliver
0604e1a127 Adds API endpoint for installing stock items into other stock items
- Requires more filtering for the Part API
- Adds more BOM related functionality for Part model
- Removes old server-side form
2022-02-17 17:03:17 +11:00
Oliver
6199223636 Adds "refresh" button for stock test table 2022-02-17 13:46:11 +11:00
Oliver
578c161d4f Adds information on test result being deleted 2022-02-17 13:36:00 +11:00
Oliver
fbef0e1ede js linting 2022-02-16 17:18:17 +11:00
Oliver
0f0325daba Adds a button to quickly "pass" a test 2022-02-16 17:16:17 +11:00
Oliver
8f6312f7f4 Adds generic javascript function for mapping file columns to model fields 2022-02-16 17:04:33 +11:00
Oliver
f399f4fa34 Refactoring API endpoints
- Improved URL naming scheme
2022-02-16 16:57:27 +11:00
Matthias Mair
626f44d195
Merge branch 'inventree:master' into matmair/issue2279 2022-02-16 02:02:02 +01:00
Oliver
bf39a614a1 Automatically select Bom Items with matching serial numbers when allocating stock to a build order output 2022-02-16 07:49:18 +11:00
Oliver
35c9b6838e Form improvements 2022-02-15 13:33:32 +11:00
Oliver
24c13b04b6 Extract serial numbers from submitted form data 2022-02-15 13:19:41 +11:00
Oliver
f90a27d01d Adds a new API endpoint for creating build outputs 2022-02-15 12:51:48 +11:00
Oliver
0aeaf61254
Merge pull request #2564 from matmair/template-reduce-duplication
Template reduce duplication
2022-02-13 20:37:02 +11:00
Matthias
bc17536e6d
fix quotes 2022-02-13 03:49:52 +01:00
Matthias
aa3192a106
Merge branch 'master' of https://github.com/inventree/InvenTree into template-reduce-duplication 2022-02-12 00:55:39 +01:00
Matthias
9eb238c85e
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2279 2022-02-12 00:51:15 +01:00
Matthias Mair
975c81ccfe
Merge branch 'inventree:master' into fix-html-tags 2022-02-12 00:32:26 +01:00
Oliver
6c083622e5
Merge pull request #2615 from SchrodingersGat/delete-multiple-outputs
Delete multiple outputs
2022-02-10 07:47:00 +11:00
Oliver
6b52a07e71 js linting 2022-02-10 00:53:38 +11:00
Oliver
96af074365 Adds API endpoint to delete build outputs 2022-02-10 00:46:38 +11:00
Oliver
ffb319e136 Disable "submit" button to prevent multiple simultaneous uploads 2022-02-10 00:00:23 +11:00
Oliver
d38a8adf4c Add button to display original row data 2022-02-09 23:49:26 +11:00