You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <section class="oe_container">
  2. <div class="oe_row oe_spaced">
  3. <h2 class="oe_slogan">Web Client</h2>
  4. <h3 class="oe_slogan">Web Client Extension</h3>
  5. <h4 class="oe_slogan" style="font-size: 23px;">MuK IT GmbH -
  6. www.mukit.at</h4>
  7. </div>
  8. </section>
  9. <section class="oe_container" style="padding-bottom: 50px;">
  10. <div class="oe_row oe_spaced">
  11. <div class="oe_picture">
  12. <h3 class="oe_slogan">Overview</h3>
  13. <p class="oe_mt32" style="padding-bottom: 10px;">Extends the Odoo web client to include
  14. bus channels. Channels can be created to listen to Odoo bus
  15. notifications. To add a channel listener to the client just
  16. extend the web client and declare a new bus channel.
  17. </p>
  18. <pre>
  19. <code>
  20. var WebClient = require('web.WebClient');
  21. var session = require('web.session');
  22. WebClient.include({
  23. show_application: function() {
  24. var channel = session.db + '_mychannel';
  25. this.bus_declare_channel(channel, this.doSomething);
  26. return this._super();
  27. },
  28. doSomething: function(message) {
  29. ...
  30. }
  31. });
  32. </code>
  33. </pre>
  34. </div>
  35. </div>
  36. </section>
  37. <section class="oe_container oe_dark">
  38. <h3 class="oe_slogan">Help and Support</h3>
  39. <div class="oe_slogan">
  40. <a class="btn btn-primary btn-lg mt8" href="mailto:sale@mukit.at">
  41. <i class="fa fa-envelope"></i> Email
  42. </a> <a class="btn btn-primary btn-lg mt8"
  43. href="https://mukit.at/page/contactus"> <i class="fa fa-phone"></i>
  44. Contact
  45. </a>
  46. </div>
  47. <img src="logo.png" style="width: 200px; margin-bottom: 20px;"
  48. class="center-block">
  49. </section>