Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    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 Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Producție
    • Textile
    • Metal
    • Furnitures
    • Food
    • 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
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

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

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
installationmodule
1 Răspunde
7190 Vizualizări
Imagine profil
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
Imagine profil
Abandonează
Imagine profil
Ludo - 21South
Cel mai bun răspuns

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
Imagine profil
Abandonează
gunnar
Autor

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
Autor

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

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

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
how can I resolve dependency for Module called unidecode? Rezolvat
installation module
Imagine profil
Imagine profil
Imagine profil
Imagine profil
Imagine profil
6
sept. 24
53613
How to run a python function right after installing a module?
installation module
Imagine profil
2
iun. 20
21040
How to load third party modules in Odoo 9 Enterprse?
installation module
Imagine profil
0
mar. 16
6796
installation module tiers impossible
installation module
Imagine profil
0
mar. 15
5337
basic steps to install my first module
installation module
Imagine profil
Imagine profil
1
mar. 15
5521
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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