Files
tryton/__init__.py
T
Cédric Krier 03e460297a Add check_erase_company to PartyErase
This allows to check party's properties depending on the company for each
company.

issue7169
review41141002
2018-03-24 00:03:18 +01:00

36 lines
854 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 .company import *
from .cron import *
from . import party
def register():
Pool.register(
Company,
Employee,
UserEmployee,
User,
Sequence,
SequenceStrict,
Date,
CompanyConfigStart,
Cron,
CronCompany,
party.Configuration,
party.PartyConfigurationLang,
party.Party,
party.PartyLang,
Rule,
module='company', type_='model')
Pool.register(
CompanyConfig,
party.PartyReplace,
party.PartyErase,
module='company', type_='wizard')
Pool.register(
LetterReport,
module='company', type_='report')