Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to setup three websites on one odoo v10e instance?

By
Simplify-ERP®
on 11/30/16, 4:24 AM 113 views

Hi to all, we are trying to enable three different websites, with three different domain names on one odoo v10e instance. Has somebody done this before, and if you have some tips please provide. Thanks in advance.

2

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
2993
| 3 2 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 11/30/16, 4:43 AM

Multi Website in v10 is deprecated... (it is why the option is hidden by default).

If you really want to do it, I suggest you to avoid to share some template between website, and so have really 3 complete layout.

Doing it, you break the 'theme out of the box' feature, because you need to update each inherited view to don't use Main Layout from website=False, but Mainlayout from your targetted website. Last thing, by default you cannot install more than one module where name starting by theme_.

Multi website works well when you just want to change content according to the website, but not really the template. Because Xpath from website1, could break website2...


Just need to be aware of it, to avoid headache :)

No "support" given by Odoo about this deprecated feature.

yeah we are going to use one template for all three sites, just the colors are going to be changed. But the question was how to host these three sites with different urls. An answer would be so much appreciated.

euroblaze - Wapsol GmbH, Simplify-ERP®
on 11/30/16, 5:04 AM

This feature is invisible by default. You need to update the ir_ui_view for website_form, and make the switcher visible. Atfer you can choose which url, point to which website !

~ But don't forget: No "support" given by Odoo about this deprecated feature.

Jérémy Kersten (jke)
on 11/30/16, 5:13 AM

i set this line

<field name = "website_id" invisible = "0"/>

so now the switcher is visible, the urls are correct, the editing is the problem, seems like the other sites are taking the content from the first site created

euroblaze - Wapsol GmbH, Simplify-ERP®
on 11/30/16, 6:58 AM
i have already done the button, and the three sites are on different urls, but now the problem is that the home page is tied to all of them, making changes to it affects all three sites. any thoughts on this? 

On 30 November 2016 at 11:13, Jérémy Kersten (jke) <jke@openerp.com> wrote:

This feature is invisible by default. You need to update the ir_ui_view for website_form, and make the switcher visible. Atfer you can choose which url, point to which website !

~ But don't forget: No "support" given by Odoo about this deprecated feature.

Jérémy Kersten


Sent by Odoo S.A. using Odoo.




--
Kind Regards.
Riste Kabranov (Nebiz IT)
on 12/1/16, 3:42 AM

The default template are website=False, you need to duplicate the view and set the website_id.

If website_id = False, the view are shared between each website ...

Jérémy Kersten (jke)
on 12/1/16, 4:36 AM
can you please elaborate on this, it would be of great help if you would

On 1 December 2016 at 10:36, Jérémy Kersten (jke) <jke@openerp.com> wrote:

The default template are website=False, you need to duplicate the view and set the website_id.

If website_id = False, the view are shared between each website ...

Jérémy Kersten


Sent by Odoo S.A. using Odoo.




--
Kind Regards.
Riste Kabranov (Nebiz IT)
on 12/1/16, 5:14 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 11/30/16, 4:24 AM
Seen: 113 times
Last updated: 11/30/16, 8:18 AM