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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
4395
Visualizzazioni
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
1
lug 19
|
20016 | ||
|
1
giu 25
|
5780 | ||
|
2
dic 24
|
9693 | ||
|
0
ott 20
|
2914 | ||
|
3
ott 19
|
3248 |