You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@robinkeunen This is a proposition of a guide to split modules. (some very specific steps are needed, and are gathered here).
Migration
Sylvain's technique:
Etape 1 : (ancien module) : module_1 est installé en version 12.0.1 avec toutes les datas et tout ce qui va bien.
Etape 2 : (refactoring)
module_1 dépend de module_2.
module_1 est vide (plus de data, plus de python, plus rien.) Tout est dans module 2.
dans le module_2, en pre-init, appelez des scripts qui rename les xml_ids de module_1.* en module_2.*.
Etape 3 (switch) :
Faire un update all qui va installer le module 2 par dépendance.
Etape 4 : (état final)
désinstaller module_1, qui est une coquille vide.
Keep the git history up to the split in the initial repo, then remove the splitted modules (because they are moved to the OCA repo (keep the remaining original module because it contains the dependencies)
The text was updated successfully, but these errors were encountered:
@robinkeunen This is a proposition of a guide to split modules. (some very specific steps are needed, and are gathered here).
Migration
Translations
cd src/oca/$REPO
click-odoo-makepot --addons-dir . --msgmerge-if-new-pot --commit -d blank --log-level=debug
Git history when proposing modules to the OCA
The split can be done in one branch in the initial repo
In case some modules are proposed to the OCA : rebuild the git history with https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0
-- $MODULE
allow to keep only the changes related to a specific module and is useful to create one branch per module12.0-split-modules
in the OCA repo that contains all the split.:git checkout 12.0
git format-patch --keep-subject --stdout 12.0..12.0-split-modules -- $MODULE
Keep the git history up to the split in the initial repo, then remove the splitted modules (because they are moved to the OCA repo (keep the remaining original module because it contains the dependencies)
The text was updated successfully, but these errors were encountered: