Rename attributes for MemberType model
per upstream changes
This commit is contained in:
parent
1391dff932
commit
baa4ff4ba4
|
@ -39,18 +39,15 @@ class MemberTypeView(CoreOfficeMasterView):
|
|||
route_prefix = 'corepos.member_types'
|
||||
|
||||
labels = {
|
||||
'memtype': "Type",
|
||||
'memDesc': "Description",
|
||||
'custdataType': "Cust. Data Type",
|
||||
'id': "ID",
|
||||
'ssi': "SSI",
|
||||
'salesCode': "Sales Code",
|
||||
}
|
||||
|
||||
def configure_grid(self, g):
|
||||
super(MemberTypeView, self).configure_grid(g)
|
||||
|
||||
g.set_link('memtype')
|
||||
g.set_link('memDesc')
|
||||
g.set_link('id')
|
||||
g.set_link('description')
|
||||
|
||||
|
||||
class MemberView(CoreOfficeMasterView):
|
||||
|
|
Loading…
Reference in a new issue