Files
tryton/__init__.py
T

27 lines
664 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
2011-12-14 17:04:21 +01:00
from .work import *
from .line import *
2016-10-02 00:40:13 +02:00
from .user import *
from . import routes
__all__ = ['register', 'routes']
2012-09-24 22:18:28 +02:00
def register():
Pool.register(
Work,
WorkContext,
2012-09-24 22:18:28 +02:00
Line,
EnterLinesStart,
HoursEmployee,
HoursEmployeeContext,
2012-09-24 22:18:28 +02:00
HoursEmployeeWeekly,
HoursEmployeeMonthly,
2016-10-02 00:40:13 +02:00
UserApplication,
2012-09-24 22:18:28 +02:00
module='timesheet', type_='model')
Pool.register(
EnterLines,
module='timesheet', type_='wizard')