跳至內容
Odoo 選單
  • 登入
  • 免費試用
  • 應用程式
    財政
    • 會計
    • 發票
    • 開支報銷
    • 試算表 (BI)
    • 文件管理
    • 電子簽名
    銷售
    • 客戶關係
    • 銷售
    • POS 銷售點管理 - 零售
    • POS 銷售點管理 - 餐廳
    • 訂閱
    • 租賃
    網站
    • 網站製作
    • 電子商務
    • 網誌
    • 討論區
    • 線上客服
    • 網上學習
    供應鏈
    • 庫存
    • 製造管理
    • 產品生命周期
    • 採購
    • 保養維護
    • 品質管理
    人力資源
    • 員工管理
    • 招聘
    • 休假
    • 工作表現評核
    • 內部推薦
    • 車隊管理
    市場推廣
    • 社交媒體推廣
    • 電郵推廣
    • 短訊營銷
    • 活動
    • 自動化推廣
    • 網上調查
    服務
    • 專案管理
    • 工時管理
    • 外勤服務管理
    • 技術支援
    • 工作規劃
    • 預約管理
    生產力
    • 聊天
    • 批核
    • 物聯網
    • VoIP
    • 知識庫
    • WhatsApp
    第三方應用程式 Odoo Studio Odoo 雲端平台
  • 行業
    零售
    • 書店
    • 服裝店
    • 家具店
    • 食品雜貨店
    • 五金店
    • 玩具店
    餐飲及款待
    • 酒吧及酒館
    • 餐廳
    • 快餐
    • 賓館
    • 飲品分銷商
    • 酒店
    房地產
    • 地產代理公司
    • 建築師事務所
    • 建造業
    • 物業管理
    • 園藝
    • 業主聯會
    顧問服務
    • 會計公司
    • Odoo 合作夥伴
    • 市場推廣公司
    • 律師事務所
    • 人才招募
    • 審計及認證
    製造管理
    • 紡織
    • 金屬
    • 家具
    • 食品
    • 啤酒廠
    • 企業禮品
    保健與健身
    • 運動俱樂部
    • 眼鏡店
    • 健身中心
    • 健康從業人員
    • 藥房
    • 髮型屋
    技術行業
    • 雜工
    • IT 硬體與支援
    • 太陽能系統
    • 鞋匠
    • 清潔服務
    • 暖通空調服務
    其他
    • 非牟利組織
    • 環境保護機構
    • 廣告板租賃
    • 攝影服務
    • 自行車租賃
    • 軟體經銷商
    瀏覽所有行業
  • 社群
    學習
    • 教學影片
    • 使用說明
    • 認證
    • 培訓
    • 網誌
    • Podcast
    增強教學效能
    • 教育計劃
    • Scale Up! 商業遊戲
    • 到訪 Odoo
    取得軟件
    • 下載
    • 版本對照表
    • 版本說明
    合作
    • GitHub
    • 討論區
    • 活動
    • 翻譯
    • 成為合作夥伴
    • 合作夥伴服務
    • 登記你的會計服務公司
    獲取服務相關資料
    • 尋找合作夥伴
    • 尋找會計服務
    • 預約顧問諮詢
    • 安裝及推行服務
    • 客戶案例
    • 支援
    • 軟件升級
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    預約示範
  • 定價
  • 技術支援

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • 客戶關係
  • e-Commerce
  • 會計
  • 庫存
  • PoS
  • 專案管理
  • MRP
All apps
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
只限註冊用戶才可與社群互動。
所有帖文 人 獎章
標籤 (查看所有)
odoo accounting v14 pos v15
關於此討論區
支援

How to customize a website theme?

訂閱

此帖文有活動時,接收通知

此問題已被標幟
websaasbootstrap
11 回覆
72164 瀏覽次數
頭像
Bruce Letterle

The new website builder has a selection of themes and we can edit the HTML of a page, but there does not seem to be a way to alter the header or footer. How can this be done? Can we create a new theme?

3
頭像
捨棄
頭像
Ali Mahmoud
最佳答案

Check this link:

https://www.cybrosys.com/blog/create-a-custom-theme-in-odoo-14-website

9
頭像
捨棄
頭像
Martin Apitz
最佳答案

I found this way to alter the style sheet of an existing template (e.g. the online-shop).

  • On the Website go to: Customize -> HTML-Editor
  • Choose 'Main layout' from the selection box
  • Add your custom style sheet just before the closing </head> tag

Also you can change the footer if you select 'Automatic footer' and 'Footer Copyright' from the selection box.

 

5
頭像
捨棄
TEIMI Yassine

It doesn't work buddy

頭像
Cyrill Helg
最佳答案

Take a look here http://www.slideshare.net/openobject/odoo-create-themes-for-website. You basically create a new theme in your custom addons folder with the structure explained there and select it later.

3
頭像
捨棄
頭像
Bruce Letterle
作者 最佳答案

