Source

party_bank / party.py

Full commit
#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.model import ModelView, ModelSQL, fields

class Party(ModelSQL, ModelView):
    _name = 'party.party'

    bank_accounts = fields.One2Many('bank.account', 'party', 'Bank Accounts')

Party()