Commit f8e6f654 authored by Sebastien Robin's avatar Sebastien Robin

make sure to define site on organisation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14282 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0b7e0f87
......@@ -336,9 +336,12 @@ class BaobabConduit(ERP5Conduit):
)[0].getObject()
subobject.setCareerSubordinationValue(organisation)
else: # This is an organisation object
site_value = organisation_module_object.Baobab_getSiteFromCodification(
object_id[:3])
subobject = organisation_module_object.newContent( portal_type = 'Organisation'
, id = object_id
)
, id = object_id
, site = site_value.getRelativeUrl()
)
subobject.setRole('client')
### handle bank account objects
......
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