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.

54 lines
1.5 KiB

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: 70px;">
  10. <div class="oe_row oe_spaced">
  11. <div class="oe_picture">
  12. <h3 class="oe_slogan">Overview</h3>
  13. <p class="oe_mt32">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. <p>
  19. Example:
  20. </p>
  21. <pre>
  22. <code>
  23. var WebClient = require('web.WebClient');
  24. var session = require('web.session');
  25. WebClient.include({
  26. show_application: function() {
  27. var channel = session.db + '_mychannel';
  28. this.bus_declare_channel(channel, this.doSomething);
  29. return this._super();
  30. },
  31. doSomething: function(message) {
  32. ...
  33. }
  34. });
  35. </code>
  36. </pre>
  37. </div>
  38. </div>
  39. </section>
  40. <section class="oe_container oe_dark">
  41. <h3 class="oe_slogan">Help and Support</h3>
  42. <div class="oe_slogan">
  43. <a class="btn btn-primary btn-lg mt8" href="mailto:sale@mukit.at">
  44. <i class="fa fa-envelope"></i> Email
  45. </a> <a class="btn btn-primary btn-lg mt8"
  46. href="https://mukit.at/page/contactus"> <i class="fa fa-phone"></i>
  47. Contact
  48. </a>
  49. </div>
  50. <img src="logo.png" style="width: 200px; margin-bottom: 20px;"
  51. class="center-block">
  52. </section>