← Back to team overview

clearcorp team mailing list archive

lp:~dr.clearcorp/openerp-ccorp-addons/6.1-partner_ledger_report into lp:openerp-ccorp-addons/6.1

 

Diana Rodríguez Martínez has proposed merging lp:~dr.clearcorp/openerp-ccorp-addons/6.1-partner_ledger_report into lp:openerp-ccorp-addons/6.1.

Requested reviews:
  CLEARCORP drivers (clearcorp-drivers)

For more details, see:
https://code.launchpad.net/~dr.clearcorp/openerp-ccorp-addons/6.1-partner_ledger_report/+merge/163986

[FIX] Fix print conciliation name in mako
-- 
https://code.launchpad.net/~dr.clearcorp/openerp-ccorp-addons/6.1-partner_ledger_report/+merge/163986
Your team CLEARCORP development team is subscribed to branch lp:openerp-ccorp-addons/6.1.
=== modified file 'account_general_ledger_report/report/account_general_ledger_report.mako'
--- account_general_ledger_report/report/account_general_ledger_report.mako	2013-05-13 22:20:43 +0000
+++ account_general_ledger_report/report/account_general_ledger_report.mako	2013-05-15 15:51:27 +0000
@@ -111,9 +111,10 @@
                             <div class="table-cell" style="width: 100px">${line.name or ''}</div> 
                             %if len(account_conciliation) > 0:
                                 <div class="table-cell" style="width: 70px">
-                                    %for conciliation in account_conciliation[account.id][line.id]:
-                                        ${conciliation or ''}
-                                    %endfor
+                                    %if account.id in account_conciliation.keys() and line.id in account_conciliation.keys():
+                                        conciliation = account_conciliation[account.id][line.id]
+                                    %endif
+                                 ${conciliation or ''}   
                                  </div>
                             %endif 
                             <div class="table-cell amount" style="width: 80px">${formatLang(line.debit)}</div>


Follow ups