From b6bc6453e433fc16bc258b961111d00662dc5b66 Mon Sep 17 00:00:00 2001 From: Swapnesh Shah Date: Sun, 26 Jul 2020 17:38:14 +0000 Subject: [PATCH] [FIX] website_sale: align abandoned orders count and records The purpose of the button "Abandoned Carts" on the eCommerce dashboard is to encourage user to send recovery emails. Before this commit, the domain wasn't correct as we considered all the abandoned cart, including the ones which an email was sent. After this commit, the domain of the filter "Abandoned Carts" took into consideration the abandoned cart and the carts for whom it is necessary to send an email. This commit closes #52799 --- .../static/src/xml/website_sale_dashboard.xml | 2 +- .../website_sale/views/sale_order_views.xml | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/addons/website_sale/static/src/xml/website_sale_dashboard.xml b/addons/website_sale/static/src/xml/website_sale_dashboard.xml index c864b8aa06e..a789021aa8c 100644 --- a/addons/website_sale/static/src/xml/website_sale_dashboard.xml +++ b/addons/website_sale/static/src/xml/website_sale_dashboard.xml @@ -15,7 +15,7 @@
Payments to Capture -
+
Abandoned Carts
diff --git a/addons/website_sale/views/sale_order_views.xml b/addons/website_sale/views/sale_order_views.xml index c252b796e32..fcd38c61c82 100644 --- a/addons/website_sale/views/sale_order_views.xml +++ b/addons/website_sale/views/sale_order_views.xml @@ -107,25 +107,6 @@ - - Abandoned Carts - sale.order - tree,form,kanban,activity - [('is_abandoned_cart', '=', True)] - - - -

- No abandoned carts found -

- You'll find here all the carts abandoned by your visitors. - If they completed their address, you should send them a recovery email! -

- The time to mark a cart as abandoned can be changed in the settings. -

-
-
- Orders To Invoice sale.order