Commit c965df74 authored by Tulio Ruiz's avatar Tulio Ruiz
Browse files

[IMP] Odoo user is now superuser.

Some modules need to install an extension so this is only allowed if the user is superuser. This won't work for production or testing envs.
parent 924e69ad
Pipeline #65804 passed with stage
in 31 seconds
......@@ -381,7 +381,7 @@ def exec_cmd(container, cmd, user=None, stream=False):
def create_postgres_user(config):
cmd = "psql -c \"create user odoo with password 'odoo' createdb\""
cmd = "psql -c \"create user odoo with password 'odoo' superuser\""
retry = 0
while retry < 4:
res = exec_cmd(config['postgres_container'], cmd, 'postgres')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment