Add maturity_date field as a possible colum to add in account move line

tree view, and in search too.
This commit is contained in:
Bernat Brunet 2023-05-26 14:43:03 +02:00
parent b5d0f61224
commit 7d178a866b
3 changed files with 21 additions and 0 deletions

12
move.xml Normal file
View File

@ -0,0 +1,12 @@
<?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 grouped="1">
<record model="ir.ui.view" id="move_line_view_tree">
<field name="model">account.move.line</field>
<field name="inherit" ref="account.move_line_view_tree"/>
<field name="name">move_line_tree</field>
</record>
</data>
</tryton>

View File

@ -16,5 +16,6 @@ xml:
account.xml
company.xml
messages.xml
move.xml
view.xml
tax.xml

8
view/move_line_tree.xml Normal file
View File

@ -0,0 +1,8 @@
<?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='date']" position="after">
<field name="maturity_date" optional="1"/>
</xpath>
</data>