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
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
8016
Tampilan
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Feb 24
|
796 | ||
|
0
Mar 25
|
1153 | ||
Add a ribbon to differentiate between companies
Diselesaikan
|
|
1
Jul 23
|
1739 | |
|
1
Agu 22
|
3011 | ||
Company Logo not showing up on email
Diselesaikan
|
|
2
Apr 24
|
4260 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo