Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Kunstig intelligens
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-forretningsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp
Du skal være registreret for at interagere med fællesskabet.
Alle bidrag Personer Emblemer
Tags (Vis alle)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
Alle bidrag Personer Emblemer
Tags (Vis alle)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Odoo Sh Rebuild Test Environment/ Reinstall Test Modules

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
deploymentodoo.sh
2 Besvarelser
776 Visninger
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
Kassér
Chris TRINGHAM

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

Avatar
Nikolaus Weingartmair
Forfatter Bedste svar

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
Kassér
Avatar
Zehntech Technologies Inc.
Bedste svar

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
Kassér
Kan du lide at diskutere? Læs ikke bare med, deltag aktivt i debatten!

Opret en konto i dag for at få glæde af eksklusive funktioner, og bliv en del af vores skønne fællesskab!

Tilmeld dig
Relaterede indlæg Besvarelser Visninger Aktivitet
odoo.sh Adding new modules as Dependencies for deployed Modules
deployment odoo.sh Devops
Avatar
Avatar
2
apr. 26
783
Migration from Odoo Online to Odoo.sh Løst
odoo.sh
Avatar
Avatar
1
maj 26
1984
Built an odoo.sh alternative, would love your feedback
odoo.sh
Avatar
0
nov. 25
18
Demande d'explication - odoo.sh | odoo online Løst
odoo.sh
Avatar
Avatar
1
nov. 25
2313
Odoo.sh initiating shutdown every 5-10 mins
odoo.sh
Avatar
Avatar
1
jul. 25
4629
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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