diff --git a/accounting/consume.py b/accounting/consume.py index cba8ef7..8096cc0 100644 --- a/accounting/consume.py +++ b/accounting/consume.py @@ -35,7 +35,7 @@ class ConsumeBiz(PFBiz): return self.customerid if role == 'reseller': return self.resellerid - if role is 'provider': + if role == 'provider': return self.providerid if role is None or role == 'null': return None