Changeset 6f24604 for remit/vouchers/views.py
- Timestamp:
- Apr 18, 2010, 5:49:35 PM (15 years ago)
- Branches:
- master, client
- Children:
- 00e722e
- Parents:
- 5724bd5
- git-author:
- Alex Dehnert <adehnert@…> (04/18/10 17:49:35)
- git-committer:
- Alex Dehnert <adehnert@…> (04/18/10 17:49:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
remit/vouchers/views.py
rb34d568 r6f24604 36 36 class CommitteesField(ModelChoiceField): 37 37 def __init__(self, *args, **kargs): 38 base_area = BudgetArea.get_by_path( ['Accounts', 'Assets', 'Budget', ])38 base_area = BudgetArea.get_by_path(settings.BASE_COMMITTEE_PATH) 39 39 self.strip_levels = base_area.depth 40 40 areas = (base_area.get_descendants()
Note: See TracChangeset
for help on using the changeset viewer.