From c204c93ca73b28dc771722f10ea7f3e5cfcd5c1b Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sun, 8 Feb 2004 13:45:37 +0000 Subject: [PATCH] addPermission changed to addPortalContent git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@399 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/Coramy/Document/CorrespondanceMesures.py | 2 +- product/Coramy/Document/CorrespondanceTailles.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/product/Coramy/Document/CorrespondanceMesures.py b/product/Coramy/Document/CorrespondanceMesures.py index 92441df47c..64d7c11079 100755 --- a/product/Coramy/Document/CorrespondanceMesures.py +++ b/product/Coramy/Document/CorrespondanceMesures.py @@ -46,7 +46,7 @@ class CorrespondanceMesures(XMLObject, XMLMatrix, Image): """ meta_type = 'CORAMY Correspondance Mesures' portal_type = 'Correspondance Mesures' - add_permission = Permissions.AddERP5Content + add_permission = Permissions.AddPortalContent isPortalContent = 1 isRADContent = 1 diff --git a/product/Coramy/Document/CorrespondanceTailles.py b/product/Coramy/Document/CorrespondanceTailles.py index 67ae702f98..8e4813e58e 100755 --- a/product/Coramy/Document/CorrespondanceTailles.py +++ b/product/Coramy/Document/CorrespondanceTailles.py @@ -44,7 +44,7 @@ class CorrespondanceTailles(XMLObject, XMLMatrix): meta_type = 'CORAMY Correspondance Tailles' portal_type = 'Correspondance Tailles' - add_permission = Permissions.AddERP5Content + add_permission = Permissions.AddPortalContent isPortalContent = 1 isRADContent = 1 -- 2.30.9