36 lines
968 B
Python
36 lines
968 B
Python
# This file is part party_company module for 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 activity
|
|
from . import bank
|
|
from . import cron
|
|
from . import employee
|
|
from . import carrier
|
|
from . import party
|
|
|
|
|
|
def register():
|
|
Pool.register(
|
|
cron.Cron,
|
|
employee.Employee,
|
|
party.PartyCompany,
|
|
party.Party,
|
|
party.Address,
|
|
party.PartyIdentifier,
|
|
party.ContactMechanism,
|
|
module='party_company', type_='model')
|
|
Pool.register(
|
|
activity.Activity,
|
|
depends=['activity'],
|
|
module='party_company', type_='model')
|
|
Pool.register(
|
|
bank.Bank,
|
|
bank.BankAccount,
|
|
depends=['bank'],
|
|
module='party_company', type_='model')
|
|
Pool.register(
|
|
carrier.Carrier,
|
|
depends=['carrier'],
|
|
module='party_company', type_='model')
|