Community mailing list archives

community@mail.odoo.com

Re: Websites for Multi Companies in one database

by
Apertoso, Jos De Graeve
- 11/16/2015 12:05:50

2015-11-14 19:12 GMT+01:00 <jcarter@wifirail.net>:

I have ctreated two companies in one database, and assigned websites to each company.   

Only one company's information is used on both website domains.


Hi,

If you have set up the websites for each company right, and have assigned the right company_id to each "website" record, it should work as expected:

https://github.com/odoo/odoo/blob/9.0/addons/website/models/ir_ui_view.py#L147

Als check the user_id linked to the website, it should have the same company_id as the website.

regards,

Jos De Graeve - Apertoso business ICT


Guido Gezellelaan 16 - B-9800 Deinze - Belgium
 
Direct: +32 9 381 64 51
General:+32 9 381 64 50
Mobile: +32 475 54 68 80
mail/im/skype: Jos.DeGraeve@apertoso.be - apertoso