You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
376 B
11 lines
376 B
#!/bin/bash
|
|
# Shortcut to run Odoo in unit testing mode
|
|
set -e
|
|
addons=$1
|
|
shift
|
|
log INFO Executing Odoo in i18n export mode for addons $addons
|
|
# HACK Odoo needs a *.po file to guess the output format
|
|
ln -sf /dev/stdout /tmp/stdout.po
|
|
set -x
|
|
exec odoo --stop-after-init -d "$PGDATABASE" --i18n-export /tmp/stdout.po \
|
|
--modules "$addons" --update "$addons" --workers 0 "$@"
|