fork 0k-charms
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
353 B

# -*- 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"
}