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.

145 lines
5.3 KiB

  1. <section class="oe_container">
  2. <div class="oe_row oe_spaced">
  3. <h2 class="oe_slogan">MuK Filestore Fields</h2>
  4. <h3 class="oe_slogan">Filestore Support for Fields</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">
  10. <div class="oe_row oe_spaced">
  11. <div style="max-width: 84%; margin: 16px 8%;">
  12. <h3 class="oe_slogan">Overview</h3>
  13. <div class="oe_mt32"
  14. style="padding-bottom: 10px; text-align: justify;">
  15. <p>Provides a field to store bytes as a file in the filestore.
  16. This fields are useful with data values too large to be manipulated
  17. conveniently as a whole and a way to keep the database slim since
  18. it only has to save the path to the file and not the content
  19. itself.</p>
  20. </div>
  21. <pre>
  22. <code>
  23. from odoo.addons.muk_fields_file.fields.file import File
  24. class FileModel(models.Model):
  25. data_content = File(string="Data")
  26. @api.multi
  27. def data(self):
  28. for record in self:
  29. bytes = record.data_content
  30. oid = record.with_context({'path': True}).data_content
  31. size = record.with_context({'bin_size': True}).data_content
  32. base64 = record.with_context({'base64': True}).data_content
  33. stream = record.with_context({'stream': True}).data_content
  34. </code>
  35. </pre>
  36. </div>
  37. </div>
  38. </section>
  39. <section class="oe_container oe_dark">
  40. <div class="oe_row oe_spaced">
  41. <h3 class="oe_slogan">Our Services</h3>
  42. <div
  43. style="display: flex; padding-top: 20px; justify-content: space-between;">
  44. <div style="flex-basis: 18%;">
  45. <a href="https://mukit.at/r/MQ5" target="_blank">
  46. <div
  47. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;">
  48. <img src="service_implementation.png"
  49. style="width: 100%; border-radius: 100%;">
  50. </div>
  51. <h3 class="oe_slogan"
  52. style="text-align: center; font-size: 14px; width: 100%; margin: 0; margin-top: 14px; color: #000 !important; margin-top: 5px; opacity: 1 !important; line-height: 17px;">
  53. Odoo <br>Implementation
  54. </h3>
  55. </a>
  56. </div>
  57. <div style="flex-basis: 18%;">
  58. <a href="https://mukit.at/r/u7c" target="_blank">
  59. <div
  60. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;">
  61. <img src="service_integration.png"
  62. style="width: 100%; border-radius: 100%;">
  63. </div>
  64. <h3 class="oe_slogan"
  65. style="text-align: center; font-size: 14px; width: 100%; margin: 0; margin-top: 14px; color: #000 !important; margin-top: 5px; opacity: 1 !important; line-height: 17px;">
  66. Odoo <br>Integration
  67. </h3>
  68. </a>
  69. </div>
  70. <div style="flex-basis: 18%;">
  71. <a href="https://mukit.at/r/xDJ" target="_blank">
  72. <div
  73. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;">
  74. <img src="service_customization.png"
  75. style="width: 100%; border-radius: 100%;">
  76. </div>
  77. <h3 class="oe_slogan"
  78. style="text-align: center; font-size: 14px; width: 100%; margin: 0; margin-top: 14px; color: #000 !important; margin-top: 5px; opacity: 1 !important; line-height: 17px;">
  79. Odoo <br>Customization
  80. </h3>
  81. </a>
  82. </div>
  83. <div style="flex-basis: 18%;">
  84. <a href=" https://mukit.at/r/J3A" target="_blank">
  85. <div
  86. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;">
  87. <img src="service_development.png"
  88. style="width: 100%; border-radius: 100%;">
  89. </div>
  90. <h3 class="oe_slogan"
  91. style="text-align: center; font-size: 14px; width: 100%; margin: 0; margin-top: 14px; color: #000 !important; margin-top: 5px; opacity: 1 !important; line-height: 17px;">
  92. Odoo <br>Development
  93. </h3>
  94. </a>
  95. </div>
  96. <div style="flex-basis: 18%;">
  97. <a href=" https://mukit.at/r/R1v" target="_blank">
  98. <div
  99. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;">
  100. <img src="service_support.png"
  101. style="width: 100%; border-radius: 100%;">
  102. </div>
  103. <h3 class="oe_slogan"
  104. style="text-align: center; font-size: 14px; width: 100%; margin: 0; margin-top: 14px; color: #000 !important; margin-top: 5px; opacity: 1 !important; line-height: 17px;">
  105. Odoo <br>Support
  106. </h3>
  107. </a>
  108. </div>
  109. </div>
  110. </div>
  111. </section>
  112. <section class="oe_container" style="padding: 32px 0;">
  113. <div class="oe_row oe_spaced" style="margin: auto;">
  114. <div class="oe_demo oe_picture oe_screenshot">
  115. <a href="https://mukit.at/r/SgN" target="_blank"> <img src="preview.png">
  116. </a>
  117. </div>
  118. </div>
  119. </section>
  120. <section class="oe_container oe_dark">
  121. <h3 class="oe_slogan">Help and Support</h3>
  122. <h5 class="oe_slogan" style="font-size: 20px;">Feel free to
  123. contact us, if you need any help with your Odoo integration or
  124. addiontal features.</h5>
  125. <div class="oe_slogan">
  126. <a class="btn btn-primary btn-lg mt8" href="https://mukit.at" target="_blank">
  127. <i class="fa fa-globe"></i> Website
  128. </a>
  129. <a class="btn btn-primary btn-lg mt8" href="mailto:sale@mukit.at">
  130. <i class="fa fa-envelope"></i> Contact Us
  131. </a>
  132. <a class="btn btn-primary btn-lg mt8" href="https://github.com/muk-it" target="_blank">
  133. <i class="fa fa-github"></i> Issues
  134. </a>
  135. </div>
  136. <img src="logo.png"
  137. style="width: 200px; margin-bottom: 20px; display: block;"
  138. class="mx-auto center-block">
  139. </section>