Is there a way to get current user's groups from js without calling a python function
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
Hello Kampeons,
I hope you are doing good.
Please check below link might be that will help you !
http://stackoverflow.com/questions/37434548/how-to-check-if-an-user-belongs-to-several-groups-in-odoo
Thanks
In the given link they are using python function to get current user groups.I need to get it in js
The linked answer states that it requires a custom Python method, which you must call from JS to get the details you need. Why do you need a way to do so without calling any Python?
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
Get current user from js
Ratkaistu
|
|
4
lokak. 24
|
23188 | |
|
1
syysk. 16
|
2400 | ||
|
1
kesäk. 23
|
1940 | ||
|
1
toukok. 23
|
1884 | ||
|
1
lokak. 22
|
4044 |