Files
tryton/modules/timesheet/__init__.py
T

26 lines
693 B
Python
Raw Normal View History

2014-12-02 12:56:21 +01:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
2012-09-24 22:18:28 +02:00
from trytond.pool import Pool
2016-10-02 00:40:13 +02:00
from . import ir, line, routes, user, work
2016-10-02 00:40:13 +02:00
__all__ = ['register', 'routes']
2012-09-24 22:18:28 +02:00
def register():
Pool.register(
ir.Rule,
2020-03-01 12:33:54 +01:00
work.Work,
work.WorkContext,
line.Line,
line.EnterLinesStart,
line.HoursEmployee,
line.HoursEmployeeContext,
line.HoursEmployeeWeekly,
line.HoursEmployeeMonthly,
user.UserApplication,
2012-09-24 22:18:28 +02:00
module='timesheet', type_='model')
Pool.register(
2020-03-01 12:33:54 +01:00
line.EnterLines,
2012-09-24 22:18:28 +02:00
module='timesheet', type_='wizard')