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.

188 lines
6.1 KiB

  1. <section class="oe_container">
  2. <div class="oe_row oe_spaced">
  3. <h2 class="oe_slogan">MuK Filestore Field</h2>
  4. <h3 class="oe_slogan">Filestore Support for Fields</h3>
  5. <h4 class="oe_slogan" style="font-size: 23px;">
  6. MuK IT GmbH - www.mukit.at
  7. </h4>
  8. </div>
  9. </section>
  10. <section class="oe_container">
  11. <div class="oe_row oe_spaced">
  12. <div class="text-justify" style="max-width: 84%; margin: 16px 8%;">
  13. <h3 class="oe_slogan">Overview</h3>
  14. <div class="oe_mt32" style="padding-bottom: 10px; text-align: justify;">
  15. <p>
  16. Provides a field to store bytes as a file in the filestore. This
  17. fields are useful with data values too large to be manipulated
  18. conveniently as a whole and a way to keep the database slim since it
  19. only has to save the path to the file and not the content itself.
  20. </p>
  21. </div>
  22. <pre>
  23. <code>
  24. from odoo.addons.muk_fields_file.fields.file import File
  25. class FileModel(models.Model):
  26. data_content = File(string="Data")
  27. def data(self):
  28. for record in self:
  29. base64 = record.data_content
  30. oid = record.with_context({'path': True}).data_content
  31. size = record.with_context({'bin_size': True}).data_content
  32. bytes = record.with_context({'bytes': 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. >
  45. <div style="flex-basis: 18%;">
  46. <a href="https://mukit.at/r/MQ5" target="_blank">
  47. <div
  48. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;"
  49. >
  50. <img
  51. src="service_implementation.png"
  52. style="width: 100%; border-radius: 100%;"
  53. />
  54. </div>
  55. <h3
  56. class="oe_slogan"
  57. 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;"
  58. >
  59. Odoo <br />Implementation
  60. </h3>
  61. </a>
  62. </div>
  63. <div style="flex-basis: 18%;">
  64. <a href="https://mukit.at/r/u7c" target="_blank">
  65. <div
  66. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;"
  67. >
  68. <img
  69. src="service_integration.png"
  70. style="width: 100%; border-radius: 100%;"
  71. />
  72. </div>
  73. <h3
  74. class="oe_slogan"
  75. 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;"
  76. >
  77. Odoo <br />Integration
  78. </h3>
  79. </a>
  80. </div>
  81. <div style="flex-basis: 18%;">
  82. <a href="https://mukit.at/r/xDJ" target="_blank">
  83. <div
  84. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;"
  85. >
  86. <img
  87. src="service_customization.png"
  88. style="width: 100%; border-radius: 100%;"
  89. />
  90. </div>
  91. <h3
  92. class="oe_slogan"
  93. 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;"
  94. >
  95. Odoo <br />Customization
  96. </h3>
  97. </a>
  98. </div>
  99. <div style="flex-basis: 18%;">
  100. <a href=" https://mukit.at/r/J3A" target="_blank">
  101. <div
  102. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;"
  103. >
  104. <img
  105. src="service_development.png"
  106. style="width: 100%; border-radius: 100%;"
  107. />
  108. </div>
  109. <h3
  110. class="oe_slogan"
  111. 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;"
  112. >
  113. Odoo <br />Development
  114. </h3>
  115. </a>
  116. </div>
  117. <div style="flex-basis: 18%;">
  118. <a href=" https://mukit.at/r/R1v" target="_blank">
  119. <div
  120. style="width: 75px; height: 75px; border-radius: 100%; margin: auto;"
  121. >
  122. <img
  123. src="service_support.png"
  124. style="width: 100%; border-radius: 100%;"
  125. />
  126. </div>
  127. <h3
  128. class="oe_slogan"
  129. 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;"
  130. >
  131. Odoo <br />Support
  132. </h3>
  133. </a>
  134. </div>
  135. </div>
  136. </div>
  137. </section>
  138. <section class="oe_container" style="padding: 32px 0;">
  139. <div class="oe_row oe_spaced" style="margin: auto;">
  140. <div class="oe_demo oe_picture oe_screenshot">
  141. <a href="https://mukit.at/r/SgN" target="_blank">
  142. <img src="preview.png" />
  143. </a>
  144. </div>
  145. </div>
  146. </section>
  147. <section class="oe_container oe_dark">
  148. <h3 class="oe_slogan">Help and Support</h3>
  149. <h5 class="oe_slogan" style="font-size: 20px;">
  150. Feel free to contact us, if you need any help with your Odoo integration or
  151. addiontal features.
  152. </h5>
  153. <div class="oe_slogan">
  154. <a
  155. class="btn btn-primary btn-lg mt8"
  156. href="https://mukit.at"
  157. target="_blank"
  158. >
  159. <i class="fa fa-globe"></i> Website
  160. </a>
  161. <a
  162. class="btn btn-primary btn-lg mt8"
  163. href="https://mukit.at/page/contactus"
  164. target="_blank"
  165. >
  166. <i class="fa fa-envelope"></i> Contact Us
  167. </a>
  168. <a
  169. class="btn btn-primary btn-lg mt8"
  170. href="https://github.com/muk-it"
  171. target="_blank"
  172. >
  173. <i class="fa fa-github"></i> Issues
  174. </a>
  175. </div>
  176. <img
  177. src="logo.png"
  178. style="width: 200px; margin-bottom: 20px; display: block;"
  179. class="mx-auto center-block"
  180. />
  181. </section>