Browse Source

[FIX] Pep8

pull/19/head
Pablo 10 years ago
parent
commit
5200c50436
  1. 6
      account_financial_report_webkit/migrations/7.0.1.0.2/post-migration.py

6
account_financial_report_webkit/migrations/7.0.1.0.2/post-migration.py

@ -28,7 +28,8 @@ def migrate(cr, version):
" (SELECT date from account_move_line"
" WHERE reconcile_id = acm.reconcile_id"
" ORDER BY date DESC LIMIT 1)"
" WHERE last_rec_date IS NULL AND reconcile_id IS NOT NULL;")
" WHERE last_rec_date IS NULL"
" AND reconcile_id IS NOT NULL;")
cr.execute("UPDATE account_move_line as acm "
" SET last_rec_date ="
@ -36,4 +37,5 @@ def migrate(cr, version):
" WHERE reconcile_partial_id"
" = acm.reconcile_partial_id"
" ORDER BY date DESC LIMIT 1)"
" WHERE last_rec_date IS NULL AND reconcile_partial_id IS NOT NULL;")
" WHERE last_rec_date IS NULL"
" AND reconcile_partial_id IS NOT NULL;")
Loading…
Cancel
Save