mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
[Feature] Filter by parameter (#9739)
* Add shell task * Filter parts by parameter value * Allow more operation types * Working on table filtering * Filter improvements * Update on enter key * Improved query logic * Enable filter for "generic" parameter types * Placeholder text * Documentation updates * Fix typo * Fix for boolean part parameter field * Add API unit testings * Cleanup * add playwright tests
This commit is contained in:
9
tasks.py
9
tasks.py
@ -536,6 +536,14 @@ def setup_dev(c, tests=False):
|
||||
|
||||
|
||||
# Setup / maintenance tasks
|
||||
|
||||
|
||||
@task
|
||||
def shell(c):
|
||||
"""Launch a Django shell."""
|
||||
manage(c, 'shell', pty=True)
|
||||
|
||||
|
||||
@task
|
||||
def superuser(c):
|
||||
"""Create a superuser/admin account for the database."""
|
||||
@ -1831,6 +1839,7 @@ development = Collection(
|
||||
server,
|
||||
setup_dev,
|
||||
setup_test,
|
||||
shell,
|
||||
test,
|
||||
test_translations,
|
||||
translate,
|
||||
|
Reference in New Issue
Block a user