You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
386 B
Python
14 lines
386 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import models
|
|
|
|
|
|
class AccountTaxReportActivity(models.Model):
|
|
_inherit = "mail.activity"
|
|
|
|
def action_open_tax_report(self):
|
|
self.ensure_one()
|
|
move = self.env['account.move'].browse(self.res_id)
|
|
return move.action_open_tax_report()
|