2014-12-02 12:55:41 +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.
|
2008-06-03 17:46:57 +02:00
|
|
|
|
2012-09-24 22:18:06 +02:00
|
|
|
from trytond.pool import Pool
|
2021-12-11 17:58:43 +01:00
|
|
|
|
|
|
|
|
from . import ir, party, timesheet, work
|
2012-09-24 22:18:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2020-01-28 11:45:54 +01:00
|
|
|
# Before Work because status default value is read from WorkStatus
|
|
|
|
|
work.WorkStatus,
|
2018-10-25 21:01:10 +02:00
|
|
|
work.Work,
|
|
|
|
|
timesheet.Line,
|
|
|
|
|
timesheet.Work,
|
2020-01-28 11:45:54 +01:00
|
|
|
ir.ActWindow,
|
2012-09-24 22:18:06 +02:00
|
|
|
module='project', type_='model')
|
2016-10-11 18:16:47 +02:00
|
|
|
Pool.register(
|
2020-03-01 12:33:53 +01:00
|
|
|
party.Replace,
|
|
|
|
|
party.Erase,
|
2016-10-11 18:16:47 +02:00
|
|
|
module='project', type_='wizard')
|