Browse Source

lint SQL

pull/367/head
Leonardo Pistone 9 years ago
committed by Jordi Ballester
parent
commit
9a7e6d43ec
  1. 6
      account_financial_report_qweb/wizard/ledger.sql

6
account_financial_report_qweb/wizard/ledger.sql

@ -4,7 +4,7 @@ WITH view_q as (
acc.id AS account_id, acc.id AS account_id,
ml.debit, ml.debit,
ml.credit, ml.credit,
ml.name as name,
ml.name AS name,
ml.ref, ml.ref,
ml.journal_id, ml.journal_id,
ml.partner_id, ml.partner_id,
@ -44,11 +44,11 @@ SELECT
account_id, account_id,
partner_id, partner_id,
ref, ref,
' TODO label ' as label,
' TODO label ' AS label,
--counterpart --counterpart
debit, debit,
credit, credit,
cumul_balance, cumul_balance,
%(wizard_id)s as wizard_id
%(wizard_id)s AS wizard_id
FROM view_q FROM view_q
WHERE date BETWEEN %(date_from)s AND %(date_to)s; WHERE date BETWEEN %(date_from)s AND %(date_to)s;
Loading…
Cancel
Save