Define form fields list for Vendor views
maybe was needed anyway, but esp. with "synonym" usage in underlying model, since both the "real" and "synonym" fields were showing up
This commit is contained in:
parent
86c9155f0d
commit
32f381bdd2
|
@ -53,6 +53,18 @@ class VendorView(CoreOfficeMasterView):
|
||||||
'contact',
|
'contact',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
form_fields = [
|
||||||
|
'id',
|
||||||
|
'name',
|
||||||
|
'abbreviation',
|
||||||
|
'discount_rate',
|
||||||
|
'phone',
|
||||||
|
'fax',
|
||||||
|
'email',
|
||||||
|
'website',
|
||||||
|
'notes',
|
||||||
|
]
|
||||||
|
|
||||||
def configure_grid(self, g):
|
def configure_grid(self, g):
|
||||||
super(VendorView, self).configure_grid(g)
|
super(VendorView, self).configure_grid(g)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue