Browse Source

change font

pull/1/head
Thierry BOULOGNE 2 months ago
parent
commit
4067af139b
  1. BIN
      __pycache__/__init__.cpython-38.pyc
  2. BIN
      models/__pycache__/__init__.cpython-38.pyc
  3. BIN
      models/__pycache__/account_move.cpython-38.pyc
  4. BIN
      models/__pycache__/res_bank.cpython-38.pyc
  5. BIN
      models/__pycache__/res_company.cpython-38.pyc
  6. BIN
      models/__pycache__/sale_order.cpython-38.pyc
  7. 22
      views/report_invoice_template.xml
  8. 23
      views/report_sale_template.xml

BIN
__pycache__/__init__.cpython-38.pyc

Binary file not shown.

BIN
models/__pycache__/__init__.cpython-38.pyc

Binary file not shown.

BIN
models/__pycache__/account_move.cpython-38.pyc

Binary file not shown.

BIN
models/__pycache__/res_bank.cpython-38.pyc

Binary file not shown.

BIN
models/__pycache__/res_company.cpython-38.pyc

Binary file not shown.

BIN
models/__pycache__/sale_order.cpython-38.pyc

Binary file not shown.

22
views/report_invoice_template.xml

@ -258,9 +258,10 @@
</t>
</template>
<template id="report_invoice_document_custom">
<template id="report_invoice_document_custom">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"/>
<t t-call="facile_data_account.external_layout">
<div class="page" style="font-family: BitstreamVeraSansRoman;color: rgb(106, 91, 101)">
<div class="page" style="font-family: 'Open Sans';color: rgb(106, 91, 101)">
<div class="row mt8">
<div class="offset-6 col-6">
<strong class="font-weight-bold">
@ -273,15 +274,16 @@
</div>
<div class="row mt64">
<div class="col-6">
<h1 style="color: black;">
<span t-if="o.move_type == 'out_invoice'">FACTURE</span>
<h2 style="color: black;">
<span t-if="o.move_type == 'out_invoice'" style="font-weight: bold">FACTURE</span>
<span t-if="o.move_type == 'out_refund'">AVOIR</span>
<span t-if="o.move_type == 'in_refund'">AVOIR FOURNISSEUR</span>
<span t-if="o.move_type == 'in_invoice'">FACTURE FOURNISSEUR</span>
</h1>
N° :
<span t-field="o.name"/>
<br/>
</h2>
<br/>
N°:
<span t-field="o.name"/>
<br/>
Date :
<span t-field="o.invoice_date"/>
<br/>
@ -315,7 +317,7 @@
<table class="table table-sm mt8" name="invoice_line_table">
<thead>
<tr style="background-color: rgb(42, 48, 119); color: white;">
<th name="th_description" class="text-left font-weight-bold">
<th name="th_description" width="40%" class="text-left font-weight-bold">
<span>Libellé</span>
</th>
<th name="th_quantity" class="text-right font-weight-bold">
@ -352,7 +354,7 @@
<tr t-att-class="'bg-200 font-weight-bold o_line_section' if line.display_type == 'line_section' else 'font-Bitstream o_line_note' if line.display_type == 'line_note' else 'font-Bitstream'">
<t t-if="not line.display_type" name="account_invoice_line_accountable">
<td name="account_invoice_line_name">
<td name="account_invoice_line_name" width="40%">
<span t-field="line.name" t-options="{'widget': 'text'}"/>
</td>
<td class="text-right">

23
views/report_sale_template.xml

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<template id="report_saleorder_facil_document">
<t t-call="facile_data_account.external_layout">
<template id="report_saleorder_facil_document">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"/>
<t t-call="facile_data_account.external_layout">
<t t-set="o" t-value="o.with_context(lang=o.partner_id.lang)"/>
<div class="page" style="font-family: BitstreamVeraSansRoman;color: rgb(106, 91, 101)">
<div class="page" style="font-family: 'Open Sans';color: rgb(106, 91, 101)">
<div class="row mt8">
<div class="offset-6 col-6">
<strong class="font-weight-bold">
@ -18,15 +19,13 @@
</div>
<div class="row mt64">
<div class="col-6">
<h1 style="color: black;">
<h2 style="font-weight: bold; color: black;">
<span t-if="o.state not in ['draft','sent']">Bon de commande</span>
<span t-if="o.state in ['draft','sent']">Devis #</span>
</h1>
N° :
<span t-field="o.name"/>
<span t-if="o.state in ['draft','sent']">Devis <span t-field="o.name"/></span>
</h2>
<br/>
Date :
<span t-field="o.date_order"/>
<span t-esc="o.date_order.strftime('%d %b %Y')"/>
<br/>
N° client :
<span t-field="o.partner_id.ref"/>
@ -59,7 +58,7 @@
<!-- In case we want to repeat the header, remove "display: table-row-group" -->
<thead>
<tr style="background-color: rgb(42, 48, 119); color: white;">
<th name="th_description" class="text-left font-weight-bold">Libellé</th>
<th name="th_description" width="50%" class="text-left font-weight-bold">Libellé</th>
<th name="th_quantity" class="text-right font-weight-bold">Qté</th>
<th name="th_priceunit" class="text-right font-weight-bold">PU HT</th>
<th name="th_discount" class="text-right font-weight-bold">
@ -84,7 +83,7 @@
<tr t-att-class="'bg-200 font-weight-bold o_line_section' if line.display_type == 'line_section' else 'font-Bitstream o_line_note' if line.display_type == 'line_note' else 'font-Bitstream'">
<t t-if="not line.display_type">
<td name="td_name">
<td name="td_name" width="40%">
<span t-field="line.name"/>
</td>
<td name="td_quantity" class="text-right">
@ -166,4 +165,4 @@
<field name="paperformat_id" ref="facile_data_account.paperformat_facil_data"/>
</record>
</data>
</odoo>
</odoo>

Loading…
Cancel
Save