Browse Source

[IMP] don't use simplify [partner: ...] -- use just [...]

pull/1/head
Ivan Yelizariev 9 years ago
parent
commit
0a55cfc44d
  1. 2
      controllers/main.py

2
controllers/main.py

@ -21,7 +21,7 @@ class DataSetCustom(DataSet):
res = [] res = []
for r in records: for r in records:
if partner_info.get(r[0]): if partner_info.get(r[0]):
res.append((r[0], _('%s [partner: %s] ID %s') % (r[1], partner_info.get(r[0])[1], r[0])))
res.append((r[0], _('%s [%s] ID %s') % (r[1], partner_info.get(r[0])[1], r[0])))
else: else:
res.append((r[0], _('%s ID %s') % (r[1], r[0]))) res.append((r[0], _('%s ID %s') % (r[1], r[0])))
return res return res

Loading…
Cancel
Save