Ticket #1669: CPSDocument-upgrade.py.diff
| File CPSDocument-upgrade.py.diff, 506 bytes (added by ybastide, 4 years ago) |
|---|
-
CPSDocument/upgrade.py
old new 160 160 # This is CPS 3.2, and Document is not even Flexible. 161 161 # Can't upgrade 162 162 return False 163 if 'news' not in doc_type.schemas and 'news' not in doc_type.layouts: 164 # Alredy upgraded: 165 return False 163 166 return True 164 167 165 168 def upgrade_338_340_newsitem_to_flex(context):
