Files
tryton/__init__.py
T

42 lines
1.0 KiB
Python
Raw Normal View History

2014-12-02 12:55:12 +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-02-19 14:58:52 +01:00
2012-09-24 22:17:50 +02:00
from trytond.pool import Pool
from . import company
from . import ir
2018-03-24 00:03:18 +01:00
from . import party
from . import res
from .company import CompanyReport
__all__ = ['register', 'CompanyReport']
2012-09-24 22:17:50 +02:00
def register():
Pool.register(
company.Company,
company.Employee,
company.CompanyConfigStart,
res.UserEmployee,
res.User,
ir.Sequence,
ir.SequenceStrict,
ir.Date,
ir.Rule,
ir.Cron,
ir.CronCompany,
2020-09-17 17:18:02 +02:00
ir.EmailTemplate,
2018-03-24 00:03:18 +01:00
party.Configuration,
2020-03-01 12:33:52 +01:00
party.ConfigurationLang,
2018-03-24 00:03:18 +01:00
party.Party,
party.PartyLang,
party.ContactMechanism,
2012-09-24 22:17:50 +02:00
module='company', type_='model')
Pool.register(
company.CompanyConfig,
2020-03-01 12:33:52 +01:00
party.Replace,
party.Erase,
2012-09-24 22:17:50 +02:00
module='company', type_='wizard')
Pool.register(
party.LetterReport,
2012-09-24 22:17:50 +02:00
module='company', type_='report')