Impacted versions:
- 8.0

Steps to reproduce:
1. open Accounting / Configuration / Taxes / Tax Codes
2. open any Tax Code
3. press Print / Account Tax

Current behavior:

QWebException: "chart_tax_id" while evaluating
"get_lines(data['form']['based_on'], data['form']['company_id'], data['form']['chart_tax_id'])"
Details: http://paste.ubuntu.com/12689915/

Expected behavior:
- Tax Code report

Test on:
- different 8.0 instances
- runbot: http://105817-8-0-6b6d73.runbot8.odoo.com/web

addons/account/report/report_vat.py
GROUP BY account.id,account.name,account.code', ('draft', tax_code_id,
                        company_id, periods_ids, 'paid',))
        else:
            self.cr.execute('SELECT SUM(line.tax_amount) AS tax_amount, \
                        SUM(line.debit) AS debit, \
                        SUM(line.credit) AS credit, \
                        COUNT(*) AS count, \
                        account.id AS account_id, \
                        account.name AS name,  \
                        account.code AS code \
                    FROM account_move_line AS line, \
                        account_account AS account, \
                        account_move as move \
                    WHERE line.state <> %s \
                        AND line.move_id = move.id \
                        AND line.tax_code_id = %s  \
                        AND line.account_id = account.id \
                        AND account.company_id = %s \
                        AND line.period_id IN %s\
                        AND account.active \
                        AND move.state <> %s \
                    GROUP BY account.id,account.name,account.code', ('draft', tax_code_id,
                        company_id, periods_ids, 'draft',))
        res = self.cr.dictfetchall()
        i = 0
        while i<len(res):
            res[i]['account'] = obj_account.browse(self.cr, self.uid, res[i]['account_id'], context=context)
            i+=1
        return res
    def _get_codes(self, based_on, company_id, parent=False, level=0, period_list=None, context=None):