Skip to content

Commit

Permalink
fix: do not fetch ple against orders
Browse files Browse the repository at this point in the history
  • Loading branch information
GursheenK committed Sep 28, 2023
1 parent 4ada5a4 commit f23918e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f23918e

Please sign in to comment.