Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Custom theme images not working when in separate addons folder.

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
installationaddonsimagesthemes
12 Réponses
10353 Vues
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
Ignorer
Ermin Trevisan

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

Kurt Haselwimmer
Auteur

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
Auteur

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
Auteur

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
Auteur

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.
Meilleure réponse

Looks like content is blocked by selinux.

0
Avatar
Ignorer
Avatar
Kurt Haselwimmer
Auteur Meilleure réponse

 


 
0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Connection Lost error on Installation (v17 odoo online) of CENTRIC THEME
installation themes 17.0
Avatar
0
mai 24
1869
Can not install any Addons in Odoo12
installation addons stuck
Avatar
Avatar
1
oct. 23
2613
ImportError: No module named web_kanban Résolu
configuration installation addons
Avatar
Avatar
Avatar
2
août 20
24955
Custom addons installation
installation install addons
Avatar
Avatar
1
févr. 24
5595
modules not auto installed on Database creation even when auto_install setting True
installation modules addons
Avatar
Avatar
Avatar
5
nov. 17
9712
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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