26 lines
1.0 KiB
XML
26 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<!-- This file is part party_bank module for Tryton.
|
|
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
|
<tryton>
|
|
<data>
|
|
<record model="ir.ui.view" id="party_view_form">
|
|
<field name="model">party.party</field>
|
|
<field name="inherit" ref="party.party_view_form"/>
|
|
<field name="arch" type="xml">
|
|
<![CDATA[
|
|
<data>
|
|
<xpath
|
|
expr="/form/notebook/page[@id="accounting"]"
|
|
position="after">
|
|
<page string="Bank Accounts" col="1" id="bank_accounts"
|
|
states="{'invisible': Bool(Get(Eval('context', {}), 'is_bank', 0))}">
|
|
<field name="bank_accounts"/>
|
|
</page>
|
|
</xpath>
|
|
</data>
|
|
]]>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</tryton>
|