For the sake of completeness and correctness: it must be 

 obj.setContrainTypesMode(0) 

-aj

--
View this message in context: 
http://plone.293351.n2.nabble.com/AttributeError-getLocallyAllowedTypes-after-upgrading-from-3-0-to-4-1-tp6753699p7164189.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
_______________________________________________
Setup mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-setup

Reply via email to