[TMP] Clean typo

This commit is contained in:
michel 2018-02-27 11:54:33 +01:00
parent f02a2eb912
commit 0dc0ab06e4
2 changed files with 42 additions and 49 deletions

View File

@ -44,15 +44,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<tfoot> <tfoot>
<tr> <tr>
<td><td><td><td><td><td><td> <td><td><td><td><td><td><td>
<td> <td>
<strong> <strong>
TOTAL TOTAL
</strong> </strong>
</td> </td>
<td> <td>
<t t-esc="price_sum" <t t-esc="price_sum"
t-esc-options="{'widget': 'monetary', t-esc-options="{'widget': 'monetary',
'display_currency': o.currency_id}"/> 'display_currency': o.currency_id}"/>
</td> </td>
</td></td></td></td></td></td></td> </td></td></td></td></td></td></td>
</tr> </tr>
@ -63,7 +63,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<strong>Invoices</strong> <strong>Invoices</strong>
<br></br>
<tr> <tr>
<th>Activity</th> <th>Activity</th>
<th>Date</th> <th>Date</th>
@ -93,32 +92,29 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</tbody> </tbody>
</table> </table>
<table class="table table-striped" > <table class="table table-striped" >
<thead> <thead>
<strong>Payments</strong> <strong>Payments</strong>
<br></br>
<tr> <tr>
<th>Invoice number</th> <th>Invoice number</th>
<th>State</th> <th>State</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<t t-foreach="docs" t-as="o"> <t t-foreach="docs" t-as="o">
<tr t-foreach="o.activity_registration_ids" t-as="l"> <tr t-foreach="o.activity_registration_ids" t-as="l">
<tr> <td class="col-xs-6">
<td class="col-xs-6"> <spam t-field="l.invoice_id.number" />
<spam t-field="l.invoice_id.number" /> </td>
</td> <td class="col-xs-6">
<td class="col-xs-6"> <p t-foreach="l.invoice_id.payment_ids" t-as = "i" >
<p t-foreach="l.invoice_id.payment_ids" t-as = "i" > <t t-if="i.state not in ['draft']">
<t t-if="i.state not in ['draft']">
<span t-esc="i.state" /> <span t-esc="i.state" />
</t> </t>
</p> </p>
</td> </td>
</tr> </tr>
</tr> </t>
</t> </tbody>
</tbody>
</table> </table>
</xpath> </xpath>
</template> </template>

View File

@ -56,24 +56,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
t-options='{"widget": "contact", "fields": t-options='{"widget": "contact", "fields":
["address", "name", "street", "street2", "phone", "fax"], ["address", "name", "street", "street2", "phone", "fax"],
"no_marker": True, "phone_icons": True}'/> "no_marker": True, "phone_icons": True}'/>
<br></br>
</div> </div>
<div class="oe_structure"/> <div class="oe_structure"/>
<div class="col-xs-4">
<strong>Season :</strong>
<span t-field="o.season_ids[0].name" />
</div>
<div class="col-xs-4"> <div class="col-xs-4">
<strong>Date :</strong> <strong>Season :</strong>
<span t-field="o.season_ids[0].date_start" /> <span t-field="o.season_ids[0].name" />
- </div>
<span t-field="o.season_ids[0].date_end" /> <div class="col-xs-4">
<br></br> <strong>Date :</strong>
<br></br> <span t-field="o.season_ids[0].date_start" />
</div> -
<span t-field="o.season_ids[0].date_end" />
<br></br>
<br></br>
</div>
</div> </div>
</t> </t>
<table id="table_activity_ref" class="table table-striped"> <table id="table_activity_ref" class="table table-striped">
<thead> <thead>
<strong>Activity</strong> <strong>Activity</strong>
@ -122,5 +120,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</t> </t>
</template> </template>
</odoo> </odoo>