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.

197 lines
6.4 KiB

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