# -*- mode: shell-script -*- get_odoo_uid() { uid_label="odoo" odoo_uid=$(cached_cmd_on_base_image odoo "id -u \"$uid_label\"") || { debug "Failed to query for '$uid_label' uid in ${DARKYELLOW}odoo${NORMAL} base image." return 1 } info "openerp uid from ${DARKYELLOW}odoo${NORMAL} is '$odoo_uid'" echo "$odoo_uid"}
# -*- mode: shell-script -*-
get_odoo_uid() {
uid_label="odoo"
odoo_uid=$(cached_cmd_on_base_image odoo "id -u \"$uid_label\"") || {
debug "Failed to query for '$uid_label' uid in ${DARKYELLOW}odoo${NORMAL} base image."
return 1
}
info "openerp uid from ${DARKYELLOW}odoo${NORMAL} is '$odoo_uid'"
echo "$odoo_uid"