prod
Dmitriy Shesterkin 9 years ago
parent fc311b60dc
commit 2ea4ca0352
  1. 2
      src/docs/views/base_views.py

@ -868,7 +868,7 @@ class BaseItemsViews(BaseViews):
def get_xls(self, *args, **kwargs): def get_xls(self, *args, **kwargs):
"""Создать документ в Excel и вернуть как строку.""" """Создать документ в Excel и вернуть как строку."""
obj = self.get_obj(kwargs[' id']) obj = self.get_obj(kwargs['id'])
obj_items = self.get_obj_items_qs(obj) obj_items = self.get_obj_items_qs(obj)
profile = get_profile(obj.user) profile = get_profile(obj.user)
main_account = BankAccount.objects.get_main(profile) main_account = BankAccount.objects.get_main(profile)

Loading…
Cancel
Save