Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Food & Hospitality
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Guest House
    • Distribuidor de bebidas
    • Hotel
    Real Estate
    • Real Estate Agency
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consulting
    • Accounting Firm
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Trades
    • Handyman
    • Hardware y asistencia informática
    • Solar Energy Systems
    • Zapatero
    • Servicios de limpieza
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

how-to clone and use Modules of the OCA (an others maybe)?

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
communitymodules
2 Respuestas
19398 Vistas
Avatar
gunnar

the git repositories of the OCA (https://github.com/OCA/hr for example) are contain always a bunch of modules, so if you clone them with git you get a folder with subfolders.

The 'addons_path' in your config file can not handle such a 2-level structure, so if you clone into the 'addons' folder Odoo will not find these modules. Is there any common practise how to organize that best?

Just adding level-1 folders in /opt/ocb/ocb-server for each batch of modules and then extending the addons path seems a little cluttered, isn't it?

1
Avatar
Descartar
Avatar
Luke Branch
Mejor respuesta

Hi Gunnar,

try the following command:

sudo git clone https://github.com/odoo/<<insert OCA repo here>> /opt/odoo/custom/addons/

Then add the custom folder to the odoo-server.conf or openerp-server.conf file (eg. /etc/odoo-server.conf) on the addons_path line. You can continue adding custom module directories in this manner by seperating them with a comma.
addons_path = /opt/odoo/odoo-server/addons,/opt/odoo/custom/addons

 

0
Avatar
Descartar
Alex

I think he doesn't want to add too many addons path folders and find a way to clone several repositories in just one addons folder. I am interesting in this information too. Does anyone know if we can do this?

gunnar
Autor

@Luke: it isn't that simple because you will not clone one single Module with the command you suggest but a batch of Modules inside of a higer-level folder. Like this you have ~/custom/addons/folder/Module1, Module2, Module2, ... etc. so you would have to add ~/custom/addons/folder/Module1,~custom/addons/folder/Module2,~/custom/addons/folder/Module3,...etc That gives a lot of entries ..... I wonder it the OCA people have a suggestion how to handle this most efficiently. Maybe they didn;t think that through and leave it to any user to decide how to manage that ...

gunnar
Autor

@Luke: it isn't that simple because you will not clone one single Module with the command you suggest but a batch of Modules inside of a higer-level folder. Like this you have ~/custom/addons/folder/Module1, Module2, Module2, ... etc. so you would have to add ~/custom/addons/folder/Module1,~custom/addons/folder/Module2,~/custom/addons/folder/Module3,...etc That gives a lot of entries ..... I wonder if the OCA people have a suggestion how to handle this most efficiently. Maybe they didn;t think that through and leave it to any user to decide how to manage that ...

Avatar
Clement Zotti
Mejor respuesta

Are you try to make some symbolic link ?

I have module in both place :

/opt/openerp/custom/addons_dev/

/opt/openerp/custom/addons/

 

and in my addons_path=/opt/openerp/server/addons,/opt/openerp/addons(here is where i made all the symbolic link)

and I have done

cd /opt/openerp/addons

and

ln -s /opt/openerp/custom/addons/* .

and

ln -s /opt/openerp/custorm/addons_dev/{module_1, module_2} .

With this I have only one folder with link to desired module, and I add or remove them easily(after uninstall them from odoo).

 

Hope this help.

0
Avatar
Descartar
gunnar
Autor

so then the folder /opt/openerp/custorm/addons_dev is where you git clone into right? Do you list the symlinks in your 'official' addons folder in a .gitignore file, so when you update (git merge ...) your installation those will be ignored?

gunnar
Autor

ok, the symlinks work fine. I think that's an elegant way to work make an external modules folder like /opt/ocb/ocb-server/addons-clone and add symlinks as discribed in the "official" addons folder. When making a update modules list from inside you OpenERP/Odoo via the browser of your choice (firefox most likely) OpenERP finds the linked addons as well

¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Consultation on the use of enterprise modules in community Resuelto
community modules enterprise
Avatar
Avatar
1
sept 22
3375
use odoo community module in enterprise
community modules enterprise
Avatar
Avatar
1
sept 21
4708
How to create multiple task in a existing project by code? Resuelto
community modules odoo
Avatar
Avatar
Avatar
3
ago 21
4633
Subscribe to odoo Enterprise, now I have to pay for community version's module Resuelto
community modules enterprise
Avatar
Avatar
Avatar
2
jul 21
4969
can I add odoo enterprise apps in odoo community Resuelto
community modules odoo12
Avatar
Avatar
Avatar
2
ene 19
7220
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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