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
回复
8037
查看
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
|
820 | ||
|
0
3月 25
|
1159 | ||
|
1
7月 23
|
1745 | ||
|
1
8月 22
|
3026 | ||
|
2
4月 24
|
4271 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo