update presik version 6.0

This commit is contained in:
nadia 2023-06-03 00:57:12 +00:00
parent 25fb05fa00
commit c83249fe8e
1 changed files with 13 additions and 3 deletions

View File

@ -165,22 +165,29 @@ fi
if [ "$Provider" == "Presik" ]; then if [ "$Provider" == "Presik" ]; then
prefix="trytonpsk-" prefix="trytonpsk-"
team_org="Presik" team_org="Presik"
pip="True" pip="False"
pip3 install --upgrade pip \ pip3 install --upgrade pip \
&& pip3 install -r /opt/requirements_${Provider}.txt && pip3 install -r /opt/requirements_${Provider}.txt
get_presik=( `${PYTHON_VERSION} $multi_migrate list-repo-token --domain ${GITEA_DOMAIN} --team_org ${Provider} --access_token ${GITEA_ACCESS_TOKEN} --verbose True` ) get_presik=( `${PYTHON_VERSION} $multi_migrate list-repo-token --domain ${GITEA_DOMAIN} --team_org ${Provider} --access_token ${GITEA_ACCESS_TOKEN} --verbose True` )
clone_module $Provider "False" $prefix "${get_presik[@]}" clone_module $Provider "master" $prefix "${get_presik[@]}"
inactive_modules_presik=( inactive_modules_presik=(
audiovisual
document document
document_collection document_collection
document_expiration document_expiration
document_communication document_communication
account_aus
account_invoice_mail
account_invoice_party_revenue
electronic_mail_template
electronic_mail
staff_document staff_document
staff_document_alert staff_document_alert
sale_pos_frontend sale_pos_frontend
sale_pos_frontend_rest sale_pos_frontend_rest
sale_pos_commission sale_pos_commission
maintenance-indicators sale_pos_synchronize
maintenance-indicators
health health
health_ambulance health_ambulance
health_calendar health_calendar
@ -201,8 +208,11 @@ if [ "$Provider" == "Presik" ]; then
health_socioeconomics health_socioeconomics
health_stock health_stock
health_who_essential_medicines health_who_essential_medicines
hotel_zak
real_estate
smtp smtp
sms sms
vps
) )
inactive_module $prefix $pip "${inactive_modules_presik[@]}" inactive_module $prefix $pip "${inactive_modules_presik[@]}"