official module disabled sale payment

This commit is contained in:
Alnus Tmp 2022-01-12 15:20:19 +00:00
parent 7205d388da
commit d736198958
2 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,7 @@ Docker tryton-non_official It is a tool for deploying unofficial Tryton modules
# Dependencies:
Have **docker** 20 or higher installed and **git**
[Multi migrate to gitea](https://git.disroot.org/one_cluster/oc-multi_migrate_to_gitea) will be called at the time of the creation of the docker
[Multi migrate to gitea](https://git.disroot.org/OneCluster/oc-multi_migrate_to_gitea) will be called at the time of the creation of the docker

View File

@ -51,6 +51,7 @@ inactive_module() {
for module in "${Array[@]}"; do
if [ $pip = "True" ]; then
pip uninstall -y $prefix$module
rm -rf $module
else
rm -rf $module
fi
@ -77,10 +78,15 @@ if [ ${OneCluster} = "True" ]; then
"git+https://github.com/bit4bit/facho.git"
prefix="trytondo-"
team_org="OneCluster"
pip="False"
pip="True"
get_one_cluster=( `${PYTHON_VERSION} $multi_migrate list-repo-token --domain ${GITEA_DOMAIN} --team_org $team_org --access_token ${GITEA_ACCESS_TOKEN} --verbose True` )
clone_module $team_org ${TRYTOND_VERSION} $prefix "${get_one_cluster[@]}"
inactive_modules_trytond=(
sale_payment
)
inactive_module "trytond-" $pip "${inactive_modules_trytond[@]}"
modules_presik=(
trytonpsk-account_co_pyme )
clone_module "Presik" "False" "trytonpsk-" "${modules_presik[@]}"