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.

189 lines
6.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="theme_light.invoice_header_G002">
  4. <table style="width: 100%;font-size:10px">
  5. <tr height="30px">
  6. <td style="width:20%;padding-right:15px" rowspan="4">
  7. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 100px;"/>
  8. </td>
  9. <td style="width:29%"></td>
  10. <td style='width:17%'>
  11. <img src="theme_light/static/img/gallery/location_green.png" style="max-height: 30px;padding-bottom:10px"/>
  12. </td>
  13. <td style='width:17%'>
  14. <img src="theme_light/static/img/gallery/phone_green.png" style="max-height: 30px;padding-bottom:10px"/>
  15. </td>
  16. <td style='width:17%'>
  17. <img src="theme_light/static/img/gallery/www_green.png" style="max-height: 30px;padding-bottom:10px"/>
  18. </td>
  19. </tr>
  20. <tr height="20px">
  21. <td style="font-size:14px"></td>
  22. <td>
  23. <span t-field="o.company_id.partner_id.street"/>
  24. </td>
  25. <td>
  26. <span>Phone</span>
  27. <span t-field="o.company_id.partner_id.phone"/>
  28. </td>
  29. <td>
  30. <span t-field="o.company_id.partner_id.website"/>
  31. </td>
  32. </tr>
  33. <tr style="vertical-align:top" height="20px">
  34. <td style="vertical-align:middle"></td>
  35. <td style="vertical-align:middle">
  36. <span t-field="o.company_id.partner_id.zip"/> -
  37. <span t-field="o.company_id.partner_id.city"/>
  38. </td>
  39. <td style="vertical-align:middle">
  40. <span>Fax</span>
  41. <span t-field="o.company_id.partner_id.fax"/>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td></td>
  46. <td style="vertical-align:top">
  47. <span t-field="o.company_id.partner_id.country_id.name"/>
  48. </td>
  49. <td></td>
  50. </tr>
  51. <tr>
  52. <td colspan="2"><span style="margin-left:10px" t-field="o.company_id.rml_header1"/> </td>
  53. <td style="vertical-align:bottom">
  54. <span t-field="o.company_id.partner_id.vat"/>
  55. </td>
  56. <td></td>
  57. <td></td>
  58. </tr>
  59. </table>
  60. </template>
  61. <template id="theme_light.invoice_header_P002">
  62. <table style="width: 100%;font-size:10px">
  63. <tr height="30px">
  64. <td style="width:20%;padding-right:15px" rowspan="4">
  65. <img t-if="o.company_id.logo" t-att-src="'data:image/png;base64,%s' % o.company_id.logo" style="max-height: 100px;"/>
  66. </td>
  67. <td style="width:29%"></td>
  68. <td style='width:17%'>
  69. <img src="theme_light/static/img/gallery/location_purple.png" style="max-height: 30px;padding-bottom:10px"/>
  70. </td>
  71. <td style='width:17%'>
  72. <img src="theme_light/static/img/gallery/phone_purple.png" style="max-height: 30px;padding-bottom:10px"/>
  73. </td>
  74. <td style='width:17%'>
  75. <img src="theme_light/static/img/gallery/www_purple.png" style="max-height: 30px;padding-bottom:10px"/>
  76. </td>
  77. </tr>
  78. <tr height="20px">
  79. <td style="font-size:14px"></td>
  80. <td>
  81. <span t-field="o.company_id.partner_id.street"/>
  82. </td>
  83. <td>
  84. <span>Phone</span>
  85. <span t-field="o.company_id.partner_id.phone"/>
  86. </td>
  87. <td>
  88. <span t-field="o.company_id.partner_id.website"/>
  89. </td>
  90. </tr>
  91. <tr style="vertical-align:top" height="20px">
  92. <td style="vertical-align:middle"></td>
  93. <td style="vertical-align:middle">
  94. <span t-field="o.company_id.partner_id.zip"/> -
  95. <span t-field="o.company_id.partner_id.city"/>
  96. </td>
  97. <td style="vertical-align:middle">
  98. <span>Fax</span>
  99. <span t-field="o.company_id.partner_id.fax"/>
  100. </td>
  101. </tr>
  102. <tr>
  103. <td></td>
  104. <td style="vertical-align:top">
  105. <span t-field="o.company_id.partner_id.country_id.name"/>
  106. </td>
  107. <td></td>
  108. </tr>
  109. <tr>
  110. <td colspan="2"><span style="margin-left:10px" t-field="o.company_id.rml_header1"/> </td>
  111. <td style="vertical-align:bottom">
  112. <span t-field="o.company_id.partner_id.vat"/>
  113. </td>
  114. <td></td>
  115. <td></td>
  116. </tr>
  117. </table>
  118. </template>
  119. <template id="theme_light.list_header_G002">
  120. <table style="width: 100%;font-size:10px">
  121. <tr height="30px">
  122. <td style="width:20%;padding-right:15px" rowspan="4">
  123. <img t-if="res_company.logo" t-att-src="'data:image/png;base64,%s' % res_company.logo" style="max-height: 100px;"/>
  124. </td>
  125. <td style="width:29%"></td>
  126. <td style='width:17%'>
  127. <img src="theme_light/static/img/gallery/location_green.png" style="max-height: 30px;padding-bottom:10px"/>
  128. </td>
  129. <td style='width:17%'>
  130. <img src="theme_light/static/img/gallery/phone_green.png" style="max-height: 30px;padding-bottom:10px"/>
  131. </td>
  132. <td style='width:17%'>
  133. <img src="theme_light/static/img/gallery/www_green.png" style="max-height: 30px;padding-bottom:10px"/>
  134. </td>
  135. </tr>
  136. <tr height="20px">
  137. <td style="font-size:14px"></td>
  138. <td>
  139. <span t-field="res_company.partner_id.street"/>
  140. </td>
  141. <td>
  142. <span>Phone</span>
  143. <span t-field="res_company.partner_id.phone"/>
  144. </td>
  145. <td>
  146. <span t-field="res_company.partner_id.website"/>
  147. </td>
  148. </tr>
  149. <tr style="vertical-align:top" height="20px">
  150. <td style="vertical-align:middle"></td>
  151. <td style="vertical-align:middle">
  152. <span t-field="res_company.partner_id.zip"/> -
  153. <span t-field="res_company.partner_id.city"/>
  154. </td>
  155. <td style="vertical-align:middle">
  156. <span>Fax</span>
  157. <span t-field="res_company.partner_id.fax"/>
  158. </td>
  159. </tr>
  160. <tr>
  161. <td></td>
  162. <td style="vertical-align:top">
  163. <span t-field="res_company.partner_id.country_id.name"/>
  164. </td>
  165. <td></td>
  166. </tr>
  167. <tr>
  168. <td colspan="2"><span style="margin-left:10px" t-field="res_company.rml_header1"/> </td>
  169. <td style="vertical-align:bottom">
  170. <span t-field="res_company.partner_id.vat"/>
  171. </td>
  172. <td></td>
  173. <td></td>
  174. </tr>
  175. </table>
  176. </template>
  177. </odoo>