Skip to content

BusinessTemplate: role information may has no title defined

Xiaowu Zhang requested to merge xiaowu.zhang/erp5:fix/bt5 into master

role information may has no title defined

image

which raise error when sort role list in py3

Module Products.ERP5.Document.BusinessTemplate, line 3518, in build
    type_role_list.sort(key=sort_key)
TypeError: '<' not supported between instances of 'NoneType' and 'str'

Merge request reports