mirror of
https://github.com/NaN-tic/trytond-party_company.git
synced 2023-12-14 03:32:57 +01:00
Register PartyCompany before party.Party
This commit is contained in:
parent
001c9da865
commit
aa4c8a4c7d
|
@ -15,10 +15,10 @@ def register():
|
|||
bank.Bank,
|
||||
bank.BankAccount,
|
||||
carrier.Carrier,
|
||||
party.PartyCompany, # register before party.Party
|
||||
party.Party,
|
||||
party.Address,
|
||||
party.PartyIdentifier,
|
||||
party.ContactMechanism,
|
||||
party.PartyCompany,
|
||||
user.User,
|
||||
module='party_company', type_='model')
|
||||
|
|
4
party.py
4
party.py
|
@ -8,8 +8,8 @@ from trytond.transaction import Transaction
|
|||
from trytond.pyson import Eval
|
||||
from trytond import backend
|
||||
|
||||
__all__ = ['Party', 'Address', 'PartyIdentifier', 'ContactMechanism',
|
||||
'PartyCompany']
|
||||
__all__ = ['PartyCompany', 'Party', 'Address', 'PartyIdentifier',
|
||||
'ContactMechanism']
|
||||
|
||||
|
||||
class Party:
|
||||
|
|
Loading…
Reference in a new issue