Commit Graph

1765 Commits

Author SHA1 Message Date
Matthias Mair
d604b2afff make padding uniform 2021-11-06 14:44:46 +00:00
Oliver
1f1cf9f9e4 Allow escape key on barcode modal 2021-11-05 10:39:03 +11:00
Matthias
df72cb2608
merge upstream 2021-11-04 23:44:41 +01:00
Matthias Mair
f5fa64d9a9
Merge branch 'inventree:master' into plugin-2037 2021-11-04 23:42:07 +01:00
Oliver
083967b156
Merge pull request #2198 from SchrodingersGat/stock-item-forms
Stock item forms
2021-11-05 07:37:33 +11:00
Oliver
185924e1f8 More linting 2021-11-05 00:35:47 +11:00
Oliver
5a0ff4c077 JS linting 2021-11-05 00:32:11 +11:00
Matthias
0daba629fe
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-04 14:23:17 +01:00
Oliver
f27acde934 More fixes
- Allow stock item creation for inactive parts
- Better handling of successful stock item creation
- Disable fields rather than hiding them
2021-11-05 00:02:55 +11:00
Matthias
80414ba6b5
make icon optional 2021-11-04 13:44:25 +01:00
Matthias
267c5ca40c
show install method for plugin 2021-11-04 13:30:40 +01:00
Matthias
99c3bc5529
make package info conditional 2021-11-04 13:21:02 +01:00
Matthias
41954fd2d6
make naming less git related 2021-11-04 13:19:08 +01:00
Oliver
b41dbba2b0 Correctly handle serialization of newly created stock 2021-11-04 23:18:59 +11:00
Oliver
3be4acf3ef More refactoring for notifications
- Adds default behaviour for successful stock item creation
2021-11-04 23:09:49 +11:00
Matthias
c085a86891
naming refactor 2021-11-04 12:55:39 +01:00
Oliver
b65f950864 Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-04 22:40:09 +11:00
Oliver
71bb6fff50 Add option to hide inactive parts in search preview window 2021-11-04 22:25:35 +11:00
Matthias
363f21d6d7
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-04 10:10:58 +01:00
Oliver
ceba5b7312
Merge pull request #2249 from SchrodingersGat/search-dropdown-fix
Fixes for search auto-complete dropdown menu
2021-11-04 17:26:12 +11:00
Oliver
f0e44f0efd Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-04 17:24:30 +11:00
Oliver
76b5bc067a Fix notes field 2021-11-04 17:06:52 +11:00
Oliver
3ceb6f6ba8 Fix barcode input 2021-11-04 17:04:47 +11:00
Oliver
39d3a127e1 Template improvements 2021-11-04 16:19:57 +11:00
Oliver
75d7530e30 Fix missing tag in template 2021-11-04 16:17:05 +11:00
Oliver
5ae6241083 Fixes for low-stock emails
- Include variant stock in test
- Improve email template
2021-11-04 16:15:11 +11:00
Oliver
3b052e6bce
Merge pull request #2247 from SchrodingersGat/tree-view-fixes
Fix for tree-view
2021-11-04 15:30:07 +11:00
Oliver
47f6a8266d Fix for tree-view
- Force "cascade" to be set
2021-11-04 15:08:22 +11:00
Oliver
99b324d1ef Add a post-save hook the "Build" model to check stock 2021-11-04 14:30:23 +11:00
Oliver
6db6a70fc2 Add task to check required stock for build order 2021-11-04 13:32:14 +11:00
Oliver
be543ca3da Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-04 10:57:40 +11:00
Oliver
3b56895f4d Merge branch 'master' into stock-item-forms 2021-11-04 10:34:49 +11:00
Oliver
b279317f89 Button style fixes 2021-11-04 10:24:47 +11:00
Oliver
4118f98d4d Display more errors 2021-11-04 10:17:38 +11:00
Oliver
b6d48cab2a Make further use of notification messages 2021-11-04 10:14:01 +11:00
Oliver
df30a85c03 More fixes:
- Add "back to site" button on logout screen
- Add favicon to account pages
- Refactor notifications / alerts / caching
2021-11-04 09:59:56 +11:00
Oliver
4e7825df13 Fix javascript issues on login screens 2021-11-04 09:26:32 +11:00
Oliver
d4a8f5823c Fix for missing template file 2021-11-04 09:13:13 +11:00
Matthias
83d0693013
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-11-03 21:25:04 +01:00
Oliver
ee7c3ae066 Update index page 2021-11-04 00:38:34 +11:00
Oliver
476a1342c1 Improve notification of 'low stock' parts:
- Traverse up the variant tree
- Enable subscription by "category"
2021-11-04 00:28:10 +11:00
Oliver
1c6eb41341 Ability to toggle part category "star" status via the API 2021-11-04 00:01:52 +11:00
Oliver
193d6b334c Add option to display "starred categories" on the index page 2021-11-03 23:29:36 +11:00
Oliver
e7f6268640 Improvements for alert notifications
- Dismissable
- Delete after a certain amount of time
2021-11-03 17:55:30 +11:00
Oliver
85adf842f6 Change bullhorn icon to bell icon 2021-11-03 16:59:59 +11:00
Oliver
63ec5770f4 Merge remote-tracking branch 'inventree/master' into subscription-refactor 2021-11-03 16:55:54 +11:00
Oliver
e5435df2ba Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-03 15:46:30 +11:00
Oliver
08ffa102c6 Fixes for part category table
(cherry picked from commit f7ef309995f8a52c213748f4a9226724e288c936)
2021-11-03 13:34:01 +11:00
Oliver
c4ea3ecf6f Bug fix for stock location table
(cherry picked from commit 44794d7b78520023e3b70da61dc13938bfd4bd14)
2021-11-03 13:33:57 +11:00
Matthias
e3b02e596e
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2201 2021-11-03 00:25:39 +01:00
Oliver
be7b224f14 Adds API endpoint for serialization of stock items 2021-11-03 10:12:42 +11:00
Oliver
2b69d9c2af Correctly serialize stock when creating via the API 2021-11-03 07:41:47 +11:00
Oliver
ad4c4f2a6d Stock item duplication now works with the API forms 2021-11-03 07:28:21 +11:00
Oliver
aaf27d4098 Adds new buttons to create a new stock item 2021-11-03 07:27:58 +11:00
Oliver
d8e3c40f78 Implementing more complex behaviour for StockItem creation form 2021-11-02 23:04:10 +11:00
Oliver
ef305032c9 Create new stock location via API forms 2021-11-02 20:04:54 +11:00
Oliver
0d9c08b49c StockLocationEdit 2021-11-02 19:58:25 +11:00
Oliver
4c8bc9580c stock-item-edit is looking OK now 2021-11-02 19:51:46 +11:00
Oliver
8725837460 Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-02 19:25:11 +11:00
Matthias
e73d3d567c
fix MFA buttons 2021-11-02 07:56:59 +01:00
Oliver
4bfdf21107 Change "star" icon to "bullhorn" icon 2021-11-02 15:07:20 +11:00
Oliver
1dea7861d0 Refactor email body out into a template
- Will be useful in the future when more email functionality is implemented
2021-11-02 14:43:57 +11:00
Oliver
e3dfb6cbc8 Improve messaging 2021-11-02 13:08:10 +11:00
Oliver
a3889c709e More tweaks 2021-11-02 12:57:40 +11:00
Oliver
fc9ca5e481 Pretty badges for email accounts 2021-11-02 12:54:41 +11:00
Oliver
ec147ea25f Further work on email settings page 2021-11-02 12:49:44 +11:00
Oliver
d1f2d960be Refactor "user account" page 2021-11-02 12:15:46 +11:00
Oliver
489d085de8 Refactor "category" settings page 2021-11-02 11:32:57 +11:00
Oliver
66b078e4b9 Refactor part settings page 2021-11-02 11:31:24 +11:00
Oliver
2abcb114a8 Visual improvements for "currency" page 2021-11-02 11:28:46 +11:00
Matthias
58f35ebc56
use buttons isntead of links 2021-11-01 23:49:22 +01:00
Matthias
70341d6745
refactor of backup tokens 2021-11-01 23:33:29 +01:00
Matthias
f8a45dcec2
back button 2021-11-01 23:23:50 +01:00
Matthias
7bcab13253
translate disable button 2021-11-01 23:19:50 +01:00
Matthias
b4570f6a7e
use alert 2021-11-01 23:11:48 +01:00
Matthias
7dbbca5b3a
fix translation 2021-11-01 23:11:41 +01:00
Matthias
4e9cf8492f
full width 2021-11-01 23:11:14 +01:00
Matthias
024a9deab4
full width buttons 2021-11-01 23:07:39 +01:00
Matthias
0011c7ee62
crispyfy 2021-11-01 23:07:27 +01:00
Matthias
240859c38c
make crispy 2021-11-01 23:03:36 +01:00
Matthias
58bc677029
more contrast for the qr 2021-11-01 22:58:47 +01:00
Matthias
6404764025
crispyfy 2021-11-01 22:51:42 +01:00
Matthias
3cb2078821
fix spelling 2021-11-01 22:46:56 +01:00
Matthias
fc0e80dd76
make remove button conditional 2021-11-01 22:45:56 +01:00
Matthias
392e7f6e4c
there can be only one factor 2021-11-01 22:43:43 +01:00
Matthias
17e7c2ee15
disable add button if already set up 2021-11-01 22:43:28 +01:00
Oliver
6f9ac4a850 - Fixes for construct_absolute_url function
- Refactor notification email generation
- Update template file
- Add separate templates folder for email
2021-11-02 00:40:25 +11:00
Matthias
62adb95d3c
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2201 2021-11-01 12:35:25 +01:00
Oliver
2662ba1202 Merge branch 'master' into stock-item-forms 2021-11-01 12:43:32 +11:00
Oliver
f607841601 Fix navbar spacing when "sticky-header" is enabled 2021-11-01 12:07:07 +11:00
Oliver
ad0277a8c3 Merge branch 'master' into stock-item-forms
# Conflicts:
#	InvenTree/stock/serializers.py
#	InvenTree/stock/templates/stock/item_base.html
2021-11-01 12:00:40 +11:00
Oliver
94a86e52f8
Merge pull request #2224 from matmair/remove-breadrcumb-space
remove breadcrub div where no breadcrumb is added
2021-11-01 11:57:21 +11:00
Matthias Mair
05a86c863f
Update page_base.html 2021-11-01 01:38:21 +01:00
Oliver
b64f0e1f54
Merge pull request #2222 from matmair/ui-navbar
UI tweaks
2021-11-01 11:30:27 +11:00
Matthias
338e85ff52
remove breadcrub div where no breadcrumb 2021-11-01 01:09:08 +01:00
Matthias
9a346dd3e2
Revert "remove breadcrub div where no breadcrumb"
This reverts commit 2c9b03944f.
2021-11-01 01:07:13 +01:00
Matthias Mair
d89cb0936c
Merge branch 'inventree:master' into plugin-2037 2021-11-01 01:06:26 +01:00
Matthias
9d68d6bdca
added setting to anable MFA 2021-11-01 00:34:00 +01:00
Matthias
8da2865299
setting sidebar header different color to items 2021-11-01 00:11:01 +01:00
Matthias
62aa014f6b
add button for navbar toogle 2021-11-01 00:09:38 +01:00
Matthias
2c9b03944f
remove breadcrub div where no breadcrumb 2021-11-01 00:08:39 +01:00
Matthias
d8fb6d44ec
adds faktors to user settings 2021-10-31 23:42:31 +01:00
Oliver
80e741fe1b Further improvements for filter elements 2021-11-01 09:21:42 +11:00
Matthias
85da98a004
use auth screen to make more clear this is about security 2021-10-31 23:07:25 +01:00
Matthias Mair
0d836530e4
Merge branch 'inventree:master' into plugin-2037 2021-10-31 23:04:50 +01:00
Oliver
360f0406b5 CSS updates
- Add template for filter lists
- Filter lists now layout horizontally
- Change flex-row to flex-wrap
2021-11-01 08:38:24 +11:00
Matthias
487bab5162
cleanup 2021-10-31 14:02:24 +01:00
Matthias
9fd66e9f22
Merge branch 'master' of https://github.com/inventree/InvenTree into matmair/issue2201 2021-10-31 13:56:14 +01:00
Matthias
ec17bbcb95
mkaeuser setting tighter 2021-10-31 13:54:12 +01:00
Matthias
06822303bc
refactor user settings 2021-10-31 13:42:41 +01:00
Oliver
9057462588
Merge pull request #2212 from matmair/matmair/issue2210
Fix for actions wrapping on smaller screens
2021-10-31 09:09:27 +11:00
Matthias
199254dfe9
adjust navigation integration to new style 2021-10-30 22:35:47 +02:00
Matthias
0ae514e7be
hide breadcrumb section 2021-10-30 22:15:21 +02:00
Matthias
13cc329dc6
remove unneeded headers 2021-10-30 22:14:57 +02:00
Matthias Mair
b31a1aa4cc fix plugin rendering in settings nav 2021-10-30 18:10:56 +00:00
Matthias
703c8a31b1
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-10-30 18:23:09 +02:00
Matthias Mair
14680531f0 [BUG] Auth screens broken
Fixes #2213
2021-10-30 14:05:40 +00:00
Oliver
eaa315e726 Merge branch 'master' into partial-shipment
# Conflicts:
#	InvenTree/build/templates/build/build_base.html
#	InvenTree/order/templates/order/order_base.html
#	InvenTree/order/templates/order/sales_order_base.html
#	InvenTree/order/templates/order/sales_order_detail.html
#	InvenTree/order/templates/order/so_navbar.html
2021-10-30 23:44:06 +11:00
Matthias Mair
6af866557d fixes missing wraping on iPdas and iPhones
Fixes #2210
2021-10-30 12:34:31 +00:00
Oliver
75c8faa09f Tweaks 2021-10-30 22:30:04 +11:00
Oliver
638c9d4007 Enable bootstrap-5 theme for select2 2021-10-30 22:16:40 +11:00
Oliver
29c913b553 Improvements for stock item test result table 2021-10-30 13:31:13 +11:00
Oliver
a689b77cfb More tweaks 2021-10-30 13:18:11 +11:00
Oliver
c4c533bee0 JS linting 2021-10-30 13:03:52 +11:00
Oliver
8e1d9c281a Adds tree view for stock locations 2021-10-30 12:53:25 +11:00
Oliver
be23634c5d Refactor display toggle for part list and part category list 2021-10-30 12:45:07 +11:00
Oliver
fcc1e9fe8f Fixes 2021-10-30 01:00:37 +11:00
Oliver
a792903a79 Catch sidebar error 2021-10-30 00:15:19 +11:00
Oliver
a15cc1f3ba linting fixes 2021-10-30 00:07:51 +11:00
Oliver
57240865e8 More tweaking 2021-10-30 00:05:32 +11:00
Oliver
25a5d8de78 Improve visual style of breadcrumbs 2021-10-29 23:28:19 +11:00
Oliver
3849ea8057 Rearranging buttons 2021-10-29 23:20:09 +11:00
Oliver
c04118ed8a Driving the refactor tractor around the farm 2021-10-29 22:20:06 +11:00
Oliver
b41d1aed12 Refactor admin button for:
- build order
- part detail
- stock item
- stock location
- company detail
- manufacturer-part
- purchase order
- sales order
2021-10-29 17:07:35 +11:00
Oliver
8afa39cd91 Refactor "search" page 2021-10-29 13:54:46 +11:00
Oliver
0f10936e65 Refactored index page
- Looks MUCH nicer now!
2021-10-29 13:28:21 +11:00
Oliver
6a3c9ead17 Add option to disable "toggle" for sidebar 2021-10-29 11:48:46 +11:00
Oliver
890fd0f1a0 Remove nav tree 2021-10-29 10:54:15 +11:00
Oliver
00a0311c63 Refactor sidebar for "sales order" page 2021-10-29 01:08:18 +11:00
Oliver
ec2e06fa15 Refactor sidebar for "settings" window 2021-10-29 00:55:22 +11:00
Oliver
5f139b4aa4 Refactor sidebar for "location" display 2021-10-29 00:43:58 +11:00
Oliver
e0d3facfac Refactor sidebar for "stock item" page 2021-10-29 00:40:16 +11:00
Oliver
59acf45ab9 Implement sidebar for "part category" display 2021-10-29 00:29:09 +11:00
Oliver
f0fe7f2d5c Complete refactoring of part sidebar 2021-10-29 00:20:39 +11:00
Oliver
f542bdc19f badge updates 2021-10-28 22:32:03 +11:00
Matthias
527bc4381d
show messages in base 2021-10-28 11:39:28 +02:00
Oliver
2778ff55da Remove btn-default 2021-10-28 19:57:17 +11:00
Oliver
b1cdcdf0b8 More fixes
- About modal
- Server-side modals
- icon badges
- checkboxes in API forms
2021-10-28 19:41:46 +11:00
Oliver
d0085efa28 Fix server-side modal 2021-10-28 19:10:21 +11:00
Oliver
3ce8ba85f4 Further badge tweaks 2021-10-28 17:57:03 +11:00
Oliver
f8ac016d60 replace labels with badges 2021-10-28 17:41:40 +11:00
Oliver
c4fd9b7177 Fixes for part "card" view 2021-10-28 17:16:32 +11:00
Oliver
0ef0c539a7 Update bootstrap-table 2021-10-28 13:03:47 +11:00
Oliver
05d350b6c8 Tweaks for settings pages 2021-10-28 12:38:33 +11:00
Oliver
ae2c3e8293 remove "panel-inventree" references 2021-10-28 08:31:36 +11:00
Oliver
e235e5adec Replace "panel-body" with "panel-content" 2021-10-27 23:09:14 +11:00
Oliver
711b3ba923 remove "panel-default" 2021-10-27 23:08:15 +11:00
Oliver
53c579c992 Refactor PO and SO pages 2021-10-27 23:03:08 +11:00
Oliver
fe25ce8cd1 Refactor "manufacturer_part" view 2021-10-27 22:52:11 +11:00
Oliver
8fdaab233c Refactor build page 2021-10-27 22:44:33 +11:00
Oliver
a004f293ff Replace all instances of data-toggle with data-bs-toggle 2021-10-27 22:06:30 +11:00
Oliver
e178a2c370 Refactoring for "stock" pages 2021-10-27 21:50:18 +11:00
Oliver
9df9aaa18f breadcrumbs 2021-10-27 20:17:37 +11:00
Oliver
219191eb6a Updates for modal forms:
- Fix css classes
2021-10-27 16:48:45 +11:00
Oliver
abf2093ab9 Adds user option to enable "sticky header" 2021-10-27 16:26:41 +11:00
Oliver
827ff0f58b Modal forms fixes
- Update bootstrap classes and terminology
- Visual tweaks to modal form title block
2021-10-27 16:26:28 +11:00
Oliver
1e31774ce7 Working on navbar 2021-10-27 15:48:42 +11:00
Oliver
c6ceea4d45 Remove reliance on "bootstrap-toggle" library
- Still needs fixing in modal forms
2021-10-27 09:37:07 +11:00
Oliver
3a4022b259 Add files for bootstrap v5.1.3 2021-10-27 08:04:34 +11:00
Oliver
75845ce1ca Merge branch 'master' into partial-shipment 2021-10-27 01:05:55 +11:00
Oliver
96be11edd4 Add 'status' field to shipment table
- Is not yet implemented in the db model
2021-10-27 01:05:10 +11:00
Oliver
2eb93b5a49 Add functionality to create a new sales order shipment
- From the "New Shipment" button
- As a secondary modal from the stock allocation dialgo
2021-10-27 00:57:47 +11:00
Oliver
4d0f905afc Auto-fill the "quantity" field for the salesorder allocation table 2021-10-27 00:47:15 +11:00
Oliver
7252b299f7 Add modal API form to allocate stock items against a SalesOrder
- Added model renderer for SalesOrderShipment
- Some refactorin'
2021-10-27 00:41:12 +11:00
Oliver
b35ce79d6a js linting fix 2021-10-26 08:00:28 +11:00
Oliver
cbbad98fea Improve client-side validation of numerical inputs 2021-10-26 07:52:29 +11:00
Oliver
2d910022ac Fix for supplier price breaks
- Make "price" field an InvenTreeMoneySerializer instance
- Add client-side validation for number inputs
2021-10-26 01:55:41 +11:00
Oliver
e7c25126a4 Construct table of "shipments" 2021-10-26 00:17:17 +11:00
Oliver
ce5b47460a Added data migration for existing SalesOrder instances
- If a SalesOrder is "PENDING" or there are allocations available, a shipment is created
2021-10-25 22:35:27 +11:00
Oliver
65b673b2bb Improve pricing rendering for purchase order table 2021-10-24 19:43:05 +11:00
Oliver
bc596c1f20 Improve rendering of pricing in sale order table 2021-10-24 19:40:32 +11:00
Oliver
a0140dc9a2 bug fix: enable "table reload" for tables without any filters
- setupFilterList function was returning too early
2021-10-24 19:35:15 +11:00
Matthias Mair
31a8ee7302
Merge branch 'inventree:master' into plugin-2037 2021-10-20 23:52:51 +02:00
Oliver
d3b1ecd65e Add "owner" field 2021-10-20 23:44:01 +11:00
Oliver
f83dc134ef linting 2021-10-20 23:20:43 +11:00
Oliver
8805b0a553 Add similar auto field capabilities to build order 2021-10-20 23:14:52 +11:00
Oliver
92568748cf Further improvements
- Add callback for when a select2 form field is updated
- Adjust selected quantity based on returned data
- auto_fill the stock_item field
2021-10-20 23:03:03 +11:00
Oliver
f7b6c68237 Pre-fill the form with the remaining allocation quantity 2021-10-20 22:37:54 +11:00
Oliver
4a0ed4b2a1 Start of API forms for stock item 2021-10-20 10:53:21 +11:00
Matthias
1c93a126ae
Revert "remove url load setting for plugin"
This reverts commit e37477eb15.
2021-10-19 21:39:58 +02:00
Matthias
e37477eb15
remove url load setting for plugin 2021-10-19 19:54:20 +02:00
Oliver
60771a74a4 "InvenTree Settings" > "Global Settings" 2021-10-19 11:00:32 +11:00
Oliver
a3b3bdc88b Add some more icons to the settings page 2021-10-19 10:59:52 +11:00
Oliver
4de3bed342 UI tweaks 2021-10-18 22:19:54 +11:00
Oliver
5802a27fe7 Add a per-user setting to enable display of stock in search results 2021-10-18 16:23:42 +11:00
Oliver
4bb0b725da JS cleanup 2021-10-18 15:51:50 +11:00
Oliver
ce921a6774 Display stock level in quick search bar 2021-10-18 15:40:00 +11:00
Oliver
68cfd8615e Improvements to "grid view" for parts list
- Display 5 tiles per line
- Reduce padding
- Add border
2021-10-18 12:19:16 +11:00
Matthias
487ac594bb
testing save navigation checks 2021-10-17 19:50:06 +02:00
Oliver
fb6f15f462 Delete a bunch of old template files 2021-10-17 22:57:15 +11:00
Oliver
7c5c1b6696 typo fix 2021-10-17 21:55:33 +11:00
Oliver
02f4f0fd15 js linting fixes 2021-10-17 21:50:18 +11:00
Oliver
542b4113a1 Improvements for build output completion
- Check if the output is fully allocated (throw error if not)
- Reload tables after actions performed
2021-10-17 21:37:10 +11:00
Oliver
bd7fef720d Enable "allocate" button only once the sub-table is expanded 2021-10-17 21:13:07 +11:00
Oliver
90625af39d Re-enable the "allocate" stock button 2021-10-17 11:34:44 +11:00
Oliver
6c1dad8d91 Consolidate javascript for sidenavs 2021-10-17 11:26:08 +11:00
Oliver
9d2273c1cd Further work on build output scripts 2021-10-17 11:25:53 +11:00
Matthias
81b2a1e9c9
fix warning block 2021-10-16 17:52:58 +02:00
Matthias
9ac6bf26e5
added warning 2021-10-16 17:50:30 +02:00
Matthias
99e4b6f6a5
settting to control app loading 2021-10-16 17:47:05 +02:00
Oliver
14ef56785e Add option to select multiple build outputs
- Can "complete" these outputs
2021-10-16 14:27:02 +11:00
Oliver
d47b32e4aa Adds function to complete multiple build outputs via the API 2021-10-16 14:08:53 +11:00
Oliver
ccaa7d2683 Merge branch 'master' into build-output-complete 2021-10-16 13:18:35 +11:00
Matthias
c16c26c496
setting to control plugin settings ingestion 2021-10-16 04:17:48 +02:00
Oliver
41e59e5311 Right align expand buttons 2021-10-16 13:01:19 +11:00
Matthias
952e7e4554
add url setting 2021-10-16 00:34:15 +02:00
Matthias
41ce66df6e
add navigation setting 2021-10-16 00:32:48 +02:00
Matthias
32122102e6
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-10-15 23:36:19 +02:00
Oliver
744befcc96
Merge pull request #2161 from matmair/onboarding-group
Onboarding group
2021-10-15 12:55:55 +11:00
Oliver
8e4deaa8c8 Standardize spelling of email / e-mail
(Spoiler: I chose "email")
2021-10-15 11:52:13 +11:00
Matthias
3a586af556
move setting to better fit grouping 2021-10-14 21:27:41 +02:00
Matthias
b26bf780c3
setting to register group on signup 2021-10-14 21:27:09 +02:00
Oliver
4702c6b37f Refactorin' 2021-10-15 00:25:36 +11:00
Oliver
0d49513092 Add button callbacks for top-level table 2021-10-14 23:58:03 +11:00
Oliver
bf47b57c82 working on updating build output tables 2021-10-14 23:46:21 +11:00
Oliver
54dd05a24d Add an API serializer to complete build outputs 2021-10-14 23:13:01 +11:00
Oliver
4327cbedce Remove debug message 2021-10-14 18:01:16 +11:00
Oliver
9b00ede61a Add part queryset filtering to exclude particular ID values 2021-10-14 17:12:08 +11:00
Oliver
0c60387626 Extract a list of existing substitute parts from the form 2021-10-14 16:50:56 +11:00
Oliver
05791a8efd
Merge pull request #2138 from rocheparadox/master
Custom name format for parts - FR InvenTree#2085
2021-10-14 16:03:58 +11:00
Oliver
44b4061d7d Fix table filtering bug
- Introduced in recent "BOM substitutes" PR
2021-10-14 11:56:26 +11:00
Oliver
7dfffcd5d3 Move "build unallocate" functionality to the API
- Much much simpler now!
- Filtering is against bom_item, not part
- Fixes a bug with the new (reasonably complex) substitution framework
2021-10-14 10:32:43 +11:00
Oliver
1cbce5dfbf javascript fixes 2021-10-14 09:14:31 +11:00
Oliver
890741ef5d Display badge indicating variant stock can be used 2021-10-13 23:57:50 +11:00
Oliver
be5c5496b2 Improvements to allocation of stock items against build orders
- Refactor functions for filtering stock using bom_item pk
- Allow selection of substitute items when allocating against build order
- Improvements for modal rendering
- Don't display filter drop-down if there are no filters available
2021-10-13 23:53:35 +11:00
Oliver
0f8c279aa2 Add some unit testing for the new model 2021-10-13 22:27:10 +11:00
Oliver
8512c2db75 Reload the parent table when adding or removing substitutes 2021-10-13 22:06:51 +11:00
Oliver
ea4c4c514f Add uniqueness checking for the BomItemSubstitute model 2021-10-13 22:01:32 +11:00
Oliver
0e1e8226b1 Add a callback to remove individual rows 2021-10-13 21:42:50 +11:00
Oliver
8b41e68e6b Launch a dialog displaying the available BOM substitutes 2021-10-13 21:33:41 +11:00
Oliver
6803f3cf63 Display "substitutes available" icon 2021-10-13 20:36:31 +11:00
rocheparadox
294011a973 Merge remote-tracking branch 'upstream/master' 2021-10-13 10:10:59 +05:30
Oliver
f3f41730be Add "substitutes" column to BOM table 2021-10-13 11:58:40 +11:00
Oliver
4f985ae225 Revert 1fb76b9
Removes global functions to enable / disable entire sections of functionality
2021-10-13 09:40:17 +11:00
Matthias
9aaf4c25e1
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-10-12 22:23:45 +02:00
rocheparadox
2bf51b0ac3 Added PART_NAME_FORMAT to Inventree settings and exposed the same in settings window with a validator 2021-10-12 19:06:23 +05:30
rocheparadox
beadfb4659 Merge remote-tracking branch 'upstream/master' 2021-10-11 22:29:01 +05:30
rocheparadox
2d77b21a4e PART_NAME_FORMAT is introduced to display the names of parts in custom format. - For Feature Request InvenTree#2085
full_name construction in part.js is obsolete/redundant since the same is constructed in backend and sent through api response
2021-10-11 22:21:12 +05:30
Oliver
19a8c712d4
Merge pull request #2017 from matmair/fr-1421-sso
SSO!
2021-10-11 17:20:08 +11:00
Oliver
d3e5bc3141
Merge pull request #2132 from SchrodingersGat/esc-forms
Adds setting to close forms using escape key
2021-10-11 11:41:56 +11:00
Oliver
49601d2b7e
Merge pull request #2130 from SchrodingersGat/links-fix
Fix various documentation links
2021-10-11 11:23:53 +11:00
Oliver
f978924c4e Adds required tabindex 2021-10-11 11:23:35 +11:00
Oliver
25031e09e4 Enable setting for legacy launchModalForm function 2021-10-11 11:22:17 +11:00
Oliver
a32b5fdd64 Adds setting to close forms using escape key
- Configurable per user
- Default = false (to preserve behavior)
2021-10-11 11:16:33 +11:00
Oliver
8d33ee6298
Merge pull request #2129 from SchrodingersGat/sub-part-from-bom
Add option to BomItem form to create a new part
2021-10-11 10:59:30 +11:00
Oliver
c7bfce4a64 Fix various documentation links
- Reference the configured docs verrsion
2021-10-11 10:53:49 +11:00
Oliver
ede4ac9219 Add option to BomItem form to create a new part 2021-10-11 10:40:03 +11:00
Oliver
00275d61eb Auto-focus on the 'sub_part' field 2021-10-11 10:25:36 +11:00
Matthias Mair
848a72604e
Merge branch 'inventree:master' into fr-1421-sso 2021-10-08 22:38:16 +02:00
Matthias
9facef6a56
Merge branch 'master' of https://github.com/inventree/InvenTree into plugin-2037 2021-10-08 22:21:11 +02:00
Oliver
77c6e5e57e Update display of BOM table based on the configurable setting 2021-10-08 12:47:51 +11:00
Oliver
69d932e193 Add a global setting to control price display in BOM tables 2021-10-08 12:47:27 +11:00
Matthias
fe7ab40b48
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso 2021-10-07 18:12:25 +02:00
Matthias
68f5af26b6
dont show mail functions if not enabled 2021-10-07 18:08:55 +02:00
Matthias
a45b8dcf0e
check also here if mail is enabled 2021-10-07 17:50:36 +02:00
Matthias
c37e40d144
use tag for testing 2021-10-07 17:31:18 +02:00
Oliver
64cf916c50 Add a form to select export format 2021-10-07 13:33:10 +11:00
Oliver
31665e3b8d Enable editing of "sales order" from build order
- Add a renderer for the sales order model
2021-10-07 10:45:14 +11:00
Oliver
d9fddf64f1 Make this setting a per-user setting 2021-10-06 22:22:20 +11:00
Oliver
166af3592d Add optional display of part stock quantity in forms 2021-10-06 22:12:59 +11:00
Oliver
a8388b0999 JS linting 2021-10-06 20:35:51 +11:00
Oliver
5cdf5a2670 Only include "in stocK" field if the sales order is pending 2021-10-06 20:16:59 +11:00
Matthias
f07df107a9
only show if info present 2021-10-06 10:56:21 +02:00
Matthias
eeeb69ce12
website info for plugins 2021-10-06 10:54:57 +02:00
Oliver
336b05aa4e Exclude sales order allocations when searching stock 2021-10-06 17:42:00 +11:00
Oliver
cbd2732622 Merge remote-tracking branch 'inventree/master' into sales-order-allocation-fixes 2021-10-06 17:28:38 +11:00
Oliver
b5c5842e7d Add ability to create a new sales order allocation using the API forms framework 2021-10-06 17:26:48 +11:00
Oliver
4d13674452 Migrate views to use the API forms architecture:
- SalesOrderAllocationEdit
- SalesOrderAllocationDelete
2021-10-06 17:16:01 +11:00
Oliver
87775ae16b Brace yourseflf 2021-10-06 17:02:27 +11:00
Oliver
e055902f3e More JS linting 2021-10-06 16:58:00 +11:00
Oliver
21be5b4a26 JS linting 2021-10-06 16:52:56 +11:00
Oliver
ac3a97d4d6 Fix button callbacks for the allocation table 2021-10-06 16:47:21 +11:00
Oliver
4d8bec9663 Fix rendering of row sub tables 2021-10-06 16:38:13 +11:00
Oliver
f9f8527ae5 Fix build button
- Now links into the API forms
2021-10-06 16:20:15 +11:00
Oliver
4d2cf233b3 Move the "loadSalesOrderLineItemTable" code to order.js 2021-10-06 16:14:39 +11:00
Matthias Mair
2d65f6f905
Merge branch 'inventree:master' into fr-1421-sso 2021-10-06 02:01:16 +02:00
Oliver
05de802d1d javascript linting 2021-10-06 09:14:06 +11:00
Oliver
95e7cc7a5d Fixes for unit tests 2021-10-06 08:56:24 +11:00
Oliver
dd760bfecd Add filtering by "completed" status for purchase order line items 2021-10-05 17:15:41 +11:00
Oliver
5e951ef64b Add 'filtering' for purchase order line item table 2021-10-05 16:57:33 +11:00
Oliver
ce7552bc5b JS linting 2021-10-05 16:10:46 +11:00
Oliver
dd4428464d Receiving items against a purchase order now makes use of the API forms
- Delete old unused code
- Improve serializer validation
2021-10-05 16:05:18 +11:00
Oliver
a579bc8721 Initialize destination field 2021-10-05 15:10:16 +11:00
Oliver
b75e817447 Construct bare-bones API form 2021-10-05 14:57:50 +11:00
Oliver
e39f1c320c Merge remote-tracking branch 'inventree/master' into auto-allocation-improvements 2021-10-05 12:53:47 +11:00
Oliver
a3ba33cae8 Fixes for build output tables
- Only show "completed" builds in the "completed builds" table (should be obvious)
- Display "serial number" appropriately in build output allocation table
2021-10-05 12:32:54 +11:00
Oliver
7ecd4c70e7 JS linting 2021-10-05 11:02:57 +11:00
Oliver
563deb5ffa Add ability to specify "source location" for stock allocations
- Defaults to build.take_from
- User-selectable at run-time
- Selected value affects select2 query
2021-10-05 10:38:18 +11:00
Matthias
af66da4199
Merge branch 'plugin-2037' of https://github.com/matmair/InvenTree into plugin-2037 2021-10-05 00:41:03 +02:00
Oliver
76668b0d54 Remove unused code (views / forms) 2021-10-05 09:21:33 +11:00