add zone and agent view tree

This commit is contained in:
Camilo Sarmiento 2020-07-08 16:30:27 -05:00
parent b49c7b4d86
commit fab2d83d96
2 changed files with 16 additions and 0 deletions

View File

@ -8,5 +8,10 @@ this repository contains the full copyright notices and license terms. -->
<field name="inherit" ref="party.party_view_form"/>
<field name="name">party_form</field>
</record>
<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="name">party_tree</field>
</record>
</data>
</tryton>

11
view/party_tree.xml Normal file
View File

@ -0,0 +1,11 @@
<?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. -->
<data>
<xpath
expr="/tree/field[@name='payable_today']"
position="after">
<field name="zone"/>
<field name="agent"/>
</xpath>
</data>