diff options
| -rw-r--r-- | indoteknik_custom/report/purchase_report.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/indoteknik_custom/report/purchase_report.xml b/indoteknik_custom/report/purchase_report.xml index 5de4a67c..93a5eabf 100644 --- a/indoteknik_custom/report/purchase_report.xml +++ b/indoteknik_custom/report/purchase_report.xml @@ -116,10 +116,21 @@ background:#fafafa; border:1px solid #ccc; border-top:0; - margin-top:6px; page-break-inside: avoid; "> - <div style="white-space: normal; line-height:1.5; margin-top:4px;"> + <div style=" + white-space: normal; + line-height:1.5; + margin-top:4px; + page-break-inside: avoid; + page-break-after: auto; + orphans: 3; + widows: 3; + "> + <!-- Paksa pindah halaman kalau terlalu panjang --> + <t t-if="len(line.product_id.website_description) > 1200"> + <div style="page-break-before: always;"></div> + </t> <div t-raw="line.product_id.website_description"/> </div> </td> |
