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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
8049
Lượt xem
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 2 24
|
822 | ||
|
0
thg 3 25
|
1160 | ||
|
1
thg 7 23
|
1751 | ||
|
1
thg 8 22
|
3027 | ||
Company Logo not showing up on email
Đã xử lý
|
|
2
thg 4 24
|
4273 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo