Community mailing list archives

community@mail.odoo.com

Re: Websites for Multi Companies in one database

by
Andi Becker
- 11/16/2015 18:50:20
Jos I like your website - reminds me to the time when I was living in Antwerp - Prince Albert Laan - with my parents and the Bell Telephone Manufacturing Company of Antwerp, where my father was working before he was developing what was later called "System12". http://www.vintagephones.com.au/Pages/BTMC/BTMCHistory.htm

Sorry for the off topic remark - but your slider images are great! You made my day! Thanks!

Additional question Jos.

Your example shows 

Version A) 1 database 2 companies each one has a website  -  user_id 1 = company_id 1,  user_id 2 = company_id 2, etc


is it also possible to have

Version B) 1 database 1 company but 2 or more websites  -  would it be user_id 1 = company_id 1, user_id 2 = company_id 1, user_id 3 = company_id 1, etc and is it possible to do that also in combinations with Version A

Thanks Andi

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 12:07 AM, Jos De Graeve <jos.degraeve@apertoso.be> wrote:

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

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