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
    • Guest House
    • Distributeur de boissons
    • Hotel
    Real Estate
    • Real Estate Agency
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consulting
    • Accounting Firm
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    • Solar Energy Systems
    • Cordonnier
    • Services de nettoyage
    • HVAC Services
    Others
    • Nonprofit Organization
    • 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

how to move a modules inside the /opt/openerp folder?

S'inscrire

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

Cette question a été signalée
installationmodule
1 Répondre
7184 Vues
Avatar
gunnar

I wanted to use product_custom_attributes Module and found it on launchpad bundled with about 30 different modules here https://launchpad.net/openerp-product-attributes
downloaded them all by lp:openerp-product-attributes from inside of my /opt/openerp/ocb7.0 folder and added /opt/openerp/ocb7.0/openerp-product-attribtues in my 'addons path' in out /etc/ocb-7.0.conf file

this works fine and I can install all these modules.

But actually I have now about 7 folders for modules inside of our /opt/openerp/ocb7.0 folder. I though that is a little too much and would like to clean that up. Actually my idea was to do the downloading (maybe not the quite correct term) from github or launchpad into my home folder and then only copy the modules I want to use into the regular 'addons' folder. In order to do the cleanup I tried:

  1. sudo service ocbserver-7,0 stop   (not sure whether that is really necessary)
  2. copied the two modules (base_custom_attributes & product_custom_attributes) into the 'ocb-addons' folder
  3. did a   chown -R openerp:openerp   ocb-addons (to make them accesible)
  4. moved the folder 'openerp-product-attributes' into my /home
  5. deleted the /opt/openerp/ocb7.0/openerp-product-attribtues from the 'addons path' in my config file
  6. restarted the ocb-server
  7. updated my Modules list

as a result I can't open my products any more with the following error:

View error

Can't find field 'categ_ids' in the following view parts composing the view of object model 'product.product':
* product.normal.form

Either you wrongly customized this view, or some modules bringing those views are not compatible with your current data model


un- and reinstalling the two modules does not help

any idea how to fix this? I did the same procedure described above sucessfully with another module (which is a custom made module that adds an extra field for an employee)

1
Avatar
Ignorer
Avatar
Ludo - 21South
Meilleure réponse

Most likely you use the home directory of some user that is not the same as the OpenERP instance is running under. Check under /opt/openerp which user has access to that directory.

The error you see is caused by OpenERP trying to update a module which it can't find in its addons path. Uninstalling will only work if the actual module is still available when uninstalling. Why this is I don't know. 

Personally I have found it to be a good idea to make an /opt/openerp/custom_modules directory and download all the custom modules there. Give it the right access rights, put the directory in the addons path and you should be good to go.

0
Avatar
Ignorer
gunnar
Auteur

I still have those modules in a folder that can be accessed by OpenERP. It just is not the same folder it has been once I installed these modules. I only access modules inside of /opt/openerp/... and I have made sure that the access rights are good . I was suspicious about access rights and I am pretty sure they are good (same as all other modules which install and work fine). Will look at this once more though.

gunnar
Auteur

seems my problem was that there was a third module from the /opt/openerp/ocb7.0/openerp-product-attribtues folder installed which I wasn't aware of. This caused my problem because this wasn't available after removing this folder from the 'addons' path

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é
how can I resolve dependency for Module called unidecode? Résolu
installation module
Avatar
Avatar
Avatar
Avatar
Avatar
6
sept. 24
53606
How to run a python function right after installing a module?
installation module
Avatar
2
juin 20
21037
How to load third party modules in Odoo 9 Enterprse?
installation module
Avatar
0
mars 16
6792
installation module tiers impossible
installation module
Avatar
0
mars 15
5334
basic steps to install my first module
installation module
Avatar
Avatar
1
mars 15
5511
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