In odoo-provisioning we use the postgresql-odoo role.
In odoo-inventories the default user is odoo with the permission CREATEDB.
Lately we noticed odoo-provisioning doesn’t give permissions to user odoo.
This is a workaround until we investigate it further.
sudo su postgres.psql and check the users and permissions \du.alter user odoo createdb;