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
Oliver
f6cf84f912
Form now works for "tracked" build outputs
2021-10-05 08:48:50 +11:00
Matthias Mair
9d1c146a40
Merge branch 'inventree:master' into plugin-2037
2021-10-04 23:26:59 +02:00
Matthias Mair
56221a33bf
Merge branch 'inventree:master' into fr-1421-sso
2021-10-04 23:26:07 +02:00
Oliver
ae0efe73d1
Further improvements to build allocation form
...
- Auto-allocation button ignores outputs which are complete
- StockItem API allows filtering by BomItem
- Quantity inputs are now auto-filled
- Display progress bar in the modal form
2021-10-05 08:25:10 +11:00
Matthias
2d5854e1e5
fix nav error
2021-10-04 23:00:07 +02:00
Matthias
4dbf87da56
refactor
2021-10-04 22:47:26 +02:00
Matthias
950ae247a5
cleaner signature status
2021-10-04 22:39:45 +02:00
Matthias
a79dba5ed3
plugin information section remodel
2021-10-04 22:37:09 +02:00
Matthias
7ad9cf3b3d
human name in navbar
2021-10-04 22:22:37 +02:00
Matthias
f406ad7537
only show version if present
2021-10-04 22:21:15 +02:00
Matthias
40789db66c
better readable badges
2021-10-04 22:20:50 +02:00
Matthias
e7237d13ae
added version identifier
2021-10-04 22:10:31 +02:00
Matthias
ef858f7701
publishing date for integration plugins
2021-10-04 20:00:27 +02:00
Matthias
575be5b36a
author information for integration plugin
2021-10-04 19:54:20 +02:00
Matthias
87fff78944
navigtion-mixin icon setting
2021-10-04 19:30:54 +02:00
Matthias
117baa72eb
nav mixin: set nav-tab name
2021-10-04 19:24:41 +02:00
Oliver
17df4ca91e
Refactor allocation form
...
- The data is already loaded in the main table!
- Why would we want to throw that data away?
2021-10-05 01:05:42 +11:00
Oliver
28509dbd68
Remove old unit test
2021-10-05 00:48:03 +11:00
Oliver
416ba51e22
Add auto-fill option to select2 inputs on API forms
...
- WIll fill input if a single result is returned
2021-10-05 00:39:22 +11:00
Oliver
8a90b9df6d
Improve clean() function for BuildItem model
...
- BuildItemDelete now handled by API forms
- BuildItemEdit now handled by API forms
2021-10-05 00:14:31 +11:00
Oliver
074466f087
Updates for stock allocation form
...
- Data submission
- Nested error handling
- Button callbacks to remove rows
2021-10-04 23:20:03 +11:00
Oliver
a9d5b776d3
Adds error handling of nested form fields in the API form processing layer
...
- Muy complejo
- But the results speak for themselves!
-This will need to be rolled out into the coming refactor...
2021-10-04 22:41:59 +11:00
Matthias
258d159093
human name for plugins
2021-10-04 12:31:12 +02:00
Oliver
22d6d49b97
Create a select2 stockitem input and a quantity input for each allocation row
2021-10-04 17:42:47 +11:00
Oliver
cd657daf50
Fixes for stockitem rendering in API forms
...
- Also improved rendering for other models
2021-10-04 17:41:09 +11:00
Oliver
49dc88abbc
Add configurable options for the stockitem renderer
2021-10-04 17:31:38 +11:00
Oliver
eba0d15fe4
Rough layout of javascript function
...
- allocateStockToBuild
- provide build ID and part ID
- optionally provide output ID
- optionally provide list of part ID to filter against
2021-10-04 16:11:15 +11:00
Oliver
7e81f419d7
Refactor search results for stock items and locations
2021-09-30 20:23:41 +10:00
Oliver
ab9d247531
server-side pagination for manufacturer part table
2021-09-30 20:17:10 +10:00
Oliver
e36039b03f
Server-side pagination for part category search results
2021-09-30 20:15:54 +10:00
Oliver
b9c8e46e1c
Fixes for supplierpart table
...
- Paginate on server side
2021-09-30 20:12:27 +10:00
Oliver
15d96a3288
Fix for URL in supplier parts table
2021-09-30 19:50:16 +10:00
Oliver
4ced13466a
Use "original_search" rather than "search"
2021-09-30 17:57:19 +10:00
Oliver
6cf144c61f
Retain "original" search parameter in query
2021-09-30 17:53:14 +10:00
Oliver
b1730914c3
Display "full_name" rather than "name" in quick search bar
2021-09-29 22:12:20 +10:00
Matthias Mair
acbea53a3d
Merge branch 'inventree:master' into fr-1421-sso
2021-09-29 00:41:25 +02:00
Oliver
ef01bdff07
Fix links in part table
2021-09-27 11:42:47 +10:00
Oliver
beaa93f9b5
Fix ?display= URLs for part stock view
2021-09-27 11:41:24 +10:00
Matthias
70edb330ea
show sign state
2021-09-25 00:07:27 +02:00
Oliver
f53aac0784
Remove "default_supplier" field when duplicating a part
2021-09-24 12:04:36 +10:00
Oliver
d2b9993e96
Fix form filters for "default_supplier"
2021-09-24 12:04:25 +10:00
Matthias Mair
44c5003839
Merge branch 'inventree:master' into fr-1421-sso
2021-09-24 00:32:38 +02:00
Matthias Mair
acc4d8d9e8
Merge branch 'inventree:master' into plugin-2037
2021-09-24 00:32:22 +02:00
Matthias
8ee565c86a
show signing state in settings navbar
2021-09-23 23:24:33 +02:00
Matthias
4a0dd72c3d
clearer status language
2021-09-23 01:16:30 +02:00
Matthias
261537dc43
refactor sign_color to property
2021-09-23 01:13:40 +02:00
Matthias
3ac3004cd0
clearer signing communication
2021-09-23 01:03:52 +02:00
Matthias
0bbe1f7687
show sign state with colors
2021-09-23 00:59:33 +02:00
Matthias
680a7071e5
check git verification state
2021-09-23 00:52:32 +02:00
Matthias
4a9eab6d32
small rename
2021-09-22 08:00:28 +02:00
Matthias
33465890ed
fix mail icon
2021-09-22 07:59:37 +02:00
Matthias
f80a3312ec
name refactor to make more concise
2021-09-22 07:55:47 +02:00
Matthias
a26036a4f9
better formatting
2021-09-22 07:55:08 +02:00
Matthias
7f00005cf6
version infromation for each plugin
2021-09-22 07:48:12 +02:00
Oliver
2e1277839e
Merge pull request #2067 from SchrodingersGat/warning-improvements
...
Improve 'health status' warnings
2021-09-22 09:34:23 +10:00
Matthias
fddbaa4629
add git commit readout
2021-09-22 00:19:51 +02:00
rocheparadox
c1a827819c
css for part to occupy full height - fix for bug Inventree#1848
2021-09-20 17:00:45 +05:30
Oliver
5443beef65
Improve 'health status' warnings
...
- Don't show error message if only non-critical warnings present
2021-09-20 17:15:31 +10:00
Matthias
fc691ebbfb
only show plugins with enabled mixins
2021-09-19 17:36:30 +02:00
Matthias
6f8909c710
mixin registry
2021-09-19 17:32:44 +02:00
Matthias
22ee631af5
fixing wrong link
2021-09-19 16:41:55 +02:00
Matthias
1c89e83d28
navigation plugin
2021-09-19 16:27:43 +02:00
Matthias
3b2cb43ece
mixin_enabled check for templates
2021-09-18 04:46:50 +02:00
Matthias
0cae3633d2
use button to open plugin urls
2021-09-18 03:43:09 +02:00
Matthias
b9ba6b9225
make link a button
2021-09-18 02:49:07 +02:00
Matthias
aa120a8197
open in new tab
2021-09-18 02:48:25 +02:00
Matthias
21dee0d459
urls overview in plugin settings
2021-09-18 02:47:31 +02:00
Matthias
1296e631d9
link to base in plugin site
2021-09-18 02:15:05 +02:00
Matthias
dafed332bc
show base url in settings
2021-09-18 02:09:22 +02:00
Matthias
fc3188513b
Links in plugin badges
2021-09-18 01:37:53 +02:00
Matthias
4c7d1e6658
show enabled functionality in plugin overview
2021-09-17 22:55:02 +02:00
Matthias
733303fb66
Plugin overview
2021-09-17 22:49:43 +02:00
Matthias
771c453c40
settings UI integration
2021-09-17 22:47:49 +02:00
Oliver
5bd5c61b9d
Fix callback for test template table
2021-09-14 10:43:40 +10:00
Matthias
847fb62ab5
js style
2021-09-13 23:25:13 +02:00
Matthias
c890a4a6d0
only add button per name once
2021-09-13 23:18:44 +02:00
Oliver Walters
06c03039da
Add version related tags
...
- Docs URL points to correct documentation version
- Display if we are in "development" version
2021-09-12 23:13:55 +10:00
Oliver
387680fbcd
More linting
2021-09-08 13:13:40 +10:00
Oliver
a32a30de52
javascript linting
2021-09-08 13:02:03 +10:00
Oliver
1a21576f28
Adds separate option for "prevent_new_stock" to stock_table
2021-09-08 12:57:42 +10:00
Oliver
8368798280
Move po-line-item-table into javascript file
...
- for better linting
2021-09-08 12:51:49 +10:00
Matthias
5b7941ab17
crispyfy confirmation
2021-09-07 23:55:32 +02:00
Matthias
b281241607
remove unneeded override
2021-09-07 22:38:01 +02:00
Matthias
dbc58b299c
fix layout for password reset
2021-09-07 22:35:19 +02:00
Oliver Walters
f349dc01ea
JS lint
2021-09-07 23:41:13 +10:00
Oliver Walters
125554c53f
Merge remote-tracking branch 'upstream/master' into receive-via-api
...
# Conflicts:
# InvenTree/templates/js/dynamic/inventree.js
# InvenTree/templates/js/translated/forms.js
# InvenTree/templates/js/translated/tables.js
2021-09-07 22:34:00 +10:00
Matthias
53de59f84b
setting for two password fields on signup
2021-09-07 07:37:28 +02:00
Matthias
af286766ea
setting for two mail fields on signup
2021-09-07 07:17:00 +02:00
Matthias
1f03d43b92
settings for auto-fill on sso
2021-09-07 01:19:44 +02:00
Matthias
a4209d38cc
setting to make mail required on signup
2021-09-06 22:07:50 +02:00
Matthias
3963ece6d2
make notifications go away
2021-09-06 07:29:40 +02:00
Matthias
e255f2bf42
setting for sso login
2021-09-05 20:20:57 +02:00
Matthias
34a15ff51f
setting to enable signup
2021-09-05 20:17:49 +02:00
Matthias
fa1ea2f701
setting for pwd forgot
2021-09-05 19:56:48 +02:00
Matthias
1146e2abd9
adding login settings in admin
2021-09-05 19:01:21 +02:00
Matthias
d2a68125ff
cleanup
2021-09-05 18:35:58 +02:00
Matthias
f428ade877
doc for account base
2021-09-05 18:34:59 +02:00
Matthias
ff92d70ecb
cleanup
2021-09-05 18:34:24 +02:00
Matthias
4d2aa975de
use user stylesheet
2021-09-05 18:33:49 +02:00
Matthias
dd5a11b921
PEP fixes
2021-09-05 10:37:14 +02:00
Matthias
c8fb128817
make button fit the overall style
2021-09-05 10:32:48 +02:00
Matthias
fcf54fc0d2
make password change crispy
2021-09-05 10:32:08 +02:00
Matthias
6e8bf01a97
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso
2021-09-05 10:29:57 +02:00
Oliver
f0e5d1984c
Fix for about.html
2021-09-04 08:46:30 +10:00
Oliver
0a8365e3bc
Fix for clip.html
2021-09-04 08:45:06 +10:00
Oliver
c275bf8d98
Merge pull request #2026 from inventree/js-linting
...
Js linting
2021-09-03 23:35:14 +10:00
Oliver Walters
e5872f4b67
improve js debug comment
2021-09-03 23:16:35 +10:00
Oliver
888fa51cd7
lots of linting fixes for JS files
2021-09-03 22:54:17 +10:00
Matthias
849b71f7e4
"normal" admin-logout message
2021-09-03 00:23:29 +02:00
Matthias
1c3fa186ec
crispy sign in
2021-09-03 00:13:20 +02:00
Matthias
b1e0e09a90
crispy sign out
2021-09-02 22:19:20 +02:00
Matthias
1cbbc401dc
crispy tag for password reset
2021-09-02 22:15:22 +02:00
Matthias
5c206fd201
use SSO for signup in template
2021-09-02 22:12:18 +02:00
Matthias
0f08978b8c
styling signup crispy
2021-09-02 22:11:35 +02:00
Matthias
0ebc45e834
replace i html tags
2021-09-02 00:18:47 +02:00
Matthias
6a420fd95c
replace bold tags
2021-09-02 00:17:12 +02:00
Matthias
276eab19b5
reordering the base template
...
makes comparring to the original template much easier
2021-09-01 22:02:43 +02:00
Matthias
0ff6de62e9
crispy forms!
2021-09-01 07:34:37 +02:00
Matthias
22401d4229
use normal button style
2021-09-01 07:34:00 +02:00
Matthias
146f856f53
use icon also in connections list
2021-09-01 02:18:58 +02:00
Matthias
0b8a88e216
js function to ingest icons
2021-09-01 02:18:41 +02:00
Matthias
ef6d40bb68
use btns for brand - names
2021-09-01 02:18:24 +02:00
Matthias
1595b7e516
remove email from form and overview
2021-09-01 01:22:14 +02:00
Matthias
88534758aa
layout fixes
2021-09-01 01:18:53 +02:00
Matthias
f997e67ea2
patch social-connections into settings
2021-09-01 01:09:23 +02:00
Matthias
3eeb6e161d
fix layout
2021-09-01 00:08:13 +02:00
Matthias
5aca27f285
integrate email-actions into settings
2021-08-31 23:51:33 +02:00
Matthias
1772348d36
layout fixes
2021-08-31 07:49:38 +02:00
Matthias
9a72ddf823
base for login / signup layout
2021-08-31 01:39:44 +02:00
Matthias
592fd09ad4
remove old templates
2021-08-31 01:38:46 +02:00
Matthias
8afb8ac4d1
move to use allauth for login etc
2021-08-31 01:12:35 +02:00
Oliver Walters
cb403a5b29
More work
2021-08-30 22:28:01 +10:00
Oliver Walters
4c39607e00
Brace style fixes
2021-08-30 20:30:26 +10:00
Oliver Walters
e1adef5010
typo fix
2021-08-30 20:08:18 +10:00
Oliver Walters
6177fe0c5a
build.js
2021-08-30 19:52:28 +10:00
Oliver Walters
2112c6a9ad
barcode.js
2021-08-30 19:33:43 +10:00
Oliver Walters
7d4945d302
company.js
2021-08-30 16:01:45 +10:00
Oliver Walters
0835fe92a0
bom.js
2021-08-30 15:54:31 +10:00
Oliver Walters
51eb40f3bc
forms.js
2021-08-30 15:47:58 +10:00
Oliver Walters
bb3b6fdc4d
label.js
2021-08-30 15:34:46 +10:00
Oliver Walters
e0e7788af6
More js fixes
2021-08-30 15:32:01 +10:00
Oliver Walters
50b54f0966
order.js
2021-08-30 14:57:17 +10:00
Oliver Walters
00f012311d
inventree.js
2021-08-30 14:49:40 +10:00
Oliver Walters
90a75ac7cb
nav.js
2021-08-30 14:44:44 +10:00
Oliver Walters
7d5b859233
part.js
2021-08-30 14:39:58 +10:00
Oliver Walters
3e03b1c31d
report.js
2021-08-30 14:12:35 +10:00
Oliver Walters
c846aeb60f
stock.js
2021-08-30 14:07:34 +10:00
Oliver Walters
65874447ed
bug fix
2021-08-30 13:13:12 +10:00
Oliver Walters
5d45fce240
remove import / export calls
2021-08-30 13:10:58 +10:00
Oliver Walters
24ca1c5641
Add "helpers.js" for common functions
2021-08-30 13:06:02 +10:00
Oliver Walters
140a2092c8
fixes for table_filters.js
2021-08-28 22:18:20 +10:00
Oliver Walters
0620e656a0
Fix linting errors or tables.js
2021-08-28 22:12:41 +10:00
Matthias
c34a5967b8
user-settings template for social accounts
2021-08-26 23:17:00 +02:00
Oliver Walters
3adf30a00c
Simple fix for category parameter settings
2021-08-26 22:50:50 +10:00
Oliver
610c05384b
Merge pull request #2020 from SchrodingersGat/mpn-sorting-fix
...
Mpn sorting fix
2021-08-26 22:06:06 +10:00
Oliver
bad246bca6
Fixes for ordering of stock table
2021-08-26 08:24:31 +10:00
Oliver
51992a92c1
Change name of purchaseorder line item table
...
- Was conflicting with purchaseorder table
- Saved column selections were being overridden
2021-08-25 18:00:32 +10:00
Matthias
118bac0591
fix layout
2021-08-25 00:08:50 +02:00
Matthias
aebea33718
enrich login template with login buttons
2021-08-24 23:53:20 +02:00
Oliver Walters
f6b9d9e6d0
Revert "WIP"
...
This reverts commit 42af52ee51
.
2021-08-24 22:33:29 +10:00
Oliver Walters
42af52ee51
WIP
2021-08-24 22:31:13 +10:00
Oliver Walters
0d7eb6b72c
Style fixes
2021-08-24 22:25:25 +10:00
Oliver Walters
5275d3943b
Adds option to hide labels and help text
2021-08-24 22:13:07 +10:00
Oliver Walters
d87ab0033a
Add "afterRender" callback for modal forms
2021-08-24 22:05:00 +10:00
Oliver Walters
1360b1592d
Some convenience functions
2021-08-24 22:04:43 +10:00
Oliver Walters
e3605001e4
Simple function to render a thumbnail
2021-08-24 22:04:06 +10:00
Oliver
0073a77e16
Merge pull request #2008 from matmair/fix-for-1986
...
Fix for 1986
2021-08-24 14:13:50 +10:00
Oliver
36a0496dd7
Wrap search preview results in <a>
...
- Allows clicking with middle mouse (for e.g.) to open in new tab
2021-08-24 13:11:37 +10:00
Oliver
8fc79f45a3
Fix for "part" form fields
...
- Specify "default" rather than overriding "value"
2021-08-24 11:55:58 +10:00
Matthias
391bb0dbe4
disable ordering on loadStockTable
2021-08-23 22:14:51 +02:00
Matthias
4efcfbecaf
refactor stock.js columns into a variable
2021-08-23 22:07:20 +02:00
Oliver
5d4f35958d
Point table at the new read-only field
2021-08-23 21:45:32 +10:00
Matthias
d4efdf86e5
new settingsthe settings-page
2021-08-22 22:09:07 +02:00
Oliver Walters
174b7ba7f2
Fix for "new purchase order" button
2021-08-23 00:28:36 +10:00
Oliver Walters
449e0c0af2
Refactor button in first step of "order parts" wizard
...
- "new supplier part" button was broken
- Was linked to the old "launchModalForm" code
- Now calls createSupplierPart
2021-08-23 00:17:45 +10:00
Matthias
8fad704d76
disable ordering on stock
2021-08-20 22:53:25 +02:00
Matthias
5a59a37a89
disable ordering on category
2021-08-20 22:52:57 +02:00
Matthias
109b8c943e
disable ordering on part-name
2021-08-20 22:52:14 +02:00
Matthias
7533a9ac0c
disable ordering on IPN if fixed ordering
2021-08-20 22:51:36 +02:00
Guusggg
d8eefec065
Print multi part label ( #1963 )
...
* Added description as list for StockLocation
* Merge pull request #1874 from SchrodingersGat/docker-dev-fix
Copy static files when starting dev server
(cherry picked from commit 50eb70f538
)
* Merge pull request #1877 from eeintech/fix_search_js
Fixed missing comma propagating to translated JS files
(cherry picked from commit 2009773d9d
)
* Merge pull request #1890 from matmair/fix-for-1888
catch connection errors in exchange update
(cherry picked from commit db57e9516b
)
* Merge pull request #1887 from matmair/settings-safety
settings fixes
(cherry picked from commit d154ca08ea
)
* 0.4.2
* Merge pull request #1894 from SchrodingersGat/non-int-serial-fix
Fix for non-integer serial numbers
(cherry picked from commit 529742b520
)
* 0.4.4
Bump release version
* Bump version number -> 0.4.5
* Added a simple menu item to print multiple part labels. This does not follow the style of the Stock label functions but it works!
* Revert "Added description as list for StockLocation"
This reverts commit f5178e9fc3
.
* Added the right version number
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2021-08-17 12:42:40 +10:00
Oliver
1998dabe9b
Small tweaks here and there
2021-08-15 21:47:37 +10:00
Oliver
cef09acd54
Partial reversion of some stuff
2021-08-15 12:05:53 +10:00
Oliver
faab1f2464
Provide global_settings and user_settings as context objects
...
- Adds a new context middleware
- Refactor the way that settings are provided to the javascript layer
2021-08-15 11:57:05 +10:00
Oliver
28bccea57b
Cleanup
2021-08-14 13:43:38 +10:00
Oliver
f753e11f10
Improve error notification for modal forms
...
- Scroll to error
- Add red border and background to the form
2021-08-14 13:41:19 +10:00
Oliver
f72eb4266a
remove old debug message
2021-08-14 12:31:22 +10:00
Oliver
6eb4709658
Adds initial stock quantity
2021-08-14 10:23:42 +10:00
Oliver Walters
2be9399d2c
CSS style fixes
2021-08-14 01:15:43 +10:00
Oliver Walters
ad844c4393
Simplify rendering of checkboxes in forms
...
- Display "inline" so they take up much less vertical space
2021-08-14 01:05:06 +10:00
Oliver Walters
6218f1c7e6
Add form elements for initializing a part with supplier data
2021-08-14 00:26:22 +10:00
Oliver Walters
5cbb67b91c
Add options to show / hide form groups
2021-08-14 00:20:34 +10:00
Oliver Walters
cb11df4dba
Improve error checking for initial stock creation when creating a new part
...
- Use @transaction.atomic
- Raise proper field errors
2021-08-14 00:09:08 +10:00
Oliver Walters
1396c349c8
Refactor form field definition copying
2021-08-14 00:08:26 +10:00
Oliver Walters
5b42ab7332
Add "groups" to API forms
2021-08-13 21:48:48 +10:00
eeintech
91e314ddb5
Only connect ManufacturerPart if a. it exists b. SupplierPart is not yet connected
2021-08-11 17:08:46 -04:00
Oliver
2cf7592198
Merge pull request #1941 from SchrodingersGat/lazy-loading
...
Adds one-shot function when a panel is displayed
2021-08-11 00:29:06 +10:00
Oliver
68282c93f4
Start API calls before the panel has finished loading
2021-08-11 00:12:48 +10:00
Oliver
a1922bff81
Adds one-shot function when a panel is displayed
2021-08-11 00:09:01 +10:00
Oliver
b94104f7ab
Merge pull request #1940 from SchrodingersGat/stock-table-fix
...
Bug fix for stock table
2021-08-10 23:52:55 +10:00
Oliver
535c36b75e
Bug fix for stock table
...
- Use the provided table name, rather than hard-coded value
(cherry picked from commit b3a52dd6c65a83f2f330c0275b443e9acbcbdf73)
2021-08-10 23:31:20 +10:00
Oliver
4c8eaf3942
Bug fix for stock transfer form
2021-08-10 23:23:02 +10:00
Oliver
c32b6b2272
Hide the "part" field when editing manufacturer part and supplier part objects
2021-08-10 11:01:17 +10:00
Matthias
ad656b7ca7
extending API to supply price wihtout formatting
2021-08-09 01:49:55 +02:00
Matthias
c58ed5a07e
Fixes #1915
2021-08-09 01:43:50 +02:00
Oliver Walters
e3efd12184
secondary for purcahse order
2021-08-08 00:50:59 +10:00
Oliver Walters
52ba2201b2
secondary for creating sales order customers
2021-08-08 00:49:16 +10:00
Oliver Walters
4e6c8c45ee
secondary modal for part form
2021-08-08 00:44:46 +10:00
Oliver Walters
1dc5682767
bug fix
2021-08-08 00:44:30 +10:00
Oliver Walters
720b332f71
Adds secondary to manufacturerpart form
2021-08-07 23:49:50 +10:00
Oliver Walters
94c1ed882f
Add secondary field options for "Create Supplier Part" form
...
- Supplier
- Manufacturer Part
2021-08-07 23:42:42 +10:00
Oliver Walters
b960ce839a
remove debug statement
2021-08-07 23:31:21 +10:00
Oliver Walters
fd917b2e41
Simple refactoring
2021-08-07 23:30:53 +10:00
Oliver Walters
25af8559ba
Back-fill newly created model data into the parent modal form
2021-08-07 23:27:31 +10:00
Oliver Walters
759a3724b5
Add function to extract all data from a displayed form
2021-08-07 23:09:56 +10:00
Oliver Walters
ca9536f687
Implement option to display labels "inline" in the browser
2021-08-07 22:09:15 +10:00
Oliver Walters
d77b99c0ca
Add user settings for report and labels
2021-08-07 21:57:41 +10:00
Oliver Walters
2e5d5bcc84
Fix part settings page
2021-08-07 20:50:32 +10:00
Matthias Mair
96378cb556
Merge branch 'inventree:master' into trans-improv
2021-08-05 08:17:21 +02:00
Matthias
58f2dce18d
show translation level in ui
2021-08-05 01:23:11 +02:00
Oliver
be67832821
Merge pull request #1908 from eeintech/fix_typo
...
Fixed typo for build responsible column header
2021-08-05 08:14:51 +10:00
eeintech
c0ccb8f588
Fixed typo for build responsible column header
2021-08-04 17:11:35 -04:00
Matthias
3ecb1e6577
cleaner structure
2021-08-04 19:44:01 +02:00
Oliver Walters
aa4ed9feb0
Refactor MakeVariant form
...
- Now is essentially identical to the DuplicatePart form
- Uses the API form structure
2021-08-05 00:24:38 +10:00
Oliver Walters
0e8fb6a5ad
Refactored DuplicatePart form
...
- API endpoint now takes care of duplication of other data
2021-08-05 00:16:42 +10:00
Oliver Walters
2cb0b448b7
Fix error message styles for API errors
...
- django ValidationError uses "__all__" key for non_field_errors
- whyyyyyyyyyyyy
2021-08-05 00:15:55 +10:00
Oliver Walters
408ff639dd
Adds ability to pre-fill a form with a complete dataset
2021-08-04 23:48:21 +10:00
Oliver Walters
1fafaf8577
Refactor partfields function (was essentially duplicated)
2021-08-04 23:29:39 +10:00
Oliver Walters
2bf3e3ab02
Function to construct part form fields
2021-08-04 23:26:17 +10:00
Oliver Walters
a64ee23afc
Add more options for form rendering
...
- "before" a field
- "after" a field
- pure "eye candy" field
2021-08-04 23:16:11 +10:00
Oliver Walters
75a1be0284
Use API forms for creating and editing BomItem objects
2021-08-04 17:25:51 +10:00
Matthias
efd4644045
translation information
2021-08-04 07:55:58 +02:00
Oliver
1f70538b04
Adds a button to tables to reload data
2021-08-04 14:24:17 +10:00
Oliver
7911801dbf
Merge pull request #1900 from SchrodingersGat/part-image-search
...
Make the part thumbnail selection window searchable
2021-08-04 12:28:52 +10:00
Oliver
f95346f214
Make the part thumbnail selection window searchable
2021-08-04 12:10:49 +10:00
Oliver
83d8226ad6
Refactor "CreatePartCategory" form to API
...
(cherry picked from commit 06ff961564
)
2021-08-04 11:34:42 +10:00
Matthias
fa3c5ae108
updating language to be clearer
...
see https://github.com/inventree/InvenTree/issues/1889#issuecomment-891901070
2021-08-04 00:45:56 +02:00
Matthias
55762f2a96
do not use safe in template
...
that can cause wrong escaping and generally is considered unsafe
2021-08-01 01:41:46 +02:00
Oliver
7756c766c3
Fix stock.js
2021-07-29 12:35:21 +10:00
Oliver
4381a16b0e
Template cleanup
2021-07-29 12:31:07 +10:00
Oliver
6fe5f0e0e6
Fixes for order.js
2021-07-29 11:58:32 +10:00
Oliver
ba5479090a
Fix nav.js
2021-07-29 11:54:04 +10:00
Oliver
28bf5bfdbc
Fix table_filters.js
2021-07-29 11:52:50 +10:00
Oliver
a222efda33
Fix rendering issues
2021-07-29 11:43:50 +10:00
Oliver
27ec65a002
Add 'settings.js' which provides all settings (global and user) as a dynamic javascript file
...
- Minimal database hits required
2021-07-29 11:28:04 +10:00
Oliver
14aebfdae1
Split dynamic javascript files into two separate directories
...
- One gets translated and is served statically
- One does not get translated and is served dynamically
- Add CI step
2021-07-29 09:23:24 +10:00
eeintech
d43312d162
Missing comma propagating to translated JS files
2021-07-28 13:29:12 -04:00
Oliver
6fd70e4741
Fix search settings page
2021-07-28 14:18:42 +10:00
Oliver
1fe00ef7df
Refactor 'category' setttings
2021-07-28 14:16:55 +10:00
Oliver
c08cb43c39
Template rendering fix for inventree.js
2021-07-27 17:22:44 +10:00
Oliver
a93d96de58
Cleanjup
2021-07-27 17:13:02 +10:00
Oliver
990b987692
Reload settings values "live" (without a page refresh)
2021-07-27 17:03:37 +10:00
Oliver
46d5a6f00b
- Convert "PART_RECENT_COUNT" to user setting
...
- Convert "STOCK_RECENT_COUNT" to user setting
2021-07-27 14:53:32 +10:00
Oliver
33a0b73a05
Convert SEARCH_PREVIEW_RESULTS to a "user" setting
2021-07-27 14:44:51 +10:00
Oliver
3e0655a9d8
Add "homepage" settings page
2021-07-27 14:34:23 +10:00
Oliver
7fdc0546b4
Merge remote-tracking branch 'inventree/master' into settings-refactor
2021-07-27 14:28:17 +10:00
Oliver
c63a061cf3
Refactor "theme" selection
2021-07-27 08:31:43 +10:00
Oliver
57551d3ac3
inventreeDelete was not returning the promise
2021-07-27 08:17:53 +10:00
Oliver
0186d23563
inline theme form
2021-07-27 07:56:24 +10:00
Oliver
3349e9ff6c
Refactor language selection
2021-07-27 00:58:31 +10:00
Oliver
b7b0574a44
Add "appearance"
2021-07-27 00:38:59 +10:00
Oliver
9b0fbb7006
Separate tab for "barcode" settings
2021-07-27 00:36:41 +10:00
Oliver
ca1c692b15
Refactor "Currency settings" view
2021-07-27 00:29:55 +10:00
Oliver
de89c3997d
Refactoring a lot of existing settings views
2021-07-27 00:20:31 +10:00
Matthias
175b24a794
changing user settings icon
2021-07-24 00:45:37 +02:00
Matthias
a82483dbaa
hiding homepage block when no setting is used
2021-07-24 00:44:16 +02:00
Matthias
31050f23aa
adding all homepage settings
2021-07-24 00:08:46 +02:00
Matthias
32eace0c36
moving settings into own section
2021-07-23 11:05:41 +02:00
Matthias
46b0db8263
more hompage settings
2021-07-23 01:07:28 +02:00
Matthias
50356afd41
Merge branch 'master' of https://github.com/inventree/InvenTree into homepage-settings
2021-07-23 00:03:21 +02:00
Matthias
5f2bef7ee1
base implementation of user setting
2021-07-22 23:50:09 +02:00
Matthias
3f6c7df7a8
change template setting behaviour for user setting
2021-07-22 23:48:28 +02:00
Oliver
df48df8119
Catch recursive tree error for part / variant relationship
2021-07-21 21:10:31 +10:00
Oliver
2ffae368f1
Add an option to configure number of parts displayed in search preview box
2021-07-21 15:05:14 +10:00
Matthias Mair
ebb202b19b
Merge branch 'inventree:master' into search-autocomplete
2021-07-19 23:39:16 +02:00
Oliver
efb4f194b6
Refactor StockExportOptions form
2021-07-19 17:23:18 +10:00
Oliver
fa9ef02d23
Merge pull request #1836 from SchrodingersGat/supplier-part-forms
...
Supplier part forms
2021-07-19 11:17:45 +10:00
Oliver
efd0caba6e
Merge pull request #1829 from matmair/initial-amount
...
Initial amount
2021-07-19 09:53:40 +10:00
Matthias
6ca34276bd
refactor
2021-07-19 01:17:32 +02:00
Matthias
866c8af393
adding styling to autocomplete
2021-07-19 01:07:33 +02:00
Matthias
17eee66b95
Adding search auto-complete #280
2021-07-19 00:46:51 +02:00
Oliver Walters
0288a1acbf
Refactor edit and delete views for ManufacturerPart
2021-07-18 22:59:34 +10:00
Oliver Walters
29d7cb40e1
Add edit and delete buttons for supplier-part table
2021-07-18 22:31:04 +10:00
Oliver Walters
56fa6c512b
Refactor SupplierPartCreate form
2021-07-18 22:21:11 +10:00
Oliver
f9b7257bdb
Merge pull request #1835 from SchrodingersGat/disable-secondary
...
Disable secondary modals
2021-07-18 21:46:22 +10:00
Oliver
b1165af3c3
Merge pull request #1833 from SchrodingersGat/part-cat-form-improvements
...
Part cat form improvements
2021-07-18 21:32:31 +10:00
Oliver Walters
b04d6051a4
Disable secondary modals
2021-07-18 21:32:25 +10:00
Oliver Walters
c33cfe9503
Small rendering improvements
2021-07-18 21:17:03 +10:00
Oliver Walters
753fe9c80f
Ordering and rendering for StockLocation
2021-07-18 21:15:51 +10:00
Oliver Walters
36cf614aed
Add "level" to PartCategory serializer
...
- Also use tree ordering by default
2021-07-18 21:11:53 +10:00
Oliver Walters
f4f7514b45
Similar fix for customer_reference field
2021-07-18 10:47:35 +10:00
Oliver Walters
9719a14587
Add supplier_reference field to form
2021-07-18 10:33:27 +10:00
Matthias
44482800e4
switching out icon for setting
2021-07-18 02:27:15 +02:00
Matthias
210a4bccde
setting for #1796
2021-07-18 02:20:56 +02:00
Oliver
0fcb4e3170
Link fixes
2021-07-16 13:30:11 +10:00
eeintech
886d95e467
Easy fix!
2021-07-15 16:31:07 -04:00
Oliver
c61fc7c1df
Refactor part pricing page
2021-07-15 23:06:37 +10:00
Oliver
0fc558068f
Refactor BuildOrder pages
2021-07-15 22:40:14 +10:00
Oliver
533a3aa368
Refactor StockItem pages
2021-07-15 22:19:13 +10:00
Oliver
984e16d5af
Return all part parameters to the main part edit form
...
- refactor purchaseorder view
- refactor salesorder view
2021-07-15 16:07:46 +10:00
Oliver
352a58b373
Can select nav based on URL query parameter
2021-07-15 13:41:26 +10:00
Oliver
c1c0a262b2
Refactor Company detail view
2021-07-13 21:53:48 +10:00
Oliver
b6227f7d28
Refactor PurchaseOrder display
2021-07-13 21:21:00 +10:00
Oliver
65de52b705
Add javascript to dynamically switch between views
2021-07-13 20:58:05 +10:00
Oliver
39c58e4015
Move all "SalesOrder" content onto a single page
2021-07-13 19:59:11 +10:00
Oliver
77d80f5c0f
Move "attachments" and "notes" to "Part Detail" page
...
(cherry picked from commit daf0a082dc04c04cfd68cab70148a7d7cf28460f)
2021-07-12 23:27:50 +10:00
Oliver
bd8b52d7d2
Merge pull request #1804 from SchrodingersGat/api-stock-adjustments
...
Api stock adjustments
2021-07-12 22:16:56 +10:00
Oliver
ccf17bf4c5
Fix dodgy CSS file
2021-07-12 21:19:00 +10:00
Oliver
77cfadad42
Add 'title' option for contsructed fields
2021-07-12 21:11:29 +10:00
Oliver
edf4aab063
Refactor "showQuestionDialog" function
2021-07-12 21:03:01 +10:00
Oliver
a1579eecfd
Refactor "showAlertDialog" function
2021-07-12 20:55:28 +10:00
Oliver
9fc7976569
Refactor all "adjustment" forms to use the new API approach
2021-07-12 20:38:54 +10:00
Oliver
74e5b2cd3f
Handle delete differently
2021-07-12 20:06:53 +10:00
Oliver
5329e3e56c
Display per-line errors
2021-07-12 19:42:06 +10:00
Oliver
e04828214a
Refactor showApiError() function
2021-07-12 19:20:29 +10:00
Oliver
0c41cc7c77
Handle form submissions
2021-07-12 18:13:06 +10:00
Oliver
747cccfa42
Refactor to use more generic forms approach
2021-07-12 16:55:35 +10:00
Oliver
7531984c78
Fix read_only attribute
2021-07-11 21:17:54 +10:00
Oliver
cc90c8abbe
Move buttons to separate table column
2021-07-11 21:15:06 +10:00
Oliver
9eb1367d80
Add "location" field
2021-07-11 21:07:56 +10:00
Oliver
3efd7f7777
Add a "notes" field
2021-07-11 20:56:29 +10:00
Oliver
ca5d3a57de
Set quantity input parameters based on action
2021-07-11 20:49:54 +10:00
Oliver
9e4bc274cf
Allow custom code to be run on form submission
2021-07-11 20:40:27 +10:00
Oliver
c045a3b6f6
Refactorin'
2021-07-11 20:36:52 +10:00
Oliver
14ab1bef14
Callback to remove row
2021-07-11 00:15:46 +10:00
Oliver
0507e8a3bc
Building stock adjustment modal
2021-07-10 23:59:35 +10:00
Oliver
6b73e7a408
Add more fields to ManufacturerPart and SupplierPart tables
2021-07-09 14:28:32 +10:00
Oliver
5235ad1b0c
Merge pull request #1787 from SchrodingersGat/bom-table-additions
...
Add sub_part_assembly filter to BOM table
2021-07-09 13:39:09 +10:00
Oliver
079e331bf6
Add sub_part_assembly filter to BOM table
2021-07-09 13:04:48 +10:00
Oliver
558e24c985
Merge pull request #1783 from SchrodingersGat/build-table-filtering
...
Fix for strange table filtering bug
2021-07-09 12:57:03 +10:00
Oliver
9d7f9a9aa3
Fix for strange table filtering bug
...
- When a table was "refreshed" based on the selectable filters, table ordering was not observed
- This was due to the original query parameter conversion not being observed
- Refactored out the conversion function so it works correctly now
- Also removed some cruft from generated query strings
2021-07-09 12:31:25 +10:00
Oliver
7539bd47fe
Fix rendering issues
2021-07-09 12:10:27 +10:00
Oliver
4b6ca548b6
Improve form rendering for SupplierPart
2021-07-09 12:09:57 +10:00
Oliver
40ac1f39e0
Improve rendering of "Company" in API form
...
- Add a thumbnail image
- Refactor select2 thumbnail code
(cherry picked from commit 2df7c520be
)
2021-07-09 11:14:38 +10:00
Oliver
433098ce6e
Merge pull request #1778 from SchrodingersGat/build-forms
...
Refactor BuildOrderEdit form
2021-07-09 09:02:39 +10:00
Oliver
0a86d947bc
Refactor PartParameterCreate form
2021-07-09 02:03:33 +10:00
Oliver
cbf0e0bd4a
Refactor forms for editing and deleting a PartParameter
...
- PartParameters now loaded using the API, not pre-rendered
2021-07-09 01:56:04 +10:00
Oliver
337223b8eb
Modal form improvements
2021-07-09 01:20:40 +10:00
Oliver
60e8a17f07
bug fix: Prevent API forms from being submitted multiple times
...
- A problem if you're a manic clicker
2021-07-09 01:06:38 +10:00
Oliver
be6ecd9587
Fixes for BuildOrder forms
2021-07-09 00:36:54 +10:00
Oliver
004b36b1df
Refactor BuildOrderCreate form
2021-07-09 00:18:03 +10:00
Oliver
245c04367b
Refactor BuildOrderEdit form
2021-07-08 23:57:42 +10:00
Oliver
15cb1e0005
Print part labels
2021-07-08 22:54:41 +10:00
Oliver
ff8ddfbb5c
Fix link to select2
2021-07-08 10:38:12 +10:00
eeintech
87a7081185
Fixed supplier part detail handling in stock table
2021-07-06 14:32:16 -04:00
Matthias
4711f0b823
fromatter for responsible group
2021-07-04 00:16:14 +02:00
Matthias
4f31cee6a3
Merge branch 'master' of https://github.com/inventree/InvenTree into extend-build-order
2021-07-04 00:02:29 +02:00
Oliver
20b0e399c0
Merge pull request #1716 from SchrodingersGat/drf-api-forms
...
[WIP] API Forms
2021-07-03 22:14:26 +10:00
Oliver
889834b693
Refactor POLineItemCreate form
2021-07-03 21:43:22 +10:00
Oliver
45704f7a8d
Merge pull request #1747 from matmair/depleted-stock
...
Depleted stock on start page
2021-07-03 16:23:27 +10:00
Oliver
83256b1014
Refactor BomItemDelete form
2021-07-03 16:10:41 +10:00
Oliver
359e92cd8e
Merge remote-tracking branch 'inventree/master' into drf-api-forms
...
# Conflicts:
# InvenTree/InvenTree/static/css/inventree.css
2021-07-03 12:59:13 +10:00
Oliver
2b32f04af2
Merge pull request #1712 from matmair/one-pricing-view
...
One pricing view
2021-07-03 12:55:34 +10:00
Oliver
90a3a8a288
Merge remote-tracking branch 'inventree/master' into drf-api-forms
2021-07-03 12:35:40 +10:00
Oliver
d8f5cc7f56
Merge pull request #1744 from matmair/stock-table-has-price
...
Stock table filter: has purchase price
2021-07-03 12:05:29 +10:00
Oliver
1d5429f07e
Merge pull request #1750 from matmair/stock-table-supplier-part
...
Stock table add supplier part column
2021-07-03 11:59:46 +10:00
Matthias
16fafbfb30
sock table link to stock
2021-07-03 02:05:37 +02:00
Matthias
57ce82de32
show supplier_part in stock-table
...
#1323
2021-07-03 02:04:39 +02:00
Matthias
ffa9dd18cf
adding new fields into table
2021-07-03 01:49:18 +02:00
Matthias
f46d9537ec
changes email-warning to yellow #1732
2021-07-03 00:36:07 +02:00
Matthias
54cb8fa736
adds depleted stock to index
2021-07-03 00:08:00 +02:00
Matthias
f8e2d53ad4
Merge branch 'master' of https://github.com/inventree/InvenTree into one-pricing-view
2021-07-02 16:44:43 +02:00
Oliver
1cdf03ef49
Added MinMoneyValidator to InvenTreeModelMoneyField
...
- Refactor edit and delete forms for PurchaseOrderLineItem
2021-07-03 00:34:41 +10:00
Matthias
9c8717574a
implement purchase price filter for stock table
...
Closes #1717
2021-07-02 16:31:42 +02:00
Oliver
993abd9d91
Refactor forms for sales orders
2021-07-03 00:14:36 +10:00
Oliver
984828f3bb
Specify 'default' functions for 'reference' field in SalesOrder and PurchaseOrder
...
- Refactor CreatePurchaseOrder form
- Some migrations
2021-07-02 23:59:02 +10:00
Oliver
7e5c9aa043
Refactor PurchaseOrderEdit form
2021-07-02 23:04:53 +10:00
Oliver
5e9372f2d6
Add API endpoints for Owner model
...
- Will be necessary for PurchaseOrder, SalesOrder and BuildOrder forms
2021-07-02 22:45:42 +10:00
Oliver
07910766b3
select2 fixes
2021-07-02 21:36:41 +10:00
Oliver
2a4cbd6eb9
Refactor setRelatedFieldData function
2021-07-02 21:17:20 +10:00
Oliver
6d73265f0e
Add support for custom placeholder text
2021-07-02 19:47:47 +10:00
Oliver
746a0210fe
Add option to focus on a particular field when launching
2021-07-02 19:40:02 +10:00
Oliver
c7f834e547
Display message when action is not allowed
2021-07-02 19:34:40 +10:00
Oliver
366a2d57c3
Improve docstring
2021-07-02 19:27:19 +10:00
Oliver
2e3bfd18cc
Starting work on "secondary modal" functionality
2021-07-02 17:47:18 +10:00
Oliver
291149d733
New modal forms automatically work themselves out
2021-07-02 17:46:54 +10:00
Oliver
047b9d1ecd
Capture enter key to submit form
2021-07-02 17:19:58 +10:00
Oliver
72526307ae
Renderer for supplier part
2021-07-02 17:11:07 +10:00
Oliver
52952a8a8b
Handle different form responses
2021-07-02 16:53:56 +10:00
Oliver
51ebe30754
Merge remote-tracking branch 'inventree/master' into drf-api-forms
...
# Conflicts:
# InvenTree/company/forms.py
2021-07-02 11:26:09 +10:00
Oliver
00e921f505
More work on dynamic modal template
2021-07-02 11:13:24 +10:00
Oliver
3ff19f8c75
Refactorin'
2021-07-02 11:06:52 +10:00
Oliver
2f1dea1123
Modals can now be created programatically
...
- INFINITE MODALS
- API forms now create a new modal as required
2021-07-02 10:52:56 +10:00
Oliver
74d2334f36
Merge remote-tracking branch 'inventree/master' into drf-api-forms
2021-07-01 22:08:10 +10:00
Oliver
a771d7732b
Icon tweak
2021-07-01 21:58:05 +10:00
Oliver
e0f8310ca8
Adds the ability to "clear" a non-required field with an obvious button
2021-07-01 21:57:07 +10:00
Oliver
225162ab8e
Add ability to delete multiple selected manufacturer part parameters
2021-07-01 17:20:06 +10:00
Oliver
9bd71c1184
Refactor deletion of multiple manufacturer part objects
...
- issues multiple DELETE requests via the API
2021-07-01 17:01:30 +10:00
Oliver
870542e4c1
Refactor forms for ManufacturerPartParameter
2021-07-01 16:05:23 +10:00
Matthias
88f57a211f
setting for default currency
2021-06-30 23:35:57 +02:00
Oliver
54731746d8
Render simple choice fields with select2
2021-06-30 23:18:50 +10:00
Oliver
30ac5dba55
Display attachment upload date
2021-06-30 17:44:23 +10:00
Oliver
9b4db43232
Refactoring "attachment" tables to use the API
...
- Part attachments
- StockItem attachments
- PurchaseOrder attachments
- SalesOrder attachments
- BuildOrder attachments
2021-06-30 17:40:44 +10:00
Oliver
682b2b4b2f
Support rendering / updating of date inputs
2021-06-30 17:04:21 +10:00
Oliver
09fff5b644
Refactor PriceBreakCreate form
...
- Handle non_field_errors
2021-06-30 14:07:15 +10:00
Oliver
4d8e88c779
BuildAttachmentDelete form
2021-06-30 12:48:14 +10:00
Oliver
653e3cd135
Starting work on a DELETE form
2021-06-30 12:03:32 +10:00
Oliver
87235b7e6f
Replace StockItemAttachmentCreate form
...
- Also replace drag-and-drop
- Add 'hidden' option for form fields
- Adds renderer for StockItem model
2021-06-30 09:17:28 +10:00
Oliver
43f26f2c65
Allow custom labels
2021-06-30 01:07:57 +10:00
Oliver
1f75530910
Specify custom help text for fields on the client side
2021-06-30 01:07:36 +10:00
Oliver
621f47e46c
Replace "edit part category" form
2021-06-30 01:04:39 +10:00
Oliver
293b5d4c07
Allow file and image fields
...
- Use FormData class
- Replace existing Company image upload form
2021-06-30 00:13:53 +10:00
Oliver
c25967eff6
Replace CompanyCreate and CompanyEdit forms with AJAX form
...
- Adds the ability to specify an "icon" for each field
2021-06-29 21:17:48 +10:00
Oliver
cf0feffe26
Allow override of values from calling function
2021-06-29 20:44:44 +10:00
Matthias
d10169932d
option to hide related parts #1733
2021-06-29 12:33:54 +02:00
Oliver
5230a5a41b
Add "success" functionality for form posting
2021-06-29 19:55:32 +10:00
Oliver
f18c2a7a3d
Fix rendering during search
2021-06-29 12:48:56 +10:00
Oliver
9312a5d3b4
Correctly render selected value of a related field
...
Ref: https://select2.org/programmatic-control/add-select-clear-items#preselecting-options-in-an-remotely-sourced-ajax-select2
2021-06-29 12:39:39 +10:00
Oliver
798bc17311
Merge remote-tracking branch 'inventree/master' into drf-api-forms
2021-06-29 09:57:03 +10:00
Oliver
374344d0e2
Refactor switch statement
2021-06-29 09:28:00 +10:00
Oliver
0037056ee8
Better default renderer
2021-06-29 09:26:40 +10:00
Oliver
25a01be995
Added warning message for missing model information
2021-06-29 09:25:40 +10:00
Oliver
c3ef8d2dfb
Fixes for model renderers
2021-06-29 09:14:26 +10:00
Matthias
153be2df13
Merge branch 'master' of https://github.com/inventree/InvenTree into allocated-sort-qty
2021-06-29 00:17:29 +02:00
Oliver
ed2f21f583
Display field prefix element in form
2021-06-28 21:38:42 +10:00
Oliver
ac7564d069
Extract "limit_choices_to" options for relatedfields
...
- Specify as 'filters' for 'related field' type
- Extremely handy to be able to filter AJAX requests in a DRY manner!
2021-06-28 21:29:51 +10:00
Oliver
e585079779
Callback function for fields after editing
2021-06-28 19:32:48 +10:00
Oliver
fbff9bfb2d
Insert buttons for secondary modals
2021-06-28 15:10:17 +10:00
Oliver
41539b75db
Adds custom filters for AJAX queries
2021-06-28 14:19:05 +10:00
Oliver
e2942238a9
Bug fix - check for null rather than just !
2021-06-28 13:10:41 +10:00
Oliver
ba2537d125
Refactor the way that field options are passed to a form
2021-06-28 13:03:34 +10:00
Oliver
6335372208
Store instance data when performing an "update"
2021-06-28 09:28:38 +10:00
Matthias
5598f7fad1
added sale price history
2021-06-27 21:32:27 +02:00
Matthias
d71aee00cd
refactor of variable names
2021-06-27 17:54:33 +02:00
Matthias
984efd7493
sort graph-data as well
2021-06-27 17:51:49 +02:00
Matthias
547f7a8f36
Merge branch 'master' of https://github.com/inventree/InvenTree into one-pricing-view
2021-06-27 14:40:17 +02:00
Matthias
cd6d13fa7d
Merge branch 'master' of https://github.com/inventree/InvenTree into bom-pricing
2021-06-27 14:38:23 +02:00
Oliver
0e9b82c475
Load default values into rendered form
2021-06-27 21:58:22 +10:00
Matthias
a3ec24fbcc
Reenabling prices for BOM items
...
Closes #1721
2021-06-27 13:48:08 +02:00
Oliver
67f76c8bca
Merge remote-tracking branch 'inventree/master' into drf-api-forms
2021-06-27 09:26:23 +10:00
Matthias Mair
e760aa172a
Merge branch 'master' into part-import
2021-06-26 23:58:41 +02:00
Oliver
f696bb2e2a
Correctly read out boolean fields
2021-06-26 19:49:56 +10:00
Oliver
2eb7565683
Callback handler for form success
2021-06-26 19:30:57 +10:00
Oliver
9dd2765bd2
Handle returned error messages
2021-06-26 19:11:20 +10:00
Oliver
e9db72017d
Extract field data on submit
2021-06-26 17:54:14 +10:00
Oliver
949c7dd81b
Set modal form title
2021-06-26 14:30:14 +10:00
Oliver
565631ef87
More features
...
- Custom renderers depending on specified model name
- Paginate API results
2021-06-26 14:09:35 +10:00
Matthias
d28d66795d
linked price break graphs
2021-06-25 07:41:00 +02:00
Matthias
4921cd47f9
refactor for better readabilty
2021-06-25 07:40:01 +02:00
Oliver
b29db6f258
Remove old debug message
2021-06-25 15:22:40 +10:00
Oliver
d411728be6
Start of custom rendering support based on model
2021-06-25 13:58:36 +10:00
Oliver
4cf69a5a4c
Custom rendering functions
2021-06-25 13:47:33 +10:00
Oliver
341467ae8d
Fixes for base template
2021-06-25 13:47:09 +10:00
Oliver
9e7d1710db
Fixes for select2 rendering issues
2021-06-25 13:23:29 +10:00
Oliver
b20af54b76
Create select2 instance for related field
2021-06-25 07:36:37 +10:00
Oliver
970a5d5eed
Include API endpoints in OPTIONS metadata
2021-06-25 00:36:22 +10:00
Oliver
a12790d5ca
Fixes table data nesting
...
Sometimes you just need a quick break
2021-06-24 13:23:12 +10:00
Oliver
b350a971a4
Working on custom field info in metadata class
2021-06-24 13:12:46 +10:00
Matthias
9f27a77689
price break js refactor
2021-06-24 01:19:09 +02:00
Oliver
9feef935f4
Readonly fields
2021-06-24 00:16:30 +10:00
Oliver
c8085ad39d
Skip nested objects
2021-06-24 00:13:40 +10:00
Oliver
9f3f07aff3
Refactor toot-toot
...
- Now can specify the "order" of fields
2021-06-24 00:06:27 +10:00
Oliver
1754af3d43
Adds ability to specify which fields are displayed
2021-06-24 00:00:20 +10:00
Oliver
e7bc53a548
Working on a 'update' form
...
- Fetch existing data from the API
2021-06-23 23:51:11 +10:00
Oliver
6162129e3d
Support choice field
2021-06-23 23:36:38 +10:00
Oliver
96ecd2640a
Support email fields
2021-06-23 23:27:02 +10:00
Oliver
d77ca8aa3a
Support URL fields
2021-06-23 23:23:28 +10:00
Oliver
78232c2ca2
Refactorin'
2021-06-23 23:18:36 +10:00
Oliver
b71977bb6a
Add field support
...
- Support text field
- Support checkbox field
2021-06-23 22:59:27 +10:00
Oliver
66687a6915
Now with error messages!
2021-06-23 22:37:45 +10:00
Oliver
aa02377665
Updates for field rendering
2021-06-23 22:25:53 +10:00
Oliver
c387e1a6fc
Working on functions to construct the various form components
2021-06-23 22:11:26 +10:00
Oliver
0d9808fbb8
Adds 'constructForm' javascript function
...
- Skeleton only (for now!)
2021-06-23 21:41:19 +10:00
Oliver
eaa5913c8c
Adds custom DRF metadata handler
...
- Limit available "actions" data to only what the user is allowed to do
2021-06-23 20:30:26 +10:00
Oliver
058e53459b
Add simple function for determining OPTIONS
2021-06-23 20:07:56 +10:00
Oliver
962badc36d
Merge pull request #1682 from matmair/order-modal-show-price
...
Order modal show price
2021-06-22 21:27:59 +10:00
Oliver
650d31ae32
Remove debug statements
2021-06-22 10:43:00 +10:00
Oliver
6886570d0f
Bug fix for build order allocation sorting
2021-06-22 10:30:15 +10:00
Matthias
b503c62464
Merge branch 'master' of https://github.com/inventree/InvenTree into order-modal-show-price
2021-06-22 00:27:56 +02:00
Matthias
c8defae575
fixing allocation sorting
2021-06-22 00:03:54 +02:00
Matthias
8b515571ca
I think a fix for #1663
...
Closes #1663
2021-06-21 23:33:27 +02:00
Oliver
044650ca10
Merge pull request #1698 from SchrodingersGat/po-stock-pricing
...
Displays "purchase order" column in StockItem table
2021-06-21 17:19:38 +10:00
Oliver
e6598b5115
Displays "purchase order" column in StockItem table
2021-06-21 16:58:39 +10:00
Oliver
5e5fc35655
Merge pull request #1688 from SchrodingersGat/supplier-part-parameters
...
Adds "parameters" for manufacturer parts
2021-06-21 16:39:15 +10:00