trytond-party_company/__init__.py

40 lines
1.1 KiB
Python
Raw Normal View History

2017-05-25 15:59:45 +02:00
# 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
2017-05-26 10:21:27 +02:00
from . import activity
2017-05-26 12:54:36 +02:00
from . import bank
2018-07-11 18:33:41 +02:00
from . import employee
2017-05-26 09:59:23 +02:00
from . import carrier
from . import galatea
2017-05-25 15:59:45 +02:00
from . import party
from . import user
2017-05-25 15:59:45 +02:00
def register():
Pool.register(
2018-07-11 18:33:41 +02:00
employee.Employee,
2018-05-09 10:30:43 +02:00
party.PartyCompany,
2017-05-25 15:59:45 +02:00
party.Party,
party.Address,
party.PartyIdentifier,
party.ContactMechanism,
user.User,
2018-05-08 17:04:21 +02:00
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')
Pool.register(
galatea.GalateaUser,
depends=['galatea'],
module='party_company', type_='model')