diff --git a/product/ERP5SyncML/Conduit/ERP5Conduit.py b/product/ERP5SyncML/Conduit/ERP5Conduit.py index 007fd99e7aa218c1f0ac9e5b07d52933ff323605..a824cac84a52b2ae1a8d1f6073a17372f136e25d 100644 --- a/product/ERP5SyncML/Conduit/ERP5Conduit.py +++ b/product/ERP5SyncML/Conduit/ERP5Conduit.py @@ -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)