Files
tryton/__init__.py
T
Cédric Krier 573cabd6b1 Fill default timesheet work from project relate
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
2018-10-25 21:01:10 +02:00

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')