Community mailing list archives

community@mail.odoo.com

Re: dbfilter question

by
Andi Becker
- 11/16/2015 21:28:03
Hi Yoshi this is for version 8 is it also working in Version 9 - I am a bit confused as this has been set to uninstallable but I can't see what probably would need to be changed in __init__.py - nothing changed here since 8 afaik. Probably I am wrong.

Thanks

Andi


With kind regards,
Mit freundlichen Grüßen,
Con un cordial saludo,
Cordialement,
с сердечным приветом,
เรื่องที่เกี่ยวกับชนิด,
與親切的問候,

 ANDI BECKER

CEO/General Manager LisAndi Co., Ltd.

--------------------------------------------------

LisAndi Co. Ltd., Phuket, Thailand (lisandi.com)
15/21 M.2 Viset Road, Rawai, Muang, Phuket, Thailand 83130

Mobile: +66 (0)81 606 3378
VoIP:   +49 (0)711 50 88788 50
Fax:     +49 (0)711 50 88788 50
Skype:          lisandi
Facebook:     andibecker
Google Talk/Facetime/eMail:  andi@lisandi.com

--------------------------------------------------

This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email by mistake), please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly prohibited. Email transmission security and error-free status cannot be guaranteed as information could be intercepted, corrupted, destroyed, delayed, incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which may arise as a result of email transmission

On Tue, Nov 17, 2015 at 8:52 AM, Yoshi Tashiro <tashiro@roomsfor.hk> wrote:

It is possible if you use this: https://github.com/OCA/server-tools/tree/8.0/dbfilter_from_header

 

But you probably need to separate the virtual host entries for each subdomain (+ the one that covers all the databases) in Apache/Nginx.  So it can be tedious if you have frequent changes in subdomain arrangement.  There might be a smart way to handle this, though (I just don’t know).

 

---

Yoshi Tashiro

 

From: Gastón Pablo Pérez [mailto:gpperez@gmail.com]
Sent: Tuesday, November 17, 2015 3:22 AM
To: Community <community@mail.odoo.com>
Subject: dbfilter question

 

HI all:

 

Im trying to do a little complex configuration on my server, so I have multiples odoo v8 databases and Im trying to access to each one by diferent url, I configured the dbfilter option in the config file like this:

 

dbfilter = ^%d$

 

So I can access directly to each database by the subdomain, I mean

 

http://subdomain1.domain redirects me to the subdomain1 database

 

http://subdomain2.domain redirects me to the subdomain2 database

 

OK, works really good BUT.... I need a method or a way to access to odoo database manager and be able to see all the databases in the combos and have a method to access to one particular database that no has a subdomain configuration

 

Is it posible?

 

thanks in advance

 

Lic. Gastón Pablo Perez
Email: gpperez@gmail.com

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe