Skip to main content

Filter databases with HTTP headers

Project description

License: AGPL-3

dbfilter_from_header

This addon lets you pass a dbfilter as a HTTP header.

This is interesting for setups where database names can’t be mapped to proxied host names.

Configuration

In nginx, use one of:

  • proxy_set_header X-OpenERP-dbfilter [your filter];
  • proxy_set_header X-Odoo-dbfilter [your filter];

Make sure that proxy mode is enabled in Odoo’s configuration file:

proxy_mode = True

And load module as a server-wide module, either via the --load command-line parameter or by the server_wide_modules parameter:

server_wide_modules = "web, web_kanban, dbfilter_from_header"

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo9-addon-dbfilter-from-header, version 9.0.1.0.0.99.dev6
Filename, size File type Python version Upload date Hashes
Filename, size odoo9_addon_dbfilter_from_header-9.0.1.0.0.99.dev6-py2-none-any.whl (16.0 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page