Merge lp:~camptocamp/account-invoice-report/7.0-sync-tax-column-with-so-20130415 into lp:~account-core-editors/account-invoice-report/7.0

Proposed by Yannick Vaucher @ Camptocamp
Status: Merged
Merged at revision: 30
Proposed branch: lp:~camptocamp/account-invoice-report/7.0-sync-tax-column-with-so-20130415
Merge into: lp:~account-core-editors/account-invoice-report/7.0
Diff against target: 26 lines (+8/-1)
1 file modified
invoice_webkit/report/account_invoice.mako (+8/-1)
To merge this branch: bzr merge lp:~camptocamp/account-invoice-report/7.0-sync-tax-column-with-so-20130415
Reviewer Review Type Date Requested Status
Alexandre Fayolle - camptocamp Approve
Review via email: mp+158918@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'invoice_webkit/report/account_invoice.mako'
2--- invoice_webkit/report/account_invoice.mako 2013-04-10 11:24:57 +0000
3+++ invoice_webkit/report/account_invoice.mako 2013-04-15 13:17:29 +0000
4@@ -247,7 +247,7 @@
5 <td class="amount">${formatLang(line.quantity or 0.0,digits=get_digits(dp='Account'))}</td>
6 <td class="amount">${line.uos_id and line.uos_id.name or ''}</td>
7 <td class="amount">${formatLang(line.price_unit)}</td>
8- <td style="font-style:italic; font-size: 10;text-align:center;" >${ ', '.join([ tax.description or '' for tax in line.invoice_line_tax_id ])}</td>
9+ <td style="font-style:italic; font-size: 10;text-align:center;" >${ ', '.join([ tax.description or tax.name for tax in line.invoice_line_tax_id ])}</td>
10 <td class="amount" width="10%">${line.discount and formatLang(line.discount, digits=get_digits(dp='Account')) or ''} ${line.discount and '%' or ''}</td>
11 <td class="amount" width="13%">${formatLang(line.price_subtotal, digits=get_digits(dp='Account'))} ${inv.currency_id.symbol}</td>
12 </tr>
13@@ -344,6 +344,13 @@
14 %if inv.note2 :
15 <p class="std_text">${inv.note2 | n}</p>
16 %endif
17+ %if inv.fiscal_position :
18+ <br/>
19+ <p class="std_text">
20+ <b>Fiscal Position Remark :</b> <br/>
21+ ${inv.fiscal_position.note | n}
22+ </p>
23+ %endif
24 <p style="page-break-after:always"></p>
25 %endfor
26 </body>

Subscribers

People subscribed via source and target branches