Added support to use strings to upgradeObjectClass.
This change allows use python scripts to upgrade Object Class without write external methods for it. The from_class and to_class arguments can be used like followed: from_class="Products.ERP5Type.Document.Folder.Folder" to_class="Products.ERP5Type.Document.Category.Category" or use previous behaviour: from_class = folder.__class__ to_class = category.__class__ git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36278 20353a03-c40f-0410-a6d1-a30d3c3de9de
Showing
Please register or sign in to comment