Merge branch '6.8' of https://gitea.onecluster.org/OneTeam/trytondo-sale_opportunity_management into 6.8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Camilo Gonzalez 2023-08-07 11:41:01 -05:00
commit 2d521686ee

View File

@ -19,4 +19,9 @@ python3 setup.py develop
trytond_modules_path=`pip3 show trytond | grep Location | sed -nr 's/Location: +//gp'`/trytond/modules
module_name=`cat "$SRC/setup.py" | fgrep -A 1 [trytond.modules] | sed 1d | cut -d '=' -f 1 | tr -d ' \n'`
[ ! -d "$trytond_modules_path" ] && die "fallo al ubicar ruta de modulos de trytond"
ln -sf "$SRC" "$trytond_modules_path/$module_name"
# se limpia para evitar enlaces recursivos
module_trytond_path="$trytond_modules_path/$module_name"
rm -f "$module_trytond_path"
ln -sf "$SRC" "$module_trytond_path"