Skip to Content
Menu
This question has been flagged
3 Replies
2417 Views

I have installed odoo on our local server (Ubuntu 20.04) and created a webpage with the odoo tools.  The webpage is published, everything went fine. Where do I find the document root for the webpage? I want to change logos, pics and colors. 

Avatar
Discard
Author

Hi Gulshan,

thanks for the answer. Unfortunately I can't comment in the forum (karma error). Also the language settings seem to have changed and I can't change them back.

As far as your answer is concerned: the directory you mention doesn't exist on my server. There is var/lib/odoo/.local/share/Odoo/addons but no website sale all I have under /Odoo/addons is /15.0 and that one is empty. There is a directory /Odoo/addons/filestore which has about 100 subdirectories with funny names like er, oa, 7g

and so on. But there is no obvious structure. I guess I have to go back to build my wepage from scratch and forget about odoo completely.

Thanks for your help anyway.

See you

Ewald


On 14.02.23 06:09, Gulshan Negi wrote:

A new answer on Webpage root directory has been posted. Click here to access the post : See post ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

A new answer on Webpage root directory has been posted. Click here to access the post :

See post

--
Gulshan Negi


Odoo S.A.

+32 81 81 37 00 | info@odoo.com | https://www.odoo.com

Prinášané Odoo

Author Best Answer

Thanks for the answer Cybrosys. I do know how to edit and change the webpage with the odoo wizard. However, I would like to have access to the templates, the style sheets, views etc. directly but couldn't find them on the server. I have a django project which I would like to include in the webpage. I guess for that I need to dig deeper than the odoo webpage wizard allows me to do.  

Avatar
Discard
Best Answer

Hello this is Gulshan Negi

Well,  In this directory ( /var/lib/odoo/.local/share/Odoo/addons/website_sale/static/src/ ), you can find the static files for the website, including CSS files, images, and templates. To change the logos, pictures, and colors of the website, you can modify the appropriate files in this directory using a text editor or a code editor.

Thanks

Avatar
Discard
Best Answer

Hi,

Yes, You can customize the odoo webpage as you need. 
First of all, to change the logo(In odoo, it is called as favicon), 

Go to Website's Configuration Menu -> Settings. Under 'Website Info', you can edit favicon and add the needed image to set as your website logo.

For other changes like to add pictures, change color, just go to the webpage where you want to make the change, then click on 'Edit' in the top right corner of the page. Then a lot of blocks(Snippets of odoo) will be there with which you can style your page. Many in built snippets can be dragged and dropped where you need and customization can be done easily. You can select the text and click CUSTOMIZE to change its color, other font details, padding, etc. Also themes can also be added. 

After all the needed changes, just click on SAVE on top and all the changes will be reflected in the website.

Regards

Avatar
Discard