[FIX] account: Invoice's creation problem
The action window "action_invoice_refund_out_tree" must have the same context that "action_invoice_tree1" opw:633635
This commit is contained in:
parent
3760b1f0f4
commit
296130fbd3
|
@ -504,7 +504,7 @@
|
|||
<field name="view_mode">tree,form,calendar,graph</field>
|
||||
<field name="view_id" ref="invoice_tree"/>
|
||||
<field name="domain">[('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel'])]</field>
|
||||
<field name="context">{'type':False}</field>
|
||||
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field>
|
||||
<field name="search_view_id" ref="view_account_invoice_filter"/>
|
||||
</record>
|
||||
|
||||
|
|
Loading…
Reference in New Issue