Ir al contenido
Odoo Menú
  • Inicia sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Inteligencia artificial
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de propiedades
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Comunidad
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda
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

Odoo Sh Rebuild Test Environment/ Reinstall Test Modules

Suscribirse

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

Se marcó esta pregunta
deploymentodoo.sh
2 Respuestas
788 Vistas
Avatar
Nikolaus Weingartmair

We use Odoo.sh and we don't know how to properly use it.

We have a prod and test branch and the functional people reset the test db a lot with the current production data.
For testing we have several modules which are not yet production ready therefore if the test system is rebuild these modules are not longer installed.


This leads to a lot of confusion as it's not clear which modules are currently installe.


We tried to solve it with an application pattern (small module with all relevant modules as dependencies. (https://www.youtube.com/watch?v=tGj4KJuLUsE)

But this leads to other probelms. eg https://www.odoo.com/de_DE/forum/hilfe-1/odoosh-adding-new-modules-as-dependencies-for-deployed-modules-302530

How do other implementors with high volatile odoo.sh environments handle this?

0
Avatar
Descartar
Chris TRINGHAM

See the answer here: https://www.odoo.com/forum/help-1/rebuild-odoosh-without-retrieving-production-database-231113

Avatar
Nikolaus Weingartmair
Autor Mejor respuesta

Nice to not be the only one:

Our current approach is manually trigger a method (on res.company).

  1. refresh the app-list
  2. Loop through all the modules and if available in the system install them

    1. in this method we keep the current state of test and prod to have a single proof of state (What is in test and production)
    2. We check if the database name contains "test" for additionally installing the modules in test.

With this the functional people can be sure the current state is installed without the complexities of the refresh and depends.
But it still feels hacky - hope sombody finds a better solution for this.

0
Avatar
Descartar
Avatar
Zehntech Technologies Inc.
Mejor respuesta

Hello, 

This is a common challenge in Odoo.sh when working with frequently refreshed test environments.

By default, when you reset the test database from production, only the modules installed in production are restored any test-only modules will need to be reinstalled manually or via a defined process.

A common approach followed by many teams is:

  • Maintain a dedicated list of test modules (via a script or documentation)
  • Use post-init scripts or automated actions in Odoo.sh to reinstall required modules after each rebuild
  • Alternatively, manage a separate staging branch/database where test modules remain persistent instead of resetting frequently

The “application module with dependencies” approach can work, but as you noticed, it may introduce deployment complexities.

A more stable approach is to automate module reinstallation rather than relying on dependency chaining.

Hope this works for you! If you need any help implementing this or want a more optimized approach, feel free to reach out for further discussion

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

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

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
odoo.sh Adding new modules as Dependencies for deployed Modules
deployment odoo.sh Devops
Avatar
Avatar
2
abr 26
788
Migration from Odoo Online to Odoo.sh Resuelto
odoo.sh
Avatar
Avatar
1
may 26
1985
Built an odoo.sh alternative, would love your feedback
odoo.sh
Avatar
0
nov 25
18
Demande d'explication - odoo.sh | odoo online Resuelto
odoo.sh
Avatar
Avatar
1
nov 25
2316
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
jul 25
4634
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 Svenska ภาษาไทย 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 estar totalmente integrado.

Sitio web hecho con

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