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
    • Artificial Intelligence
    • 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ó
    • Property Management
    • 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
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

Odoo Sh Rebuild Test Environment/ Reinstall Test Modules

Subscriure's

Get notified when there's activity on this post

This question has been flagged
deploymentodoo.sh
2 Respostes
781 Vistes
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 Best Answer

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.
Best Answer

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
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
odoo.sh Adding new modules as Dependencies for deployed Modules
deployment odoo.sh Devops
Avatar
Avatar
2
d’abr. 26
786
Migration from Odoo Online to Odoo.sh Solved
odoo.sh
Avatar
Avatar
1
de maig 26
1985
Built an odoo.sh alternative, would love your feedback
odoo.sh
Avatar
0
de nov. 25
18
Demande d'explication - odoo.sh | odoo online Solved
odoo.sh
Avatar
Avatar
1
de nov. 25
2314
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
de jul. 25
4631
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 Svenska ภาษาไทย 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