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
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
8036
Visualizzazioni
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
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
0
feb 24
|
820 | ||
|
0
mar 25
|
1159 | ||
|
1
lug 23
|
1744 | ||
|
1
ago 22
|
3026 | ||
|
2
apr 24
|
4271 |
I hope these tips will helps: https://sites.google.com/view/thinkincode/erp/odoo