first commit
This commit is contained in:
20
modules/sale_rental/account.xml
Normal file
20
modules/sale_rental/account.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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', []))]"
|
||||
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>
|
||||
Reference in New Issue
Block a user