trytond-staff_workplace/__init__.py

25 lines
754 B
Python
Raw Permalink Normal View History

2016-05-04 10:10:53 +02:00
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.pool import Pool
from .workplace import (WorkPlace, Employee, Calendar, CalendarDay,
WorkPlaceCalendar)
from .time_clock import TimeClockPrintStart, TimeClockPrint
2016-05-04 10:10:53 +02:00
def register():
Pool.register(
2016-05-19 09:15:31 +02:00
Calendar,
2016-05-04 10:10:53 +02:00
WorkPlace,
WorkPlaceCalendar,
2016-05-04 10:10:53 +02:00
Employee,
2016-05-19 00:18:58 +02:00
CalendarDay,
2016-05-04 10:10:53 +02:00
module='staff_workplace', type_='model')
Pool.register(
TimeClockPrintStart,
module='staff_workplace', type_='model',
depends=['company_time_clock'])
Pool.register(
TimeClockPrint,
2018-07-23 11:33:09 +02:00
module='staff_workplace', type_='wizard',
depends=['company_time_clock'])