Commit a54f002a authored by Julien Muchembled's avatar Julien Muchembled

Products.ERP5Type.Document. -> Products.ERP5.Document.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39930 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b4a925ca
...@@ -1297,7 +1297,7 @@ def optimize(): ...@@ -1297,7 +1297,7 @@ def optimize():
# 'func_defaults' properties, so make sure we always export them. # 'func_defaults' properties, so make sure we always export them.
# This compatibility code is not required for normal ERP5 instances # This compatibility code is not required for normal ERP5 instances
# because scripts are compiled at BT installation. # because scripts are compiled at BT installation.
from Products.ERP5Type.Document.BusinessTemplate import BaseTemplateItem from Products.ERP5.Document.BusinessTemplate import BaseTemplateItem
BaseTemplateItem_removeProperties = BaseTemplateItem.removeProperties BaseTemplateItem_removeProperties = BaseTemplateItem.removeProperties
def removeProperties(self, obj, export): def removeProperties(self, obj, export):
if export and isinstance(obj, PythonScript): if export and isinstance(obj, PythonScript):
......
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