Once we save dbfilter in configuration file, It is ignored
This bug report was converted into a question: question #192379: dbfilter in configuration file is ignored.
|OpenERP Community Backports (Server)||Status tracked in 7.0|
|OpenERP's Framework R&D|
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.
"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='.*'".
- Amit Parik (community): Needs Fixing on 2012-04-02
- OpenERP Core Team: Pending requested 2012-02-26
- Diff: 38687 lines (+16282/-18807) 66 files modified (has conflicts)
|Changed in openobject-server:|
|status:||Confirmed → Fix Committed|
|no longer affects:||ocb-addons|
|no longer affects:||ocb-server|