[fix] digest values in absolute

This commit is contained in:
Rushabh Mehta 2015-10-23 10:39:24 +05:30
parent b84ba868e6
commit e6791ee78e

View File

@ -346,7 +346,7 @@ class EmailDigest(Document):
self.get_next_sending()
def fmt_money(self, value):
return fmt_money(value, currency = self.currency)
return fmt_money(abs(value), currency = self.currency)
def send():
now_date = now_datetime().date()