From 457b0b8648e62055bcb2ed787d163b612e5540ed Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 20 Dec 2012 14:29:53 +0530 Subject: [PATCH] fixes in sales/purchase register --- .../itemwise_purchase_register/itemwise_purchase_register.js | 2 +- .../itemwise_sales_register/itemwise_sales_register.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js b/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js index 8c5fc7fef9..7f47fc3816 100644 --- a/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js +++ b/accounts/search_criteria/itemwise_purchase_register/itemwise_purchase_register.js @@ -32,7 +32,7 @@ report.customize_filters = function() { set_filter_property("Purchase Invoice", "From Posting Date", "in_first_page", 1); set_filter_property("Purchase Invoice", "To Posting Date", "in_first_page", 1); - set_filter_property("Purchase Invoice", "Item", "in_first_page", 1); + set_filter_property("Purchase Invoice Item", "Item", "in_first_page", 1); set_filter_property("Purchase Invoice", "From Posting Date", "report_default", sys_defaults.year_start_date); diff --git a/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js b/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js index 25c8954be2..b52b472465 100755 --- a/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js +++ b/accounts/search_criteria/itemwise_sales_register/itemwise_sales_register.js @@ -26,13 +26,13 @@ report.customize_filters = function() { for(var i=0;i