We set in the context a specific key to search for project work in default_work. And the relate fills this context key. issue7777 review48641002
20 lines
498 B
Python
20 lines
498 B
Python
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
|
# this repository contains the full copyright notices and license terms.
|
|
|
|
from trytond.pool import Pool
|
|
from . import work
|
|
from . import timesheet
|
|
from . import party
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
work.Work,
|
|
timesheet.Line,
|
|
timesheet.Work,
|
|
module='project', type_='model')
|
|
Pool.register(
|
|
party.PartyReplace,
|
|
party.PartyErase,
|
|
module='project', type_='wizard')
|