diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 09:34:12 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-15 09:34:12 +0700 |
| commit | 4e2f086ab52e4ce72ddb11fea1de76715b64d4f5 (patch) | |
| tree | 93afd448a96ac60fbe763b6d2e10f7f602560cc4 /indoteknik_custom/report | |
| parent | 9bd2ed9fc3cf783cddf5424474f1ab80aebd8bd0 (diff) | |
push
Diffstat (limited to 'indoteknik_custom/report')
| -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> |
