Multiple pricing tiers not returned

Issue #1294 resolved
andrew_pw created an issue

I am using the tiered pricing module and noticed that if a user is part of more than one group, no tiers are returned by the by_user method of the PricingTierManager (in satchmo_ext/tieredpricing/

This is because the PricingTier objects get filtered in the sense of group = group1 AND group2, etc, when it should be OR.

I have attached a patch that I used to solve the problem.

Andrew Cressman -
PeaceWorks Computer Consulting Inc.

Comments (2)

  1. Log in to comment