So far, i can only get the company id.
But can anyone help get the current company name?
Sorry for this maybe a noob question.
Thanks!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
8043
瀏覽次數
Hi,
Try this: self.env.company.id , this will give you the current company id, to get the name you can use like this, self.env.company.name .
Thanks
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
2月 24
|
821 | ||
|
0
3月 25
|
1159 | ||
|
1
7月 23
|
1750 | ||
|
1
8月 22
|
3026 | ||
|
2
4月 24
|
4273 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo