refactor: import additional Odoo modules and exceptions for expense sheet handling

This commit is contained in:
Suherdy Yacob 2026-04-06 11:13:25 +07:00
parent b916bedbbc
commit 6dd8d6a387

View File

@ -1,5 +1,7 @@
from odoo import api, fields, models
from odoo import api, fields, models, _, Command
from datetime import timedelta
from odoo.exceptions import UserError, ValidationError
from odoo.tools.misc import clean_context
class HrExpenseSheet(models.Model):
_inherit = 'hr.expense.sheet'