Commit 4f048a3a authored by Christophe Dumez's avatar Christophe Dumez

- Does not export _filepath anymore (not used and site name dependent)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8255 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a1cfb230
...@@ -378,6 +378,8 @@ class BaseTemplateItem(Implicit, Persistent): ...@@ -378,6 +378,8 @@ class BaseTemplateItem(Implicit, Persistent):
obj._code = None obj._code = None
if hasattr(aq_base(obj), 'Python_magic'): if hasattr(aq_base(obj), 'Python_magic'):
obj.Python_magic = None obj.Python_magic = None
if hasattr(aq_base(obj), '_filepath'):
obj._filepath = None
elif getattr(obj, 'meta_type', None) == 'ERP5 PDF Form' : elif getattr(obj, 'meta_type', None) == 'ERP5 PDF Form' :
if not obj.getProperty('business_template_include_content', 1) : if not obj.getProperty('business_template_include_content', 1) :
obj.deletePdfContent() obj.deletePdfContent()
...@@ -3652,7 +3654,6 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -3652,7 +3654,6 @@ Business Template is a set of definitions, such as skins, portal types and categ
Copy existing portal objects to self Copy existing portal objects to self
""" """
if no_action: return # this is use at import of Business Template to get the status built if no_action: return # this is use at import of Business Template to get the status built
# Make sure that everything is sane. # Make sure that everything is sane.
self.clean() self.clean()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment