1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/account_reports/models/mail_activity.py
2024-12-10 09:04:09 +07:00

14 lines
373 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()