Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can anyone tell how to do multi-tenancy setup on OpenERP?

I am using OpenERP, i have over 5-6 domains and I would like to have a specific database associated with each domain. Can anyone know how to do multi-tenancy setup on OpenERP?

As I understand it, OpenERP has three application tiers: the database, the application server, and the web server.

If I want to create a working configuration for multiple, independent companies how do i do that ?

like image 925
Supreeth KV Avatar asked Jan 26 '26 09:01

Supreeth KV


1 Answers

You can run each as a separate database on the same server and point all the domains to the same server.

To make sure that they only see their own database, you can add an option to the server startup:

openerp-server --db-filter='%h'

then it will search for a database with the same name as the domain

like image 86
TimoSolo Avatar answered Jan 29 '26 12:01

TimoSolo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!