openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #08073
[Bug 940439] [NEW] dbfilter in configuration file is ignored
Public bug reported:
Version: 6.1-1-1 as packaged for ubuntu
Platform: Ubuntu Oneiric Ocelot 11.10
erp61 GA was announced yesterday. So, I eagerly installed it today, and
I was delighted about the new dbfilter (using a regular expression).
However, every pattern I put into the configuration file was ignored.
Thankfully, openerp is open source, so I was able to debug what was
happening to my value. It was being clobbered by the default value
during the check whether it had been assigned at the command line.
/usr/share/pyshared/openerp/tools/config.py line 387
"self.options[arg] = getattr(opt, arg)
The problem is in line 154. The default value is specified using
"default='.*'" instead of the proper "my_default='.*'".
Cheers,
Sebastian
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/940439
Title:
dbfilter in configuration file is ignored
Status in OpenERP Addons (modules):
New
Bug description:
Version: 6.1-1-1 as packaged for ubuntu
Platform: Ubuntu Oneiric Ocelot 11.10
erp61 GA was announced yesterday. So, I eagerly installed it today,
and I was delighted about the new dbfilter (using a regular
expression). However, every pattern I put into the configuration file
was ignored.
Thankfully, openerp is open source, so I was able to debug what was
happening to my value. It was being clobbered by the default value
during the check whether it had been assigned at the command line.
/usr/share/pyshared/openerp/tools/config.py line 387
"self.options[arg] = getattr(opt, arg)
The problem is in line 154. The default value is specified using
"default='.*'" instead of the proper "my_default='.*'".
Cheers,
Sebastian
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/940439/+subscriptions
Follow ups
-
[Bug 940439] Re: Once we save dbfilter in configuration file, It is ignored
From: Redneck Engineering, 2012-12-20
-
[Bug 940439] Re: Once we save dbfilter in configuration file, It is ignored
From: The Loeki, 2012-10-10
-
[Bug 940439] Re: Once we save dbfilter in configuration file, It is ignored
From: The Loeki, 2012-10-10
-
[Bug 940439] Re: Once we save dbfilter in configuration file, It is ignored
From: Parthiv Patel, 2012-10-02
-
[Bug 940439] Re: Once we save dbfilter in configuration file, It is ignored
From: mikel, 2012-09-02
-
[Bug 940439] Re: Once we save dbfilter in configuration file, It is ignored
From: Amit Parik (OpenERP), 2012-04-02
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Amit Parik (OpenERP), 2012-04-02
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Amit Parik (OpenERP), 2012-04-02
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Amit Parik (OpenERP), 2012-04-02
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Alvar V., 2012-03-15
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Florent, 2012-03-01
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: mikel, 2012-02-25
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Nhomar Hernandez (Vauxoo), 2012-02-25
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Mikel, 2012-02-25
-
[Bug 940439] Re: dbfilter in configuration file is ignored
From: Eric Caudal - www.openerp.net.cn, 2012-02-25
-
[Bug 940439] [NEW] dbfilter in configuration file is ignored
From: Sebastian J. Bronner, 2012-02-24
References