Fix Person.customers readonly field for python 3
This commit is contained in:
parent
6fc517269f
commit
0853fac66a
|
@ -169,7 +169,7 @@ class PeopleView(MasterView):
|
||||||
elif customer.number:
|
elif customer.number:
|
||||||
text = "({}) {}".format(customer.number, text)
|
text = "({}) {}".format(customer.number, text)
|
||||||
url = self.request.route_url('customers.view', uuid=customer.uuid)
|
url = self.request.route_url('customers.view', uuid=customer.uuid)
|
||||||
items.append(HTML.tag('li', c=tags.link_to(text, url)))
|
items.append(HTML.tag('li', c=[tags.link_to(text, url)]))
|
||||||
return HTML.tag('ul', c=items)
|
return HTML.tag('ul', c=items)
|
||||||
|
|
||||||
def render_users(self, person, field):
|
def render_users(self, person, field):
|
||||||
|
|
Loading…
Reference in a new issue