view_account_move_line.xml 1.32 KB
Newer Older
François C. committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
<?xml version="1.0"?>
<odoo>

    <record id="view_account_move_line_filter_inherit" model="ir.ui.view">
        <field name="model">account.move.line</field>
        <field name="inherit_id" ref="account.view_account_move_line_filter"/>
        <field name="arch" type="xml">
            <xpath expr="//filter[@name='posted']" position="after">
                <separator/>
                <filter name="statement_line_id" string="Unmatched" domain="[('statement_line_id','=', False)]"/>
            </xpath>
        </field>
    </record>

    <record id="view_move_line_tree_inherit" model="ir.ui.view">
        <field name="model">account.move.line</field>
        <field name="inherit_id" ref="account.view_move_line_tree"/>
        <field name="arch" type="xml">
            <field name="credit" position="after">
                <field name="other_balance" sum="Total Balance"/>
            </field>
        </field>
    </record>

    <record id="view_account_move_line_form_inherit" model="ir.ui.view">
        <field name="model">account.move.line</field>
        <field name="inherit_id" ref="account.view_move_line_form"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='statement_id']" position="after">
                <field name="payment_id"/>
            </xpath>
        </field>
    </record>

</odoo>