From 78fee4b6b0e54f072e7494106d0d86007d2f4529 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 14 Jul 2016 16:31:41 +0200 Subject: [PATCH] [FIX] website_sale: "From website" filter This filter must be added in the regular searchview, and not have his own search view. Without this: - view_sales_order_filter_ecommerce is a not search view for the sale orders, having the same priority than the regular one, and therefore this view can be loaded by default for other menus (In this case, this was for the menu Website Admin > Orders). e.g. Clicking on the `Sales` stat button on a contact no longer filtered the orders of this contact, but displayed all the orders, because it was this view which was loaded instead of the regular one. - In Website Admin > Orders, it was simply not possible to type a string and search for it in the search bar. --- addons/website_sale/views/backend.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/website_sale/views/backend.xml b/addons/website_sale/views/backend.xml index 8bcd8abb901..b49690bf3fd 100644 --- a/addons/website_sale/views/backend.xml +++ b/addons/website_sale/views/backend.xml @@ -24,8 +24,9 @@ sale.order.ecommerce.search.view sale.order + - +