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 | etc.
Anirudh, a menu can call an action. There are at least 4 types of actions that OpenERP provides
- window action, which will display the views, etc
- report action that will run a report (like from the Print shortcut)
- server action that will run an ORM method of your choice (with certain limitations)
- cliet action that will run something in web client.
So, yes you can run a method from a menu (without showing any window), but I think from user experience perspective it is not too good as the user will have no feedback on what is happening.
Basically when you click on Menu, there is no specific methods available in which you can add custom code.
But I guess you know,
Menu >> Action >> Views ( Tree, Form )
So We can inherit field_view_get method of any class specified in that View.
Still I request you to please give detailed purpose of what you want to do exactly when you click on Sale Order menu.
May be after knowing the exact purpose we can help you more.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 10/18/14, 4:22 AM|
|Seen: 1583 times|
|Last updated: 10/30/15, 3:06 PM|