Final fix
Some checks failed
Update odoo 18 / update (push) Failing after 1m22s

This commit is contained in:
mgite 2024-10-29 18:04:37 +04:00
parent 85cc9eb60c
commit cc9a5dcb9e
2 changed files with 4 additions and 6 deletions

View File

@ -44,6 +44,8 @@ jobs:
export SSHPASS=${{ secrets.SERVER_SSH_PASSWORD }}
export STACK_PATH="/home/sysop/odoo18/customaddons/bross_hms"
git config --global --add safe.directory $STACK_PATH
### Get modules list to update
modules_to_update=$(git diff --name-only ${{ gitea.event.before }}..${{ gitea.event.after }} | awk -F/ '{print $1}' | uniq | xargs -I {} sh -c 'find {} -type f -name "__manifest__.py" | grep -q "__manifest__.py" && echo {}' 2>/dev/null | sed -z 's/\n/,/g; s/,$/\n/')
echo $modules_to_update
@ -58,7 +60,3 @@ jobs:
${{ secrets.SERVER_SSH_USER }}@${{ secrets.SERVER_SSH_HOST }} \
"cd $STACK_PATH && git pull && docker compose -f docker-compose-dev.yml down && export ARGS='${args}' && docker compose -f docker-compose-dev.yml up -d"
fi

View File

@ -221,7 +221,7 @@ class ExelyModifiedData(models.Model):
guest = self.get_exely_data_api(f"https://connect.hopenapi.com/api/exelypms/v1/guests/{bid}", headers)
self.create_or_update_raw_data(guest, 'exely.raw.guests', bid)
# break
## break
def process_exely_data(self):
found_booking_record = self.env['exely.bookings'].search([], order="write_date desc", limit=1)