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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2161
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 19
|
17255 | ||
|
2
Dec 24
|
74 | ||
|
0
Oct 20
|
1766 | ||
|
3
Oct 19
|
2185 | ||
|
0
Mar 18
|
3179 |