← Back to team overview

openerp-india team mailing list archive

[Bug 940439] Re: dbfilter in configuration file is ignored

 

Hello Folks,

I have checked this issue, and db_filter is working fine with web
interface. Might be you have used this config parameter with gtk client
but it's not working with gtk.

Just go though openerp server type check the help with --help, you can
seen like this.

  Web interface Configuration:
    --db-filter=REGEXP  Filter listed database

So It means that db filter is only used for web interface with regular
expression. I have checked this with web interface and it's working
fine. Would you please check attached video.

This is not a bug that's why I am closing this issue.

Thanks for understanding!

** Changed in: openobject-server
       Status: Confirmed => Invalid

** Converted to question:
   https://answers.launchpad.net/openobject-server/+question/192379

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/940439

Title:
  dbfilter in configuration file is ignored

Status in OpenERP Server:
  Invalid

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-server/+bug/940439/+subscriptions


References