diff --git a/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml b/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml
index 7fcfdd0221ecfa7aa5732864d5418e401aae6225..5179622dd1dd74958c4ed935cc9569400009b35d 100644
--- a/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml
+++ b/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/listbox_odt_macro.xml
@@ -138,7 +138,7 @@
                                            tal:attributes="table:number-columns-spanned python: len(listboxline.getColumnItemList())" \n
                                            office:value-type=\'string\'>\n
                             <text:p text:style-name=\'listbox-header\'\n
-                                    tal:content="python: selection.getDomain() is not None and selection.getDomain().asDomainItemDict().values()[-1].getTitle() or \'\'"/>\n
+                                    tal:content="python: selection.getDomain() is not None and selection.getDomain().asDomainItemDict() and selection.getDomain().asDomainItemDict().values()[-1].getTitle() or \'\'"/>\n
                          </table:table-cell>\n
                        </table:table-row>\n
                        <table:table-row>\n
diff --git a/bt5/erp5_odt_style/bt/revision b/bt5/erp5_odt_style/bt/revision
index e77a96349c09f79b6c061a73e03ad91346a0a196..0aeb5485442b9ed8a2d59d629933a00db4473ebf 100644
--- a/bt5/erp5_odt_style/bt/revision
+++ b/bt5/erp5_odt_style/bt/revision
@@ -1 +1 @@
-73
\ No newline at end of file
+74
\ No newline at end of file
diff --git a/bt5/erp5_odt_style/bt/template_local_role_list b/bt5/erp5_odt_style/bt/template_local_role_list
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/bt5/erp5_odt_style/bt/template_portal_type_role_list b/bt5/erp5_odt_style/bt/template_portal_type_role_list
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391