Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

OpenERP 7.0 will not update modules list?

Subscriure's

Get notified when there's activity on this post

This question has been flagged
modulesmodule
6 Respostes
20819 Vistes
Avatar
Rob W

I'm using 7.0-20130514-231031 on Debian GNU/Linux 6.0.7 (squeeze), installed from http:// nightly.openerp.com/7.0/nightly/deb/.

Spent a day on this so far, and cannot figure out what's going on. Lots of searching shows a lot of similar issues with varying fixes that don't work for me.

First, deleting an existing directory of an uninstalled addon in /usr/share/pyshared/openerp/addons does not remove it from the Modules list (going to "Installed Modules" and clearing "Installed" from the filter - which seems like a ridiculously roundabout way to do it IMO) but it will not install. So I'm definitely working with the right directory.

After I click "Install" on the non-existent module (note_pad in this case) it will claim to install. It's not in the Installed Modules list, however, and selecting "Apply Scheduled Upgrades" shows it as ready to install again.

So now at least I know I'm working with the right directory, and there's something wrong with OpenERP reading what's in that directory.

I used the note_pad layout to create a slightly modified version of it and dropped it in the addons directory with a new folder name. No good. I took the "IDEA" addon and made a copy of it. Did a find and replace of all instances of 'idea' and replaced them with 'ideaz' (including filenames). OpenERP refuses to detect that folder no matter what, even though 'idea' works just fine.

I did try chmod 770 (foldername) -R - no change. Service restarts change nothing, nor do server restarts (not surprising though).

Everything else appears to be working fine. Does anybody have any ideas why this is happening?

1
Avatar
Descartar
Rob W
Autor

I just installed it (7.0-20130515-231043) on my Windows 7 x64 desktop as a test and added my "ideaz" folder to the addons directory. OpenERP immediately recognized it, no problem. Looks like this is an issue with my install on Linux... but really would like to figure it out. Default installation directly from OpenERP.

Avatar
Cameron
Best Answer

Well after a lot o hair pulling..

TO INSTALL A MODULE

Put your module here /usr/lib/python2.7/dist-packages/openerp/addons

Change ownership of the module

sudo chown -R root.root /usr/lib/python2.7/dist-packages/openerp/addons/module_name

Change permissions of the module

sudo chmod 755 /usr/lib/python2.7/dist-packages/openerp/addons/module_name -R

Update the module list 'Settings>Modules>Update Module List>Update'

Go to 'Settings>Modules>Installed' Modules Delete Installed from the filter and search for your module

TO DELETE A MODULE

Go to 'Settings>Modules>Installed' Modules Delete Installed from the filter and search for your module, select your module, select More>Delete

Delete your module

sudo rm -r /usr/lib/python2.7/dist-packages/openerp/addons/module_name

Update the module list 'Settings>Modules>Update' 'Module List>Update'

Go to 'Settings>Modules>Installed' Modules Delete Installed from the filter and search for your module - should not be there.

2
Avatar
Descartar
Avatar
Ray Carnes
Best Answer

First, deleting an existing directory of an uninstalled addon ... does not remove it from the Modules list

Removing the module folder will have no effect on what shows up in the list.

When OpenERP is told to 'Update Modules List' it will store a database row for each module it finds on disk. The only way to delete these database entries is to remove them by deleting the module inside OpenERP.

You can delete all entries for uninstalled modules, then update the list. This will update the list to show only those modules on disk (not re-adding those that have been deleted).

2
Avatar
Descartar
Avatar
Antonio M. Vigliotti
Best Answer

Update the module list Settings>Modules>Update Module List>Update

checks for manifest file __openerp__.py and for directory ./static/

Some modules has not ./static/ directory

0
Avatar
Descartar
Avatar
Anthony Selby
Best Answer

So what do you do if the update module list option isn't there ?

0
Avatar
Descartar
Ray Carnes

Make your user a member of the Technical Features group. http://help.openerp.com/question/7650/how-to-activate-the-technical-features/

Avatar
Brett Lehrer
Best Answer

You mentioned chmod but not chown. Are the user permissions correct? Not familiar with the .deb installer, but if it's in pyshared/ the module and contents may need to be owned by a certain user, root or maybe openerp?

0
Avatar
Descartar
Rob W
Autor

The rest of the addons are owned by root:root, so are the new ones I added. I'm not sure this would explain OpenERP's behavior of retaining information on a deleted addons folder (one that wasn't installed) - when doing the same on my Windows install detects it all fine.

Brett Lehrer

Check the syntax on __init__.py and __openerp__.py? I can't think of much else that would prevent OpenERP from not reading a module folder. Try just renaming the folder for an uninstalled module, then altering the name in __openerp__.py to see if it finds the new module name?

Avatar
P Mittal
Best Answer

The same thing happened to me on my Linux (Ubuntu) Installation. I noticed that I was adding my custom-module to the wrong addons directory. When you install a .deb file, or using source the actual openerp installation lands up here by default:

/usr/lib/pymodules/python2.7/openerp/addons

This is where you are supposed to add your own module and NOT to the openerp source you downloaded initially.

Then run:

openerp-server

or

openerp-server --init=(your_module_name)

If this is not where your OpenERP is installed, then try finding the actual directory where your openerp installation resides and put your custom module there before you run the server.

Note: This is just one of the possible solution case to your problem.

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
help with the module all-in-one whatsapp integration-sale purchase account and crm odoo 10
modules module
Avatar
0
de maig 20
3624
How to define the thousands separator BY CUSTOM MODULE? Solved
modules module
Avatar
Avatar
Avatar
3
de des. 19
6201
How to import a field from an module to other?
modules module
Avatar
Avatar
1
de març 15
5119
¿Cómo puedo comunicarme con Latam Perú?
modules module technical
Avatar
0
de nov. 25
54
What is the difference between module depending on base / account? Solved
modules module odoo11
Avatar
Avatar
1
de jul. 18
9132
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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