I'm using the online version, so editing source files is not an option, I don't think. I see how to edit the HTML on any page, but not the CSS. I also cannot see how to add new CSS files or Jquery scripts. I also do not think I can create a new theme other than to edit the existing files. Does anyone know something that I am not seeing?

0
頭像
捨棄
OdooBot

Hi.

 

Fabrice suggested that I contact you and see whether we could submit themes to you to add to our Odoo Online website, or possibly for other sites for our clients.

 

We are experienced web developers and are evaluating the platform to use for our clients. We have developed many site themes for a variety of platforms, including Wordpress, Joomla, Drupal, and Adobe Business Catalyst. We are also highly experienced with Bootstrap and Foundation frameworks.

 

I would like to know if we could create themes using either of these frameworks and submit them for inclusion and/or sale in the Odoo web CMS. We could alter them easily to embed any necessary code to work in your environment if you give us the documentation to support this.

 

I am very excited about the prospect of promoting your platform to our clients, as it give us and them a great advantage over other web CMS platforms on the market.

 

Please let me know what is possible.

 

Thank you.

 

Bruce Letterle | Managing Director | Red Lab Media
700 River Avenue | Suite 213 | Pittsburgh, PA 15212
office: 412-755-1001 ext. 5020 | cell: 412-999-9093 | bruce@redlabmedia.com

 

From: Fabrice Henrion (fhe) [mailto:fhe@openerp.my.openerp.com]
Sent: Friday, May 16, 2014 9:01 PM
To: Followers of False
Subject: Re: False

 

I'm pretty sure it is not possible to add a theme if you are using Odoo Online because it requires to have access to the server and add new files there to make them appear in the themes list. However, I have heard that the Odoo Online team would accept to add themes themselves if a user asks them to and sends them a theme to add. So I suggest you contact online@openerp.com and ask them.

__
Fabrice Henrion
Director Americas

OpenERP Inc.
51 Federal Street, Suite 401
San Francisco, CA 94107
Tel: +1 (650) 307-6736
http://www.openerp.com

Sent by OpenERP Inc. using OpenERP. Access your messages and documents in OpenERP




This email is free from viruses and malware because avast! Antivirus protection is active.


OdooBot

Fabrice, this is what I sent. It went to online@openerp.com. I have repeated it here again.

 

Bruce Letterle | Managing Director | Red Lab Media
700 River Avenue | Suite 213 | Pittsburgh, PA 15212
office: 412-755-1001 ext. 5020 | cell: 412-999-9093 | bruce@redlabmedia.com

 

From: Bruce Letterle [mailto:bruce@redlabmedia.com]
Sent: Saturday, May 17, 2014 11:47 AM
To: 'online@openerp.com'
Subject: FW: False

 

Hi.

 

Fabrice suggested that I contact you and see whether we could submit themes to you to add to our Odoo Online website, or possibly for other sites for our clients.

 

We are experienced web developers and are evaluating the platform to use for our clients. We have developed many site themes for a variety of platforms, including Wordpress, Joomla, Drupal, and Adobe Business Catalyst. We are also highly experienced with Bootstrap and Foundation frameworks.

 

I would like to know if we could create themes using either of these frameworks and submit them for inclusion and/or sale in the Odoo web CMS. We could alter them easily to embed any necessary code to work in your environment if you give us the documentation to support this.

 

I am very excited about the prospect of promoting your platform to our clients, as it give us and them a great advantage over other web CMS platforms on the market.

 

Please let me know what is possible.

 

Thank you.

 

Bruce Letterle | Managing Director | Red Lab Media
700 River Avenue | Suite 213 | Pittsburgh, PA 15212
office: 412-755-1001 ext. 5020 | cell: 412-999-9093 | bruce@redlabmedia.com

 

From: Fabrice Henrion (fhe) [mailto:fhe@openerp.my.openerp.com]
Sent: Friday, May 16, 2014 9:01 PM
To: Followers of False
Subject: Re: False

 

I'm pretty sure it is not possible to add a theme if you are using Odoo Online because it requires to have access to the server and add new files there to make them appear in the themes list. However, I have heard that the Odoo Online team would accept to add themes themselves if a user asks them to and sends them a theme to add. So I suggest you contact online@openerp.com and ask them.

__
Fabrice Henrion
Director Americas

OpenERP Inc.
51 Federal Street, Suite 401
San Francisco, CA 94107
Tel: +1 (650) 307-6736
http://www.openerp.com

Sent by OpenERP Inc. using OpenERP. Access your messages and documents in OpenERP




This email is free from viruses and malware because avast! Antivirus protection is active.


頭像
Hugo Masset
最佳答案

Hi Bruce,

I'm new on Odoo and for my own, i do this :

login on your website, then hit  "Customize"--->"HTML editor" and then select "Main layout", you should see at the end of the page (in my case) :

