account-closing/account_cutoff_accrual_base/models/account.py

21 lines
712 B
Python
Raw Normal View History

2021-03-23 19:28:14 +00:00
###############################################################################
# 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)]
)