Community mailing list archives
RE: dbfilter questionby
I think ‘installable’ was set to `False` for all the OCA modules when 9.0 branch was created. I haven’t tested but I imagine the module works in 9.0 as well – you may just change the installable to True if you took the code from 9.0 branch and see if it works.
From: Andreas Becker [mailto:email@example.com]
Sent: Tuesday, November 17, 2015 10:37 AM
To: Community <firstname.lastname@example.org>
Subject: Re: dbfilter question
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.
With kind regards,
Mit freundlichen Grüßen,
Con un cordial saludo,
с сердечным приветом,
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
Google Talk/Facetime/eMail: email@example.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 <firstname.lastname@example.org> 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).
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