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
|
2017-05-11 14:36:39 +02:00
|
|
|
from .workplace import (WorkPlace, Employee, Calendar, CalendarDay,
|
|
|
|
WorkPlaceCalendar)
|
2019-08-29 10:06:02 +02:00
|
|
|
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,
|
2017-05-11 14:36:39 +02:00
|
|
|
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')
|
2017-03-02 18:21:31 +01:00
|
|
|
Pool.register(
|
2019-08-29 10:06:02 +02:00
|
|
|
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'])
|