.....

                    <div class="container mt16 mb8">
                        <div class="pull-right" t-ignore="true" t-if="not editable">
                            Create a <a href="http://openerp.com/apps/website">free website</a> with
                            <a class="label label-danger" href="https://openerp.com/apps/website">OpenERP</a>
                        </div>
                        <div class="pull-left text-muted">
                            Copyright &amp;copy; <span t-field="res_company.name">Company name</span>
                        </div>
                    </div>
                </footer>
            </div>
            <t t-if="website.google_analytics_

....

HM

0
頭像
捨棄
頭像
Yves
最佳答案

The best solution would be to make a module.

https://www.odoo.com/documentation/8.0/howtos/themes.html

Everything that is added to the templates to overwrite the existing css - only produces larger files, additional http requests, and thus unnecessary amounts of data

in a brand new theme you can change the variables in bootstrap, you can also omit parts that are not needed, or you create a design from the ground up

0
頭像
捨棄
頭像
Kimo
最佳答案

Can I follow the same instructions explained here https://www.odoo.com/documentation/8.0/howtos/themes.html to build a theme for OpenERP 6.1?

Thank you.

0
頭像
捨棄
Jérémy Kersten (jke)

No

Howto explains how to créate a front end theme...

You are looking for backend theme...

頭像
Kurt Haselwimmer
最佳答案

Apparently new themes are going to be installable as data-only modules when v8 is released - this is how it will be possible to create and install you own themes when running on the Odoo Saas, for example.

In the meantime I have resorted to applying my own stylesheets to override the bootswatch based ones that Odoo gives you out of the box. If you are on the Odoo Saas then you will need to store your stylesheet on your own domain. Once you have a css file you want to use to override what you are given simply use the html editor to edit the template 'Theme' like so:-

 

<?xml version="1.0"?>
<t name="Theme" t-name="website.theme">
    <link id="bootstrap_css" rel="stylesheet" href="/website/static/lib/bootstrap/css/bootstrap.css" t-ignore="true"/>
    <link id="website_css" rel="stylesheet" href="/website/static/src/css/website.css" t-ignore="true"/>
     <link rel="stylesheet" type="text/css" href="//www.mydomain.com/mycss.css"/>
</t>

You add the line in bold - it should then change the theme for all pages in your system. If you base your theme on the bootswatch css - then there's the least chance that future changes to the Odoo templates will not work with your theme.

0
頭像
捨棄
Kurt Haselwimmer

In the start/v8 demo (evidently saas5) there is no template called 'Theme' that can be accessed from the html editor. The template called 'Saas Website' seems to hold similar xpath instructions and you can instead put your stylesheet link immediately after the reference to saas_website.css.

頭像
Thanh Mai
最佳答案

Hi Bruce,

If you are asking about how to change OpenERP web client theme, then I have a tutorial guild to build an addon to change it at http://erptalk.net/threads/tutorial-customize-login-page-with-yourstyle.210/ ; it's may not a good approach but hope could help you as workaround solution.

ThanhMD

0
頭像
捨棄
頭像
Shameem Babu
最佳答案



You can add custom css to website

<template id="assets_frontend" inherit_id="web.assets_frontend">
    <xpath expr="." position="inside">
         <link rel="stylesheet" href="/your_module/static/src/css/sheet.css"/>
    </xpath>
</template>

You write your css in the new file. The existing css will be overridden

You can watch this on YouTube !

Also refer : how to change the theme In odoo?

0
頭像
捨棄
頭像
zmirli
最佳答案

Silly question, but how do you bring your wordpress website into Dreamweaver, files and folders and all?

0
頭像
捨棄
喜歡這則討論?不要只閱讀,加入發表意見吧!

今天就建立帳戶,享受獨家功能,與我們精彩的社群互動!

註冊
相關帖文 回覆 瀏覽次數 活動
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an
web saas webshop
頭像
1
5月 20
11575
How to change the background color of web site pages? V8 Saas
web saas color background
頭像
2
12月 16
6081
How to use dynamic snippet for local Seo
web
頭像
頭像
2
7月 25
2186
European Accessibility Act compliance
web
頭像
1
5月 25
1581
How to import owl CharField?
web
頭像
頭像
2
5月 25
2206
社群
  • 教學影片
  • 使用說明
  • 討論區
開源
  • 下載
  • GitHub
  • Runbot 測試環境
  • 翻譯
服務
  • odoo.sh 網頁寄存
  • 支援
  • 升級
  • 自訂功能開發
  • 教育及培訓
  • 尋找會計服務
  • 尋找合作夥伴
  • 成為合作夥伴
關於我們
  • 關於 Odoo 公司
  • 品牌資產
  • 聯絡我們
  • 招聘
  • 活動
  • Podcast
  • 網誌
  • 客戶
  • 法律 • 私隱政策
  • 安全性
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo 是一套開放源碼的商業管理系統,涵蓋你公司全部的營運需要,包括客戶關係管理(CRM)、電子商務、會計、庫存管理、POS(銷售點管理)、專案管理等應用程式。

Odoo 的獨特價值是非常簡單易用,同時將不同應用程式完美整合。

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now