2016-10-02 15:20:31 +02: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.
|
|
|
|
|
from trytond.pool import PoolMeta
|
|
|
|
|
|
|
|
|
|
__all__ = ['PartyReplace']
|
|
|
|
|
|
|
|
|
|
|
2018-06-26 19:11:46 +02:00
|
|
|
class PartyReplace(metaclass=PoolMeta):
|
2016-10-02 15:20:31 +02:00
|
|
|
__name__ = 'party.replace'
|
|
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
|
def fields_to_replace(cls):
|
|
|
|
|
return super(PartyReplace, cls).fields_to_replace() + [
|
|
|
|
|
('carrier', 'party'),
|
|
|
|
|
]
|