Skip to content

Commit

Permalink
Fix Code
Browse files Browse the repository at this point in the history
  • Loading branch information
dreispt committed Dec 12, 2019
1 parent 5ba4ed3 commit 61298a3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ def phone_to_product(outgoing_number, product_map):
return product
return product

phone_to_rate = self.env['phone.rate'].get_rate_from_phone_number
phone_to_rate = self.env['phone.rate'].get_rate_from_phonenumber
# TODO loop should be by domain?
# We could be duplicating if same domain is in several service profiles
for service in self:
analytic = service.agreement_id.analytic_account.id
analytic = service.agreement_id.analytic_account_id.id
if not analytic:
raise UserError(_(
'Analytic Account is not found in database.'))
Expand Down

0 comments on commit 61298a3

Please sign in to comment.