[INP] portal_sale: remove buggy context
Even if this should never be used in normal portal environment, if a user with enough access rights tries to create an invoice, this would crash. We don't need context here (opw 612591).
This commit is contained in:
parent
b5c8ced8ec
commit
1933e926ff
|
@ -64,7 +64,6 @@
|
||||||
<field name="res_model">account.invoice</field>
|
<field name="res_model">account.invoice</field>
|
||||||
<field name="view_mode">tree,form</field>
|
<field name="view_mode">tree,form</field>
|
||||||
<field name="domain">[('type','in',['out_invoice','out_refund'])]</field>
|
<field name="domain">[('type','in',['out_invoice','out_refund'])]</field>
|
||||||
<field name="context">{'type':['out_invoice','out_refund'], 'journal_type': 'sale'}</field>
|
|
||||||
<field name="search_view_id" ref="account.view_account_invoice_filter"/>
|
<field name="search_view_id" ref="account.view_account_invoice_filter"/>
|
||||||
<field name="help">We haven't sent you any invoice.</field>
|
<field name="help">We haven't sent you any invoice.</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
Loading…
Reference in New Issue