django-orchestra/orchestra/apps/bills/actions.py

4 lines
97 B
Python
Raw Normal View History

2014-08-19 18:59:23 +00:00
def generate_bill(modeladmin, request, queryset):
for bill in queryset:
bill.close()