Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

How to find custom modules?

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
modulecustompath
5 Respostas
15658 Visualizações
Avatar
Martin

I'm using the Debian package version 7.0-20130620-231038-1. I'm trying to get a custom module (for testing I used the notebook example from iBCScorp) running, but failed. I first tried to just put the directory in /usr/share/pyshared/openerp/addons/ (the permission are OK, everything world-readable), restarted the server with --update=all, but it didn't work. I also tried with putting the module into (again world-readable) path and the additional parameter --addons-path=/usr/local/src/openerp/testbed/addons/, but again, I can't see the module in the web interface. Is there anything obvious, I forgot? TIA!

0
Avatar
Cancelar
Avatar
Martin
Autor Melhor resposta

OK, it does now work for me! Even, if I'm not sure, whether the solution is correct or not:

I need to put the modules under

/usr/share/pyshared/openerp/addons/mymodule/

plus - and this is the point I missed before:

symlinks for every single file in above directory under the directory

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

e.g. /usr/lib/pymodules/python2.7/openerp/addons/mymodule/__init__.py points to /usr/share/pyshared/openerp/addons/mymodule/__init__.py etc.

Thanks to everybody for your help!

0
Avatar
Cancelar
Klaus Hagemann

Does anyone know, if there is a smart little Linux shell script to do this task? Creating all the symlinks can be quite time-consuming... In our installation we have also a second directory "/usr/lib/pymodules/python2.6/openerp/addons/" where the links should be created.

Avatar
Ray Carnes
Melhor resposta

When an OpenERP database is created, the systems looks in the addons path and 'loads' metadata about the modules it finds.

--update=all will look at this metadata and re-load all of the module sources, but won't do anything with 'new' modules.

If you put a module into the addons path, you need to trigger OpenERP to update the module metadata.

Settings --> Modules --> Update Module List

Then, any modules that have been added to the system since the creation of the database, or since the last time the module list was updated, will appear (providing they are valid and can be seen by the OpenERP process).

0
Avatar
Cancelar
Martin
Autor

Unfortunately, this does not have any visible effect. Is there any way to debug this? Of course, I already looked for errors and the module names in the log files, but nothing... I'm sure, I'm missing something very stupid, but what?

Avatar
mmycool
Melhor resposta

I usually place my custom modules in /usr/lib/pymodules/python2.7/openerp/addons/ ...then do Settings --> Modules --> Update Module List ...and they work. Try it!

0
Avatar
Cancelar
Martin
Autor

Unfortunately, this did not work for me. I wonder, whether maybe my example modules are broken in some way...

Avatar
Dharmesh Rathod
Melhor resposta

Hi,

Please check file __openerp__.py There is one attribute you have to check :

'installable': True

It may be "False" so check it.

Thanks
Acespritech Solutions Pvt Ltd
http://www.acespritech.com
http://acespritechblog.wordpress.com

0
Avatar
Cancelar
Martin
Autor

It is set to True already. The complete notebook example __openerp__.py is: { "name" : "notebook", "version" : "0.1", "author" : "Keerthi Bandara @ iBCScorp", "website" : "http://www.ibcscorp.com/", "category" : "Generic Modules/Others", "depends" : ["base"], "description" : "Simple demo module", "init_xml" : ["notebook_view.xml"], "demo_xml" : [], "update_xml" : [], "active": False, "installable": True }

Avatar
Paul Ridley
Melhor resposta

Hi Martin,

sometimes when you are installing OpenERP you can be accident create multiple locations where the openerp directories (server,web.,addons,..) are stored. It sounds like you may be placing your custom module in an addons directory that is different from the one used from the start up script.

I suggest that you first look at the startup script and find which openerp.config file it is pointing to. In this openerp.config file you will find the location of the addons folder being accessed by the openerp server. Finally place your custom module in this addons folder, restart the openerp server and hopefully you will now see your module.

An addtional thing that sometimes confuses people is when searching for your module in the web interface (Settings->Modules->Installed Modules) the default filter only shows modules which have already been installed. Make sure that yuo delete this filter so that you can see all installed and not installed modules.

Maybe one of both of these things can help you.

kind regards

Paul Pawri Group BV www.pawri.nl

0
Avatar
Cancelar
Martin
Autor

I checked this, but there were no additional directories. As I wrote, I'm using the Debian package directly from the nightly builds directory, not a custom install. I'm also aware of the filtered view.

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
Custom Module Not Populating in Apps List Resolvido
module custom
Avatar
Avatar
4
out. 20
9893
Modify existing module giving error in other database
custom path
Avatar
0
mai. 15
4204
For Odoo hosted version, how would I upload a custom module? Resolvido
module upload custom
Avatar
Avatar
Avatar
Avatar
3
fev. 24
11486
importing custom module
module custom importing
Avatar
Avatar
1
nov. 23
3833
error while parsing inherit view
module xml custom
Avatar
Avatar
1
jun. 23
4335
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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