Merge lp:~josepato-o/bias-trunk/bias_trunk_v61_suppress_rate into lp:~openbias/bias-trunk/bias_trunk_v61

Proposed by josepato
Status: Merged
Merged at revision: 383
Proposed branch: lp:~josepato-o/bias-trunk/bias_trunk_v61_suppress_rate
Merge into: lp:~openbias/bias-trunk/bias_trunk_v61
Diff against target: 29 lines (+4/-4)
1 file modified
bias_electronic_invoice_v6/report/e_invoice.rml (+4/-4)
To merge this branch: bzr merge lp:~josepato-o/bias-trunk/bias_trunk_v61_suppress_rate
Reviewer Review Type Date Requested Status
OpenBias Approve
Review via email: mp+121725@code.launchpad.net

Description of the change

Se agrego el suppress rate que ya estaba

To post a comment you must log in.
Revision history for this message
OpenBias (openbias) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bias_electronic_invoice_v6/report/e_invoice.rml'
2--- bias_electronic_invoice_v6/report/e_invoice.rml 2012-08-27 21:43:30 +0000
3+++ bias_electronic_invoice_v6/report/e_invoice.rml 2012-08-28 23:35:24 +0000
4@@ -571,10 +571,10 @@
5 <para style="P43">UoM</para>
6 </td>
7 <td>
8- <para style="P52">PRECIO LISTA</para>
9+ <para style="P52">[[ convert_value('PRECIO LISTA' , {'suppress_rate':o.partner_id.property_product_pricelist.suppress_rate}) ]]</para>
10 </td>
11 <td>
12- <para style="P52">% DIST.</para>
13+ <para style="P52">[[ convert_value('% DIST.' , {'suppress_rate':o.partner_id.property_product_pricelist.suppress_rate}) ]]</para>
14 </td>
15 <td>
16 <para style="P56">VALOR UNIT</para>
17@@ -607,10 +607,10 @@
18 <para style="P63">[[ l['uom'] or '' ]]</para>
19 </td>
20 <td>
21- <para style="P63">[[ l['product_list_price'] ]]</para>
22+ <para style="P63">[[ convert_value(moneyfmt( '%.2f'% l['product_list_price']),{'suppress_rate':o.partner_id.property_product_pricelist.suppress_rate}) ]] </para>
23 </td>
24 <td>
25- <para style="P63">[[ l['product_discount_rate'] ]]</para>
26+ <para style="P63">[[ convert_value(moneyfmt( '%.2f'% l['product_discount_rate']),{'suppress_rate':o.partner_id.property_product_pricelist.suppress_rate}) ]]</para>
27 </td>
28 <td>
29 <para style="P27">[[ moneyfmt( '%.2f' % l['price_unit']) ]]</para>

Subscribers

People subscribed via source and target branches