Skip to content
Extraits de code Groupes Projets
Sélectionner une révision Git
  • 6ac1ae82ba545f5c418f3fe7557b37db0a8d2030
  • 14.0 par défaut
  • 13.0
  • 12.0 protégée
4 résultats

LICENSE

Blame
  • Ce projet est sous licence GNU Affero General Public License v3.0. En savoir plus
    invoice_table_template.xml 11,39 Kio
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- Copyright 2021- Le Filament (https://le-filament.com)
         License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
    <odoo>
        <template id='operation_invoice_table' name="Operation Invoice">
            <div
                class="table-datatable"
                data-searching="1"
                data-ordering="0"
                data-paging="1"
                data-info="1"
                data-page-length="10"
                data-columndefs="[{'target': [0, 1, 8], 'searchable': 0}]"
            >
                <table class="table mt-4" t-if="invoices or invoices_ext" data-page-length="50">
                    <thead>
                        <tr>
                            <th />
                            <th />
                            <th>Numéro de facture</th>
                            <th>Date</th>
                            <th>Période</th>
                            <th t-out="partner_label" />
                            <th class="text-center">Montant</th>
                            <th class="text-center tooltip-oacc tooltip-oacc-account">
                                Statut <i class="fa fa-info-circle" />
                                <span
                                    class="tooltiptext"
                                    style="text-align: left;"
                                >- En paiement : en attente de réception du paiement par le producteur. Il devra alors manuellement marquer le facture comme payée.<br
                                    />
                                 - Payée : la facture a été marquée comme payée par le producteur.
                              </span>
                            </th>
                            <th />
                        </tr>
                    </thead>
                    <tbody>
                        <tr t-if="invoices" t-foreach="invoices" t-as="invoice">
                            <!-- Download -->
                            <td>
                                <a
                                    t-att-href="invoice.get_portal_url(report_type='pdf', download=True)"
                                    target="_blank"
                                    title="Télécharger"
                                    aria-label="Télécharger"
                                >
                                    <i class="fa fa-download" />
                                </a>
                            </td>
                            <!-- URL -->
                            <td>
                                <a
                                    t-att-href="invoice.get_portal_url()"
                                    target="_blank"
                                    title="Visualiser"
                                    aria-label="Visualiser"
                                >
                                    <i class="fa fa-eye" />
                                </a>
                            </td>
                            <!-- Name -->
                            <td class="fw-bolder">
                                <a
                                    t-att-href="invoice.get_portal_url()"
                                    t-att-title="invoice.name"
                                    target="_blank"
                                >
                                    <t t-esc="invoice.name" t-if="invoice.name != '/'" />
                                    <em