Adding Behavior - nni-odoo/howtos GitHub Wiki
References: do_action, another do_action, res_partner action.
Adding some actions to buttons
Display of buttons are prepared first and then register the events.
For each button you can register action by the do_action. You can do_action from a defined action.
You can also define it on the spot. Can also involve some events.
External Library
You can also take from another module which is external library by referring it in jsLibs.
Lifecycle
The lifecycle of widget is helpful in knowing when we load some data before rendering the view. Usual lifecycle used.
Delegating action to python
Sometimes you can call on particular function that you can send by _rpc. Where you can use controller's routing(connected to this controller) or simply a particular model's method. Referred method.