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'
|
route_prefix = 'corepos.member_types'
|
||||||
|
|
||||||
labels = {
|
labels = {
|
||||||
'memtype': "Type",
|
'id': "ID",
|
||||||
'memDesc': "Description",
|
|
||||||
'custdataType': "Cust. Data Type",
|
|
||||||
'ssi': "SSI",
|
'ssi': "SSI",
|
||||||
'salesCode': "Sales Code",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def configure_grid(self, g):
|
def configure_grid(self, g):
|
||||||
super(MemberTypeView, self).configure_grid(g)
|
super(MemberTypeView, self).configure_grid(g)
|
||||||
|
|
||||||
g.set_link('memtype')
|
g.set_link('id')
|
||||||
g.set_link('memDesc')
|
g.set_link('description')
|
||||||
|
|
||||||
|
|
||||||
class MemberView(CoreOfficeMasterView):
|
class MemberView(CoreOfficeMasterView):
|
||||||
|
|
Loading…
Reference in a new issue