Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Excluded services vs PricingService with multiple services #447

Open
mkurek opened this issue May 25, 2015 · 0 comments
Open

Excluded services vs PricingService with multiple services #447

mkurek opened this issue May 25, 2015 · 0 comments
Labels

Comments

@mkurek
Copy link
Contributor

mkurek commented May 25, 2015

Assume that PricingService PS_X has Service S_Y in excluded services, and Service S_Y is assigned to PricingService PS_Y, which besides S_Y has also Services S_W, S_Z and S_A.

Services S_W, S_Z and S_A should be charged by PricingService PS_X, but this line:

ps = ps.exclude(excluded_services__in=self.services.all())
cause that whole PricingService PS_X (and Services S_W, S_Z, S_A which are assigned to it) won't be charged by PricingService PS_X.

@mkurek mkurek added the bug label May 25, 2015
@mkurek mkurek changed the title Excluded services vs service with multiple Excluded services vs PricingService with multiple services May 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant