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:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
1
返信
8021
ビュー
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
|
812 | ||
|
0
3月 25
|
1155 | ||
|
1
7月 23
|
1743 | ||
|
1
8月 22
|
3020 | ||
|
2
4月 24
|
4265 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo