From 1933e926ff7457b6f116296190ec55eb908de9b3 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Wed, 24 Sep 2014 17:00:24 +0200 Subject: [PATCH] [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). --- addons/portal_sale/portal_sale_view.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/portal_sale/portal_sale_view.xml b/addons/portal_sale/portal_sale_view.xml index ac56cc9ddfc..2bdc41c09f9 100644 --- a/addons/portal_sale/portal_sale_view.xml +++ b/addons/portal_sale/portal_sale_view.xml @@ -64,7 +64,6 @@ account.invoice tree,form [('type','in',['out_invoice','out_refund'])] - {'type':['out_invoice','out_refund'], 'journal_type': 'sale'} We haven't sent you any invoice.