Commit 2dd52050 authored by Patrick's avatar Patrick

Add a third producer email address. Asked by Gac-Hamois.

parent c71b9389
......@@ -71,7 +71,7 @@ class ProducerResource(resources.ModelResource):
model = Producer
fields = (
'id', 'short_profile_name', 'long_profile_name',
'email', 'email2', 'language', 'phone1', 'phone2',
'email', 'email2', 'email3', 'language', 'phone1', 'phone2',
'fax', 'address', 'invoice_by_basket', 'manage_replenishment', 'manage_production',
'sort_products_by_reference',
'producer_pre_opening', 'producer_price_are_wo_vat',
......@@ -263,8 +263,8 @@ class ProducerAdmin(ImportExportMixin, admin.ModelAdmin):
def get_fieldsets(self, request, producer=None):
fields_basic = [
('short_profile_name', 'long_profile_name', 'language'),
('email', 'email2', 'fax'),
('phone1', 'phone2',),
('email', 'email2', 'email3'),
('phone1', 'phone2', 'fax'),
]
if producer is not None:
fields_basic += [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment