Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Odoo's Lead Developer responds to this question (Please note that this is a very technical feature and is not yet easy to configure nor is it documented how to do it.)
Multi website was already planned since the first commit, it was just hard-coded to 1 in that commit. In saas-6 and master multi-website is supported for the 8.0 branch there is a non-official module with a backport of the feature in odoo-extra
The actual magic is here:
https://github.com/odoo/odoo/tree/saas-6/addons/website/models/website.py#L386 in v8, 1 is hard-coded instead.
There is another piece of magic, the one that resolve template name, instead of using xmlids in 8.0 we now use a key field on ir.ui.view and there is an optional website_id column on ir.ui.view.
The documentation about it is non-existent, it works like virtual domains you odoo will select the website that match the right domain based on the Host: header.
Then if want to have a different page you can duplicate the ir.ui.view template (so both have the same key) and set a different website_id for each one.
So that you can choose which template you want to differentiate and which ones should stay common.
To display different product for example you need to create an additional public user (on the second website (field user_id)) and use record rules.
This is a very advanced functional topic, like multi-company.
Also, does anybody know if driving multiple websites from a single Odoo instance will be better handled in Odoo9?
Here's the specific requirement we are trying to realize:
Every site has it’s own set of pages, forms, surveys
Logos are different
Footers are different (including details like company name, contact information etc.)
Menus are different
The sites each run under different URLs
Additionally at the backend:
Contacts/Lead coming from each website is differentiated by Channel in CRM.
Ashant – http://www.euroblaze.de/odoo
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
|Asked: 5/17/15, 10:41 AM|
|Seen: 2463 times|
|Last updated: 6/2/16, 9:48 AM|