Skip to content

Commit

Permalink
Merge pull request #1482 from ndeet/odoo-18
Browse files Browse the repository at this point in the history
Update docs for Odoo 18.
  • Loading branch information
pavlenex authored Jan 28, 2025
2 parents 0eb4446 + 5343a46 commit d281bab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -367,21 +367,21 @@ done

# Odoo

echo "Setup dependency: Odoo 16 and 17"
echo "Setup dependency: Odoo 16, 17 and 18"

rm -rf "$DOCS_DIR/Odoo"
mkdir -p "$DOCS_DIR/Odoo"

if [ ! -d "$ODOO_DIR" ]; then
git clone https://github.com/btcpayserver/odoo.git "$ODOO_DIR"
else
cd "$ODOO_DIR" && git checkout 17.0 && git pull
cd "$ODOO_DIR" && git checkout 18.0 && git pull
fi

cd "$ODOO_DIR"
cp -r payment_btcpayserver/README.md "$DOCS_DIR/Odoo"
for file in "$DOCS_DIR"/Odoo/*.md; do
update_external "$file" https://github.com/btcpayserver/odoo https://github.com/btcpayserver/odoo/edit/17.0 "$DOCS_DIR"/Odoo/
update_external "$file" https://github.com/btcpayserver/odoo https://github.com/btcpayserver/odoo/edit/18.0 "$DOCS_DIR"/Odoo/
done

# Kukks' plugins
Expand Down

0 comments on commit d281bab

Please sign in to comment.