Commit 4110f4e0 authored by Nicolas Delaby's avatar Nicolas Delaby

Boolean cleanup

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35821 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4554d57
......@@ -665,8 +665,8 @@ class ERP5Conduit(XMLSyncUtilsMixin):
return xml.xpath('string(.//*[name() == "xupdate:attribute"][@name = "portal_type"])') or None
security.declareProtected(Permissions.ModifyPortalContent, 'newObject')
def newObject(self, object=None, xml=None, simulate=0, reset=0,
reset_local_roles=1, reset_workflow=1):
def newObject(self, object=None, xml=None, simulate=False,
reset_local_roles=True, reset_workflow=True):
"""
modify the object with datas from
the xml (action section)
......
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