This commit is contained in:
gsinghpal
2026-04-17 17:31:12 -04:00
parent e07002d550
commit b09538b4e2
26 changed files with 1996 additions and 173 deletions

View File

@@ -12,12 +12,16 @@
<t t-call="web.external_layout">
<t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)"/>
<t t-set="is_adp" t-value="doc.x_fc_is_adp_invoice"/>
<!-- Brand colours from the company's document-layout config. -->
<t t-set="_co" t-value="doc.company_id or env.company"/>
<t t-set="primary" t-value="_co.primary_color or '#0066a1'"/>
<t t-set="secondary" t-value="_co.secondary_color or '#90be6d'"/>
<style>
.fc-landscape { font-family: Arial, sans-serif; font-size: 11pt; }
.fc-landscape table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.fc-landscape table.bordered, .fc-landscape table.bordered th, .fc-landscape table.bordered td { border: 1px solid #000; }
.fc-landscape th { background-color: #0066a1; color: white; padding: 8px 10px; font-weight: bold; font-size: 10pt; }
.fc-landscape th { background-color: <t t-out="primary"/>; color: white; padding: 8px 10px; font-weight: bold; font-size: 10pt; }
.fc-landscape td { padding: 6px 8px; vertical-align: top; font-size: 10pt; }
.fc-landscape .text-center { text-align: center; }
.fc-landscape .text-end { text-align: right; }
@@ -26,7 +30,7 @@
.fc-landscape .client-bg { background-color: #fff3e0; }
.fc-landscape .section-row { background-color: #f0f0f0; font-weight: bold; }
.fc-landscape .note-row { font-style: italic; }
.fc-landscape h2 { color: #0066a1; margin: 10px 0; font-size: 18pt; }
.fc-landscape h2 { color: <t t-out="primary"/>; margin: 10px 0; font-size: 18pt; }
.fc-landscape .info-table td { padding: 8px 12px; font-size: 11pt; }
.fc-landscape .info-table th { background-color: #f5f5f5; color: #333; font-size: 10pt; padding: 6px 12px; }
.fc-landscape .totals-table { border: 1px solid #000; }