[FIX] account: invoice_form for button invoiced

Button "invoiced" only shows customer invoices. The form view used must be
"invoice_form".

opw:632853
This commit is contained in:
Goffin Simon 2015-04-15 14:51:33 +02:00
parent a5a797d0a6
commit 397892a6c8
1 changed files with 13 additions and 0 deletions

View File

@ -508,6 +508,19 @@
<field name="search_view_id" ref="view_account_invoice_filter"/>
</record>
<record id="action_invoice_refund_out_tree_tree" model="ir.actions.act_window.view">
<field eval="1" name="sequence"/>
<field name="view_mode">tree</field>
<field name="act_window_id" ref="action_invoice_refund_out_tree"/>
</record>
<record id="action_invoice_refund_out_tree_form" model="ir.actions.act_window.view">
<field eval="2" name="sequence"/>
<field name="view_mode">form</field>
<field name="view_id" ref="invoice_form"/>
<field name="act_window_id" ref="action_invoice_refund_out_tree"/>
</record>
<record id="action_invoice_tree_pending_invoice" model="ir.actions.act_window">
<field name="name">Pending Invoice</field>
<field name="res_model">account.invoice</field>