Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Custom theme images not working when in separate addons folder.

Subscribe

Get notified when there's activity on this post

This question has been flagged
installationaddonsimagesthemes
12 Replies
10349 Views
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
Discard
Ermin Trevisan

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

Kurt Haselwimmer
Author

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
Author

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
Author

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
Author

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
Discard
Avatar
Kurt Haselwimmer
Author Best Answer

 


 
0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
Connection Lost error on Installation (v17 odoo online) of CENTRIC THEME
installation themes 17.0
Avatar
0
May 24
1869
Can not install any Addons in Odoo12
installation addons stuck
Avatar
Avatar
1
Oct 23
2613
ImportError: No module named web_kanban Solved
configuration installation addons
Avatar
Avatar
Avatar
2
Aug 20
24955
Custom addons installation
installation install addons
Avatar
Avatar
1
Feb 24
5594
modules not auto installed on Database creation even when auto_install setting True
installation modules addons
Avatar
Avatar
Avatar
5
Nov 17
9711
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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