Files
tryton/party.xml
T

59 lines
2.4 KiB
XML

<?xml version="1.0"?>
<!-- This file is part of 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_tree">
<field name="model">party.party</field>
<field name="inherit" ref="party.party_view_tree"/>
<field name="arch" type="xml">
<![CDATA[
<data>
<xpath
expr="/tree/field[@name=&quot;vat_code&quot;]"
position="after">
<field name="receivable_today" select="2"/>
<field name="payable_today" select="2"/>
</xpath>
</data>
]]>
</field>
</record>
<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=&quot;accounting&quot;]/field[@name=&quot;vat_number&quot;]"
position="after">
<separator string="Account" colspan="4" id="account"/>
<label name="account_receivable"/>
<field name="account_receivable"/>
<label name="account_payable"/>
<field name="account_payable"/>
<newline/>
<label name="receivable_today"/>
<field name="receivable_today"/>
<label name="payable_today"/>
<field name="payable_today"/>
<label name="receivable"/>
<field name="receivable"/>
<label name="payable"/>
<field name="payable"/>
<separator string="Taxes" colspan="4" id="taxes"/>
<label name="customer_tax_rule"/>
<field name="customer_tax_rule"/>
<label name="supplier_tax_rule"/>
<field name="supplier_tax_rule"/>
</xpath>
</data>
]]>
</field>
</record>
</data>
</tryton>