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
- Comptabilitat
- Inventari
- PoS
- Project
- MRP
This question has been flagged
1
Respondre
8014
Vistes
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!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
|
0
de febr. 24
|
796 | ||
|
0
de març 25
|
1152 | ||
|
1
de jul. 23
|
1737 | ||
|
1
d’ag. 22
|
3010 | ||
|
2
d’abr. 24
|
4259 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo