diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py index 794240236525..21dd89fffbd3 100755 --- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py +++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py @@ -791,6 +791,9 @@ def get_cost_center_conditions(self): self.qb_selection_filter.append(self.ple.cost_center.isin(cost_center_list)) def add_common_filters(self): + self.qb_selection_filter.append( + self.ple.against_voucher_type.notin(["Purchase Order", "Sales Order"]) + ) if self.filters.company: self.qb_selection_filter.append(self.ple.company == self.filters.company)