I installed odoo in ubuntu 20.04 and I set up environment variables in /etc/environment. But odoo is owned by odoo user. So, when I try to call in odoo custom module using os.environ.get, I don't get anything. So, how can I solve that?
Se marcó esta pregunta
6510
Vistas
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
0
mar 26
|
40 | ||
|
|
1
jul 19
|
22455 | ||
|
|
1
jun 25
|
7412 | ||
|
|
2
dic 24
|
26172 | ||
|
|
0
oct 20
|
4563 |