account-closing/account_cutoff_accrual_base/models/account.py
2021-03-23 20:28:14 +01:00

21 lines
712 B
Python

###############################################################################
# For copyright and license notices, see __manifest__.py file in root directory
###############################################################################
from flectra import fields, models
class AccountTax(models.Model):
_inherit = 'account.tax'
account_accrued_revenue_id = fields.Many2one(
comodel_name='account.account',
string='Accrued Revenue Tax Account',
domain=[('deprecated', '=', False)]
)
account_accrued_expense_id = fields.Many2one(
comodel_name='account.account',
string='Accrued Expense Tax Account',
domain=[('deprecated', '=', False)]
)