[FIX] account: remove default_type from context

This key causes problems down the line (since account.asset.asset
have a type field as well) caused by context propagation.

The key is not required anyway, since out_invoice is the default
type.
This commit is contained in:
Damien Bouvy
2016-09-23 10:10:38 +02:00
parent 26c7ff9118
commit d12dc84209
@@ -601,7 +601,7 @@
<field name="view_mode">tree,kanban,form,calendar,pivot,graph</field>
<field eval="False" name="view_id"/>
<field name="domain">[('type','in',('out_invoice', 'out_refund'))]</field>
<field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}</field>
<field name="context">{'type':'out_invoice', 'journal_type': 'sale'}</field>
<field name="search_view_id" ref="view_account_invoice_filter"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">