From b1c894e48895ddcbe15b58193cfe5c28ff4c0aaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 17 Nov 2008 14:52:50 +0000
Subject: [PATCH] also return an ordered list for template_local_roles

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24608 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/BusinessTemplate.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index 827b1e6c1a..f94fa35f88 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -4992,6 +4992,13 @@ Business Template is a set of definitions, such as skins, portal types and categ
       """
       return self._getOrderedList('template_portal_type_roles')
 
+    def getTemplateLocalRolesList(self):
+      """
+      We have to set this method because we want an
+      ordered list
+      """
+      return self._getOrderedList('template_local_roles')
+
     def getTemplateSkinIdList(self):
       """
       We have to set this method because we want an
-- 
2.30.9