- To track activities in your bank accounts and analyse your sales and purchase journals, install the chart of account matching your country or configure the custom chart of accounts.
+ This Dashboard helps you manage your accounting.
+ If you have not yet installed a chart of account, please install one first.
diff --git a/addons/web/static/src/js/framework/view.js b/addons/web/static/src/js/framework/view.js
index 4c28474eaa4..f8791c6bf4f 100644
--- a/addons/web/static/src/js/framework/view.js
+++ b/addons/web/static/src/js/framework/view.js
@@ -7,6 +7,13 @@ var pyeval = require('web.pyeval');
var Widget = require('web.Widget');
var View = Widget.extend({
+ events: {
+ 'click a[type=action]': function (ev) {
+ ev.preventDefault();
+ var action_data = $(ev.target).attr('name');
+ this.do_action(action_data);
+ }
+ },
// name displayed in view switchers
display_name: '',
/**