Files
tryton/party.py
T
Cédric Krier 345d88f7aa Manage Replace Wizard
issue5820
review32471002
2016-10-02 15:21:20 +02:00

29 lines
669 B
Python

# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.pool import PoolMeta
__all__ = ['Party', 'Address', 'PartyReplace']
class Party:
__metaclass__ = PoolMeta
__name__ = 'party.party'
_history = True
class Address:
__metaclass__ = PoolMeta
__name__ = 'party.address'
_history = True
class PartyReplace:
__metaclass__ = PoolMeta
__name__ = 'party.replace'
@classmethod
def fields_to_replace(cls):
return super(PartyReplace, cls).fields_to_replace() + [
('sale.opportunity', 'party'),
]