Commit 1e35759c authored by Sebastien Robin's avatar Sebastien Robin

update the conduit in order to follow new ERP5SyncML api

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17958 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8f656d84
......@@ -250,7 +250,7 @@ class BaobabConduit(ERP5Conduit):
security.declareProtected(Permissions.ModifyPortalContent, 'constructContent')
def constructContent(self, object, object_id, docid, portal_type):
def constructContent(self, object, object_id, portal_type):
"""
This is a redefinition of the original ERP5Conduit.constructContent function to
create Baobab objects.
......@@ -490,7 +490,7 @@ class BaobabConduit(ERP5Conduit):
subsubobject = subobject.newContent( portal_type = 'Bank Account Inventory Line'
, id = 'line'
)
return subobject
return (subobject, 0, 0)
......
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