Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3383
Views
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!
Sign up