diff options
Diffstat (limited to 'addons/hr_timesheet/models/uom.py')
| -rw-r--r-- | addons/hr_timesheet/models/uom.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/hr_timesheet/models/uom.py b/addons/hr_timesheet/models/uom.py new file mode 100644 index 00000000..885fc9de --- /dev/null +++ b/addons/hr_timesheet/models/uom.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo import fields, models + + +class Uom(models.Model): + _inherit = 'uom.uom' + + timesheet_widget = fields.Char("Widget", help="Widget used in the webclient when this unit is the one used to encode timesheets.") |
