Skip to content

Commit

Permalink
Merge 2090ca0 into d0fef48
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis de Lattre committed Apr 17, 2018
2 parents d0fef48 + 2090ca0 commit c4dac7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion donation/models/donation.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _compute_total(self):
donation.amount_total = total
donation_currency =\
donation.currency_id.with_context(date=donation.donation_date)
company_currency = donation.company_id.currency_id
company_currency = donation.sudo().company_id.currency_id
total_company_currency = donation_currency.compute(
total, company_currency)
tax_receipt_total_cc = donation_currency.compute(
Expand Down

0 comments on commit c4dac7f

Please sign in to comment.