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
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
6925
Views
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!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Feb 24
|
317 | ||
|
0
Dec 23
|
432 | ||
|
1
Jul 23
|
931 | ||
|
1
Aug 22
|
2005 | ||
|
2
Apr 24
|
2933 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo