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.

216 lines
8.2 KiB

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