flectra/addons/account/wizard/account_report_tax.py

13 lines
337 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
2018-01-16 11:34:37 +01:00
from flectra import models
class AccountTaxReport(models.TransientModel):
_inherit = "account.common.report"
_name = 'account.tax.report'
_description = 'Tax Report'
def _print_report(self, data):
return self.env.ref('account.action_report_account_tax').report_action(self, data=data)