Skip to content

Commit 02744b6

Browse files
authored
Merge pull request #276 from Faria-Shahid/add-fields (#275)
Added region and district fields to LeadAdmin Company contact details
2 parents 73192a3 + 6b7b1db commit 02744b6

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)