Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo Sh Rebuild Test Environment/ Reinstall Test Modules

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
deploymentodoo.sh
2 Réponses
783 Vues
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
Ignorer
Chris TRINGHAM

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

Avatar
Nikolaus Weingartmair
Auteur Meilleure réponse

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
Ignorer
Avatar
Zehntech Technologies Inc.
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
odoo.sh Adding new modules as Dependencies for deployed Modules
deployment odoo.sh Devops
Avatar
Avatar
2
avr. 26
786
Migration from Odoo Online to Odoo.sh Résolu
odoo.sh
Avatar
Avatar
1
mai 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 Résolu
odoo.sh
Avatar
Avatar
1
nov. 25
2314
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
juil. 25
4631
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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