diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 10:33:58 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 10:33:58 +0700 |
| commit | abc0e55630c476cc426a43bcd365d87177cfc1d4 (patch) | |
| tree | 60bc399e4b006fb221fc5b0e6eea7dc516e5ef5d | |
| parent | dbdcf1a241cc940a943742664b9102df9c507a8d (diff) | |
push
| -rw-r--r-- | indoteknik_custom/report/purchase_report.xml | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/indoteknik_custom/report/purchase_report.xml b/indoteknik_custom/report/purchase_report.xml index 210b4b17..eaa9bf17 100644 --- a/indoteknik_custom/report/purchase_report.xml +++ b/indoteknik_custom/report/purchase_report.xml @@ -88,6 +88,7 @@ </thead> <tbody> <t t-foreach="doc.order_line" t-as="line"> + <!-- Row produk --> <tr style="page-break-inside: avoid;"> <td style="border:1px solid #ccc; padding:4px;"> <span t-field="line.name"/> @@ -106,21 +107,23 @@ </td> </tr> - <!-- Tambah jarak + border atas buat deskripsi --> - <t t-if="line.product_id.website_description"> - <tr style="page-break-inside: avoid; padding:13px;"> - <td colspan="5" style="border:1px solid #ccc; background:#fafafa;"> - <span t-field="line.product_id.website_description"/> - <!-- <td colspan="5" + <!-- Row deskripsi --> + <t t-if="line.show_description"> + <tr style="page-break-inside: avoid; padding:14px 20px;"> + <td colspan="5" style=" - padding:10px 12px; - font-size:11px; - background:#fafafa; - border:1px solid #ccc; + border-left:1px solid #ccc; + border-right:1px solid #ccc; + border-bottom:1px solid #ccc; border-top:0; - page-break-inside: avoid; - "> --> - <!-- <div t-raw="line.product_id.website_description"/> --> + padding:14px 20px; + background:#fafafa; + font-size:5px; + line-height:1.4; + "> + <div style="page-break-inside: avoid; white-space: normal;"> + <div t-raw="line.product_id.website_description"/> + </div> </td> </tr> </t> @@ -128,8 +131,6 @@ </tbody> </table> - - <!-- TOTALS --> <table style="margin-top:20px; margin-left:auto; width:40%; font-size:14px;"> <tr> <td><strong>Subtotal</strong></td> |
