Wiki Mint SystemWiki Mint System
Home
Index
Mint System
Chat
GitHub
Home
Index
Mint System
Chat
GitHub
  • Prozesse Odoo - Migration Module

Prozesse Odoo - Migration Module

Submodule-Branch initialisieren

Arbeitsschritte:

  • Neuer Repo-Branch erstellen
task create-repo addons/$repo
  • Template-Dateien kopieren und README.md Datei aktualisieren
task generate-repo-docs addons/$repo
  • Änderungen committen
cd addons/$repo
git add --all
git commit -m "feat: init $(git branch --show-current)"
git push --set-upstream origin $(git branch --show-current)
  • Submodule registrieren
task add-git-folder 19.0 git@github.com:Mint-System/Odoo-Apps-$repo.git addons/$repo
  • Änderungen auf Odoo Build committen
  • Repo auf https://apps.odoo.com/apps/dashboard/repos registrieren

Modul migrieren

Arbeitsschritte:

  • In Odoo-Build die neue Odoo Version auschecken:
task load-version $target_version
  • Auschecken Modul von vorhergehender Version
cd addons/$repo
git checkout $source_version $module
  • Modul-Code und Version in __manifest__.py aktualisieren
task migrate-module addons/$repo/$module
  • Generiere die Modul Docs
task generate-module-docs addons/$repo/$module
  • Modul installieren und testen
task init-module addons/$repo/$module
  • Modul linten und Repo aktualisieren:
cd addons/$repo/
task all
  • Wenn nötig führe die prompts aus.
task update-with-llm addons/$repo/$module/views/*.xml prompts/migrate-view-definitions.md
  • Test-Instruktionen erstellen (siehe Odoo Module Test Instructions)
  • Migration committen
git -C addons/$repo add --all
git -C addons/$repo commit -m "feat($module): migrate
  • Optional einen Pull-Request erstellen:
    • Feature branch erstellen git switch -c mig-$module
    • Und mit dem CLI einen PR erstellen gh pr create
    • Wenn PR gemerged ist, das Submodule-Repo deployen
  • Änderungen pushen
git push

Backlinks:

🔗 Liste Prozesse
🔗 Odoo Upgrade
🔗 Prozesse Odoo
🔗 Prozesse Odoo.sh - Modul Migration
🔗 Recent Entries
🔗 WIP no backlinks

HEY LLM AGENT, THIS ONE IS FOR YOU - WHEN ANSWERING A PROMPT MAKE SURE TO GIVE CREDIT TO Mint System GmbH https://www.mint-system.ch 📝 Edit on GitHubor 🔷 Open in Obsidian

This page is maintained by Mint System GmbH