Odoo Help

0

How to setup three websites on one odoo v10e instance?

By
Simplify-ERP®
on 11/30/16, 4:24 AM 246 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)--
4405
| 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

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

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