Files
Cédric Krier 0263b13fa1 Replace party on account statement origin
Closes #14282
(grafted from ebb9b6ac6341fc9f4a8e1290ae2bbb094a20f3bd)

--HG--
branch : 6.0
2025-10-31 11:45:54 +01:00

15 lines
457 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
class Replace(metaclass=PoolMeta):
__name__ = 'party.replace'
@classmethod
def fields_to_replace(cls):
return super().fields_to_replace() + [
('account.statement.line', 'party'),
('account.statement.origin', 'party'),
]