trytond-staff_workplace/__init__.py
Sergio Morillo 696d4ba34a Rename timeclock model.
This commit refs #8776
2019-08-29 10:06:02 +02:00

24 lines
754 B
Python

# 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
def register():
Pool.register(
Calendar,
WorkPlace,
WorkPlaceCalendar,
Employee,
CalendarDay,
module='staff_workplace', type_='model')
Pool.register(
TimeClockPrintStart,
module='staff_workplace', type_='model',
depends=['company_time_clock'])
Pool.register(
TimeClockPrint,
module='staff_workplace', type_='wizard',
depends=['company_time_clock'])