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
- Contabilitate
- Inventar
- PoS
- Project
- MRP
Această întrebare a fost marcată
4528
Vizualizări
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-teRelated Posts | Răspunsuri | Vizualizări | Activitate | |
---|---|---|---|---|
|
1
iul. 19
|
20130 | ||
|
1
iun. 25
|
5878 | ||
|
2
dec. 24
|
10687 | ||
|
0
oct. 20
|
3004 | ||
|
3
oct. 19
|
3316 |