Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
d3b76ea7
Commit
d3b76ea7
authored
13 years ago
by
Antony Lesuisse
Browse files
Options
Downloads
Patches
Plain Diff
[IMP] temporary web dbfilter before metaoptions
bzr revid: al@openerp.com-20110925005437-7jdgrzl7i4ihx44y
parent
eda28246
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openerp/tools/config.py
+8
-1
8 additions, 1 deletion
openerp/tools/config.py
with
8 additions
and
1 deletion
openerp/tools/config.py
+
8
−
1
View file @
d3b76ea7
...
...
@@ -143,6 +143,13 @@ class configmanager(object):
help
=
"
disable the NETRPC protocol
"
)
parser
.
add_option_group
(
group
)
# WEB
# TODO move to web addons after MetaOption merge
group
=
optparse
.
OptionGroup
(
parser
,
"
Web interface Configuration
"
)
group
.
add_option
(
"
--db-filter
"
,
dest
=
"
dbfilter
"
,
default
=
'
.*
'
,
help
=
"
Filter listed database
"
,
metavar
=
"
REGEXP
"
)
parser
.
add_option_group
(
group
)
# Testing Group
group
=
optparse
.
OptionGroup
(
parser
,
"
Testing Configuration
"
)
group
.
add_option
(
"
--test-file
"
,
dest
=
"
test_file
"
,
my_default
=
False
,
...
...
@@ -333,7 +340,7 @@ class configmanager(object):
'
netrpc_interface
'
,
'
netrpc_port
'
,
'
db_maxconn
'
,
'
import_partial
'
,
'
addons_path
'
,
'
netrpc
'
,
'
xmlrpc
'
,
'
syslog
'
,
'
without_demo
'
,
'
timezone
'
,
'
xmlrpcs_interface
'
,
'
xmlrpcs_port
'
,
'
xmlrpcs
'
,
'
secure_cert_file
'
,
'
secure_pkey_file
'
,
'
secure_cert_file
'
,
'
secure_pkey_file
'
,
'
dbfilter
'
]
for
arg
in
keys
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment