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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
8068
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
0
févr. 24
|
833 | ||
|
0
mars 25
|
1165 | ||
|
1
juil. 23
|
1775 | ||
|
1
août 22
|
3048 | ||
|
2
avr. 24
|
4290 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo