mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
10 lines
410 B
Python
10 lines
410 B
Python
from odoo import api, fields, models
|
|
|
|
|
|
class AccountAnalyticLine(models.Model):
|
|
_inherit = 'account.analytic.line'
|
|
|
|
work_type_id = fields.Many2one('hr.work.entry.type', string='Work Type',
|
|
default=lambda self: self.env.ref('hr_timesheet_work_entry.work_input_timesheet',
|
|
raise_if_not_found=False))
|