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
- Bogføring
- Lager
- PoS
- Project
- MRP
Dette spørgsmål er blevet anmeldt
1
Svar
8066
Visninger
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Tilmeld digRelated Posts | Besvarelser | Visninger | Aktivitet | |
---|---|---|---|---|
|
0
feb. 24
|
833 | ||
|
0
mar. 25
|
1163 | ||
|
1
jul. 23
|
1772 | ||
|
1
aug. 22
|
3043 | ||
|
2
apr. 24
|
4288 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo