From 4a88dbe082b3c292ba26aecc3e3137caa2a2027f Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Mon, 18 Oct 2010 08:08:07 +0000
Subject: [PATCH] Fix an API usage.

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

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index 123e06cec3..5d5c95a4f4 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -2792,7 +2792,7 @@ class ActionTemplateItem(ObjectTemplateItem):
             action_text = action_text.text
           obj.addAction(
                         id = action.id
-                      , title = action.title
+                      , name = action.title
                       , action = action_text
                       , condition = action.getCondition()
                       , permission = action.permissions
-- 
2.30.9