Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Custom theme images not working when in separate addons folder.

Odoberať

Get notified when there's activity on this post

This question has been flagged
installationaddonsimagesthemes
12 Replies
10372 Zobrazenia
Avatar
Kurt Haselwimmer

When a custom themes - eg theme_zap are put into a separate addons folder (eg /mnt/addons as recommended in the official docker build https://github.com/odoo/docker/blob/master/9.0/Dockerfile) none of the images show up

1) in the backend module description

2) In the front end snippet editing bar

Am I missing something here or is there something else that needs to be done with themes to make them work in a separate addons folder. The extra addons path has been correctly added to the config file. I wish to put the themes in a separate addons folder as a) it the natural expectation and what we have been led to believe is good practise and b) I don't want my customised themes being blown away by redeployments of the main codebase.

0
Avatar
Zrušiť
Ermin Trevisan

Another stupid question then, you have all dependencies installed (theme_common, treehouse theme)?

Kurt Haselwimmer
Autor

Yes - those modules are also installed alongside in /mnt/addons and any other more fundamental dependencies that are required for v9 themes - all installed.

Ermin Trevisan

I'll try it on my regular 9.0 installation to see what happens, if it works, it seems to be a docker issue. I'll keep you posted.

Ermin Trevisan

I did install it on my regular 9.0 deb package installation (Ubuntu 14.04) and it works fine after upgrading the modules list and installing all corresponding modules. I did not install any other dependencies for themes (except of nodejs, less and lessc of course).

Kurt Haselwimmer
Autor

in the standard addons folder or a separate one that is specified in the config file ?

Ermin Trevisan

Of course in an extra addons folder specified in my config file :-)

Kurt Haselwimmer
Autor

Okay I need to explore what is happening in my installation then - we built this on centos in docker, as the 'official' docker script was completely out of date due to the version naming convention change on the 25th November. This seemed to be fixed yesterday so maybe we will return to that approach.

Ermin Trevisan

While looking at the docker file you have linked to, I see that the version to be installed there is the one from before yesterday (20151215), if that helps.

Kurt Haselwimmer
Autor

I tried moving theme_treehouse to the main addons folder. I also checked the folder and file access rights and set all owners and groups to root:root to match all the other themes. Still not fixed. Here is the small excerpt from the log file: 2015-12-17 10:16:15,785 414 INFO inst4 werkzeug: 146.198.207.237 - - [17/Dec/2015 10:16:15] "GET /theme_treehouse/static/src/less/options/layout/footer_gray_lighter.less.css HTTP/1.1" 304 - 2015-12-17 10:16:20,058 414 INFO inst4 werkzeug: 146.198.207.237 - - [17/Dec/2015 10:16:20] "GET /theme_treehouse/static/src/js/theme_animation.js HTTP/1.1" 404 You can see that the css is loaded but apparently the js file cannot be found. The js has file access rights 644

Ermin Trevisan

In my case I did create the addons directory with the same user I have used to install Odoo (in my case it is the user "ubuntu". I do have the theme_treehouse in the same custom addons directory and this directory and all of its subdirectories are owned by the user/group ubuntu/ubuntu with 775 permissions.

Avatar
ekoenergo automatizačná technika s.r.o.
Best Answer

Looks like content is blocked by selinux.

0
Avatar
Zrušiť
Avatar
Kurt Haselwimmer
Autor Best Answer

 


 
0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Connection Lost error on Installation (v17 odoo online) of CENTRIC THEME
installation themes 17.0
Avatar
0
máj 24
1875
Can not install any Addons in Odoo12
installation addons stuck
Avatar
Avatar
1
okt 23
2623
ImportError: No module named web_kanban Solved
configuration installation addons
Avatar
Avatar
Avatar
2
aug 20
24964
Custom addons installation
installation install addons
Avatar
Avatar
1
feb 24
5604
modules not auto installed on Database creation even when auto_install setting True
installation modules addons
Avatar
Avatar
Avatar
5
nov 17
9733
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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