[FIX]account_financial_report_webkit_xls: pep8 + travis
parent
7b5e2b0beb
commit
08443d4cee
|
@ -11,7 +11,7 @@ virtualenv:
|
||||||
system_site_packages: true
|
system_site_packages: true
|
||||||
|
|
||||||
install:
|
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
|
- 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 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
|
- sudo dpkg -i /tmp/wkhtmltox-0.12.1_linux-precise-amd64.deb
|
||||||
|
|
|
@ -214,7 +214,8 @@ class partner_ledger_xls(report_xls):
|
||||||
|
|
||||||
cnt = 0
|
cnt = 0
|
||||||
for account in objects:
|
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:
|
if not account.partners_order:
|
||||||
continue
|
continue
|
||||||
cnt += 1
|
cnt += 1
|
||||||
|
|
Loading…
Reference in New Issue