Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilitate
- Inventory
- PoS
- Project management
- MRP
Această întrebare a fost marcată
1
Răspunde
3384
Vizualizări
Hi,
It is possible to call js function from the menu item. It is explained here in this Odoo doc.you can go through it,https://www.odoo.com/documentation/10.0/howtos/web.html
Then to call a python function from the Js ,
this._model = ...;
var x = this._model.call('my_method',[]).done(function(results){
#do something;
});
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Înscrie-te