Community mailing list archives

community@mail.odoo.com

Re: How to set a multi-company environnement On contact us web page ?

by
Yassine TEIMI
- 06/08/2015 07:18:25
Thanks Jos for your reply, 

So If I understood well, the website_multi module will not give a 100% website integration with the backend, and to be able to do that, it' very complex, because I should master how the the inner workings of the odoo website system, to be able to get a 100% integration for other website companies than the main one. 

Thanks for confirming my way to understand your valuable reply.

2015-06-06 20:09 GMT+01:00 Jos De Graeve <jos.degraeve@apertoso.be>:
Hi,

Odoo V9 will have a multi-website capability built in.  It's included in the base website module, so it will be in the version that includes the website, and i strongly doubt that odoo will put the website module in the enterprise version.

Anyway for V8 there is also the website-multi module: https://github.com/odoo/odoo-extra/tree/8.0

That said, setting up a multi website system is quite complex due to the fact that the basic setup of modules do not take mutli-website into account.  So what happens, is for instance when you install a module, there are a number of pages created for the main website, but nothing is done for other websites.  This means that in order to build a multi website you have to know and understand the inner workings of the odoo website system: view inheritance, multicompany access rules, the key/website/xml-id functionality that the multi-website module adds, and this in combination with the buildup of the standard website.

Basically, right now it can already be done, but it's very complex.  In the future i'm sure this will get better.

If you just want to show all companies data on your contact page, you could use something like this:

<div t-foreach="res_company.child_ids" t-as="child_company">
<t-esc="child_company.street"/>
</div>


Then make sure, the public user linked to the website is attached to the parent company of all child companies you want to show.

Regards,
Jos

Jos De Graeve - Apertoso business ICT


Guido Gezellelaan 16 - B-9800 Deinze - Belgium
 
mail/im/skype: Jos.DeGraeve@apertoso.be - apertoso

2015-06-05 18:28 GMT+02:00 Houssine BAKKALI <houssine.bakkali@gmail.com>:

Or something you could do it's dig in the qweb code to get what you want and then share it with with the community. The relation is always better when it goes both ways. Displaying children companies should be straight forward while displaying them on the google map should be a little more tricky.

Le 5 juin 2015 4:42 PM, "Yassine Teimi" <yteimi01@gmail.com> a écrit :
Hi Hans,

Is this feature is on the comunity edition ? 

My need was more simpler than that, I just want to diplay children company details alongside the main company details.




2015-06-05 8:04 GMT+01:00 Hans Yonathan <hans.yonathan@falinwa.com>:

Hi Yassine,

 

Base on their presentation on odoo days1,

They will provide multi website for multi company in version 9,

 

So I think it will be hard to convince community to developed this.

 

Thank You.

 

Best Regards,

Hans Yonathan

Odoo Support

FALINWA Limited

Expert in Finance, Information System & Business Intelligence

Odoo Silver Partner

Website: www.falinwa.com

Tel. 13670137019 (China - Shenzhen)

 

From: Yassine Teimi [mailto:yteimi01@gmail.com]
Sent: Thursday, June 04, 2015 7:11 PM
To: Community
Subject: Re: How to set a multi-company environnement On contact us web page ?

 

Hi Luke, 

 

It only displays one company, I added another one, but it doesn't show. In general settings, I ticked multi-company management. 

 

So I have to do it by custom module. How can I suggest this kind of module developpement on Github, to invite community members contribute on it ? 

 

2015-06-04 6:59 GMT+01:00 Luke Branch <odoocommunitywidgets@gmail.com>:

Hi Yassine,

If you want to do it dynamically (eg. you add a new company in Odoo and it automatically appears in the contact page) then you'll need to create a custom module as far as I'm aware.

Perhaps create a HTML mockup of what you want to accomplish first and then post it to the help forum to see if anyone can help.

 

Regards,

Luke

 

On Wed, Jun 3, 2015 at 8:40 AM, Yassine Teimi <yteimi01@gmail.com> wrote:

I have a multi company environnement, and on the website page "contact us", I want to have all the companies adresses and maps displayed ? How to do that kind of configuration ? is it out of the box ? Thanks.

Image removed by sender.

--

 

Cordialement

 

Yassine TEIMI

 

Consultant & Chef de Projet

TEL : +212 6-27 33 30 78

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

 

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



 

--

 

Cordialement

 

Yassine TEIMI

 

Consultant & Chef de Projet

TEL : +212 6-27 33 30 78

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

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




--

Cordialement

Yassine TEIMI

Consultant & Chef de Projet
TEL : +212 6-27 33 30 78

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

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


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




--

Cordialement

Yassine TEIMI

Consultant & Chef de Projet
TEL : +212 6-27 33 30 78