Fix localization and timezone issue in widget

This commit is contained in:
Raphael Michel
2018-02-02 14:43:51 +01:00
parent 39abf63698
commit 3bfa8bd81e
2 changed files with 10 additions and 5 deletions

View File

@@ -323,6 +323,10 @@ class Event(EventMixin, LoggedModel):
else:
return get_connection(fail_silently=False)
@property
def timezone(self):
return pytz.timezone(self.settings.timezone)
@property
def payment_term_last(self):
"""