Skip to content

Commit f3212b6

Browse files
committed
Added region and district fields to LeadAdmin Company contact details
1 parent 73192a3 commit f3212b6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crm/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ def get_fieldsets(self, request, obj=None):
277277
('phone', 'other_phone'),
278278
('company_name', 'website'),
279279
('company_email', 'country'),
280+
'region','district'
280281
'address',
281282
)
282283
}),

crm/site/leadadmin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,11 @@ def get_fieldsets(self, request, obj=None):
140140
('company_name', 'website'),
141141
'company_email',
142142
('city', 'country'),
143+
'region',
144+
'district'
143145
'address',
144146
'type',
145-
'industry'
147+
'industry',
146148
)
147149
}),
148150
(None, {

0 commit comments

Comments
 (0)