[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
<template id="report_payment">
|
|
|
|
<t t-call="report.html_container">
|
2014-04-29 12:24:00 +00:00
|
|
|
<t t-foreach="docs" t-as="o">
|
|
|
|
<t t-call="report.internal_layout">
|
|
|
|
<div class="page">
|
|
|
|
<h2>Today's Payments</h2>
|
|
|
|
<div class="row mt32 mb32">
|
|
|
|
<div class="col-xs-3">
|
|
|
|
<strong>Company</strong>:
|
|
|
|
<br/>
|
|
|
|
<span t-field="res_company.name"/>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-3">
|
|
|
|
<strong>Print date</strong>:
|
|
|
|
<br/>
|
|
|
|
<t t-esc="formatLang(time.strftime('%Y-%m-%d'), date='True')"/>
|
|
|
|
</div>
|
[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
</div>
|
2014-04-29 12:24:00 +00:00
|
|
|
<t t-set="pos_payment" t-value="pos_payment(o)"/>
|
|
|
|
<table class="table table-condensed" t-if="pos_payment">
|
[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<strong>Product</strong>
|
|
|
|
</td>
|
|
|
|
<td class="text-center">
|
|
|
|
<strong>Qty</strong>
|
|
|
|
</td>
|
|
|
|
<td class="text-center">
|
|
|
|
<strong>Disc.(%)</strong>
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<strong>Unit Price</strong>
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<strong>Total</strong>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2014-04-29 12:24:00 +00:00
|
|
|
<tr t-foreach="pos_payment" t-as="line_ids">
|
[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
<td>
|
|
|
|
<t t-if="line_ids['code']">
|
|
|
|
<span t-esc="line_ids['code']"/>
|
|
|
|
</t>
|
|
|
|
<t t-if="line_ids['name']">
|
|
|
|
<span t-esc="line_ids['name']"/>
|
|
|
|
</t>
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<span t-esc="formatLang(line_ids['qty'])"/>
|
|
|
|
<t t-if="line_ids['uom']">
|
|
|
|
<span t-esc="line_ids['uom']"/>
|
|
|
|
</t>
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<span t-esc="formatLang(line_ids['discount'])"/>
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<span t-esc="formatLang(line_ids['price_unit'])"/>
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<span t-esc="formatLang(line_ids['total'], currency_obj=res_company.currency_id)"/>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<div class="row" t-if="pos_payment_total(o)">
|
|
|
|
<div class="col-xs-4 pull-right">
|
|
|
|
<table class="table table-condensed">
|
2014-04-14 12:55:22 +00:00
|
|
|
<tr class="border-black">
|
[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
<td>
|
2014-04-14 12:55:22 +00:00
|
|
|
<strong>Net Total</strong>
|
[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
</td>
|
2014-04-14 12:55:22 +00:00
|
|
|
<td class="text-right">
|
|
|
|
<span t-esc="formatLang(pos_payment_total(o), currency_obj=res_company.currency_id)"/>
|
[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-04-29 12:24:00 +00:00
|
|
|
</div>
|
|
|
|
</t>
|
[REM] removed details_summary, sales_user, sales_user_today, payment_user reports, wizards and rml
[REM] dead code: pos_box_entries.py/xml, pos_box_out.py/xml, pos_return_view.py/xml
[ADD] lines, invoice, cashbox of the day, payment, receipt, users product reports converted to QWeb. Added YML tests for the bank statement reports.
[FIX] closed cashbox of the day sql using old fields in its queries, yml test not correctly generating an invoice from a pos order
bzr revid: sle@openerp.com-20140414104954-xj10wi640tyr3ufe
2014-04-14 10:49:54 +00:00
|
|
|
</t>
|
|
|
|
</t>
|
|
|
|
</template>
|
|
|
|
</data>
|
|
|
|
</openerp>
|