Browse Source

Add notes about a workaround to make the phone logo in top bar work with Odoo enterprise

pull/88/head
Alexis de Lattre 9 years ago
parent
commit
7d7cca4f68
  1. 7
      asterisk_click2dial/static/src/js/asterisk_click2dial.js

7
asterisk_click2dial/static/src/js/asterisk_click2dial.js

@ -57,6 +57,13 @@ click2dial.OpenCaller = Widget.extend({
res_id: r[1],
view_mode: 'form,tree',
views: [[false, 'form']],
/* If you want to make it work with the 'web' module
of Odoo Enterprise edition, you have to change the line
target: 'current',
to:
target: 'new',
If you want to use target: 'current', with web/enterprise,
you have to reload the Web page just after */
target: 'current',
context: {},
};

Loading…
Cancel
Save