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:

  • Navigation in das Submodule
cd addons/$REPO
  • Neuer Branch erstellen
git switch --orphan $TARGET_VERSION
  • Alle Dateien entfernen
rm -rf ./*
  • Template-Dateien kopieren und README.md Datei aktualisieren
task template-repo addons/$REPO
  • Änderungen committen
git add --all
git commit -m "feat: init $(git branch --show-current)"
git push --set-upstream origin $(git branch --show-current)
  • Submodule auf Odoo Build hinzufügen
task add-git-submodule git@github.com:Mint-System/Odoo-Apps-$REPO.git addons/$REPO
  • Änderungen auf Odoo Build committen
  • Register repo to https://apps.odoo.com/apps/dashboard/repos

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 Mdoul README-Datei
task generate-module-docs $!
  • Modul installieren und testen
task init-module $!
  • Modul linten und Repo aktualisieren:
cd addons/$REPO/
task all
  • Wenn nötig führ die Odoo module migration prompts aus
  • 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:

🔗 1 no backlinks
🔗 Liste Prozesse
🔗 Odoo Upgrade
🔗 Prozesse Odoo
🔗 Prozesse Odoo.sh - Modul Migration

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