[FIX]account_financial_report_webkit_xls: pep8 + travis

pull/23/head
Anthony Muschang 2014-10-20 16:23:03 +02:00
parent 7b5e2b0beb
commit 08443d4cee
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ virtualenv:
system_site_packages: true
install:
- git clone https://github.com/OCA/reporting-engine ${HOME}/reporting-engine -b ${VERSION}
- git clone https://github.com/luc-demeyer/reporting-engine.git ${HOME}/reporting-engine -b ${VERSION}
- git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
- sudo wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.1/wkhtmltox-0.12.1_linux-precise-amd64.deb -P /tmp/
- sudo dpkg -i /tmp/wkhtmltox-0.12.1_linux-precise-amd64.deb

View File

@ -214,7 +214,8 @@ class partner_ledger_xls(report_xls):
cnt = 0
for account in objects:
if _p['ledger_lines'].get(account.id, False) or _p['init_balance'].get(account.id, False):
if _p['ledger_lines'].get(account.id, False) or \
_p['init_balance'].get(account.id, False):
if not account.partners_order:
continue
cnt += 1