<?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.action.act_window" id="act_account_invoice_form">
            <field name="name">Invoices</field>
            <field name="res_model">account.invoice</field>
            <field
                name="domain"
                eval="[('sale_rentals.id', 'in', Eval('active_ids', [])), ('type', '=', 'out')]"
                pyson="1"/>
        </record>
        <record model="ir.action.keyword" id="act_account_invoice_form_keyword1">
            <field name="keyword">form_relate</field>
            <field name="model">sale.rental,-1</field>
            <field name="action" ref="act_account_invoice_form"/>
        </record>
    </data>
</tryton>
