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.

68 lines
1.9 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
  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. <<<<<<< HEAD
  10. <section class="oe_container" style="padding-bottom: 50px;">
  11. =======
  12. <section class="oe_container" style="padding-bottom: 60px;">
  13. >>>>>>> branch '11.0' of https://github.com/muk-it/muk_web.git
  14. <div class="oe_row oe_spaced">
  15. <div class="oe_picture">
  16. <h3 class="oe_slogan">Overview</h3>
  17. <p class="oe_mt32" style="padding-bottom: 10px;">Extends the Odoo web client to include
  18. bus channels. Channels can be created to listen to Odoo bus
  19. notifications. To add a channel listener to the client just
  20. extend the web client and declare a new bus channel.
  21. </p>
  22. <<<<<<< HEAD
  23. <pre>
  24. <code>
  25. =======
  26. <p>
  27. <pre>
  28. <code>
  29. >>>>>>> branch '11.0' of https://github.com/muk-it/muk_web.git
  30. var WebClient = require('web.WebClient');
  31. var session = require('web.session');
  32. WebClient.include({
  33. show_application: function() {
  34. var channel = session.db + '_mychannel';
  35. this.bus_declare_channel(channel, this.doSomething);
  36. return this._super();
  37. },
  38. doSomething: function(message) {
  39. ...
  40. }
  41. });
  42. <<<<<<< HEAD
  43. </code>
  44. </pre>
  45. =======
  46. </code>
  47. </pre>
  48. </p>
  49. >>>>>>> branch '11.0' of https://github.com/muk-it/muk_web.git
  50. </div>
  51. </div>
  52. </section>
  53. <section class="oe_container oe_dark">
  54. <h3 class="oe_slogan">Help and Support</h3>
  55. <div class="oe_slogan">
  56. <a class="btn btn-primary btn-lg mt8" href="mailto:sale@mukit.at">
  57. <i class="fa fa-envelope"></i> Email
  58. </a> <a class="btn btn-primary btn-lg mt8"
  59. href="https://mukit.at/page/contactus"> <i class="fa fa-phone"></i>
  60. Contact
  61. </a>
  62. </div>
  63. <img src="logo.png" style="width: 200px; margin-bottom: 20px;"
  64. class="center-block">
  65. </section>