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.6 KiB

7 years ago
7 years ago
7 years ago
7 years ago
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; text-align: justify;">
  14. Extends the Odoo web client to include
  15. bus channels. Channels can be created to listen to Odoo bus
  16. notifications. To add a channel listener to the client just
  17. extend the web client and declare a new bus channel.
  18. </p>
  19. <pre>
  20. <code>
  21. var WebClient = require('web.WebClient');
  22. var session = require('web.session');
  23. WebClient.include({
  24. show_application: function() {
  25. var channel = session.db + '_mychannel';
  26. this.bus_declare_channel(channel, this.doSomething);
  27. return this._super();
  28. },
  29. doSomething: function(message) {
  30. ...
  31. }
  32. });
  33. </code>
  34. </pre>
  35. </div>
  36. </div>
  37. </section>
  38. <section class="oe_container oe_dark">
  39. <h3 class="oe_slogan">Help and Support</h3>
  40. <div class="oe_slogan">
  41. <a class="btn btn-primary btn-lg mt8" href="mailto:sale@mukit.at">
  42. <i class="fa fa-envelope"></i> Email
  43. </a> <a class="btn btn-primary btn-lg mt8"
  44. href="https://mukit.at/page/contactus"> <i class="fa fa-phone"></i>
  45. Contact
  46. </a>
  47. </div>
  48. <img src="logo.png" style="width: 200px; margin-bottom: 20px;"
  49. class="center-block">
  50. </section>