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:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
3866
瀏覽次數
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
1
7月 19
|
19537 | ||
|
1
6月 25
|
5378 | ||
|
2
12月 24
|
6269 | ||
|
0
10月 20
|
2516 | ||
|
3
10月 19
|
2931 |