fix print and preview quote and add broker to req and complete company model.
This commit is contained in:
parent
5ce94214d5
commit
246a2c0759
19 changed files with 872 additions and 260 deletions
|
@ -33,9 +33,9 @@ class ProfileAdmin(admin.ModelAdmin):
|
|||
|
||||
@admin.register(Company)
|
||||
class CompanyAdmin(admin.ModelAdmin):
|
||||
list_display = ['name', 'logo', 'signature', 'address', 'phone']
|
||||
list_display = ['name', 'logo', 'signature', 'address', 'phone', 'broker']
|
||||
prepopulated_fields = {'slug': ('name',)}
|
||||
search_fields = ['name', 'address', 'phone']
|
||||
list_filter = ['is_active']
|
||||
list_filter = ['is_active', 'broker']
|
||||
date_hierarchy = 'created'
|
||||
ordering = ['-created']
|
Loading…
Add table
Add a link
Reference in a new issue