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
|
2019-12-05 22:37:16 +01:00
|
|
|
from . import company
|
|
|
|
|
from . import ir
|
2018-03-24 00:03:18 +01:00
|
|
|
from . import party
|
2019-12-05 22:37:16 +01:00
|
|
|
from . import res
|
|
|
|
|
from .company import CompanyReport
|
|
|
|
|
|
|
|
|
|
__all__ = ['register', 'CompanyReport']
|
2012-09-24 22:17:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register():
|
|
|
|
|
Pool.register(
|
2019-12-05 22:37:16 +01:00
|
|
|
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,
|
2018-12-13 18:47:37 +01:00
|
|
|
party.ContactMechanism,
|
2012-09-24 22:17:50 +02:00
|
|
|
module='company', type_='model')
|
|
|
|
|
Pool.register(
|
2019-12-05 22:37:16 +01:00
|
|
|
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(
|
2019-12-05 22:37:16 +01:00
|
|
|
party.LetterReport,
|
2012-09-24 22:17:50 +02:00
|
|
|
module='company', type_='report')
|