28 lines
664 B
Python
28 lines
664 B
Python
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
# this repository contains the full copyright notices and license terms.
|
|
from trytond.pool import Pool
|
|
|
|
from .work import *
|
|
from .line import *
|
|
from .user import *
|
|
from . import routes
|
|
|
|
__all__ = ['register', 'routes']
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
Work,
|
|
WorkContext,
|
|
Line,
|
|
EnterLinesStart,
|
|
HoursEmployee,
|
|
HoursEmployeeContext,
|
|
HoursEmployeeWeekly,
|
|
HoursEmployeeMonthly,
|
|
UserApplication,
|
|
module='timesheet', type_='model')
|
|
Pool.register(
|
|
EnterLines,
|
|
module='timesheet', type_='wizard')
|