Commit 91221775 authored by Kevin Deldycke's avatar Kevin Deldycke

Some modules are not required


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3319 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dfe54fcb
......@@ -154,8 +154,13 @@ class BaobabConduit(ERP5Conduit):
erp5_site_path = object.absolute_url(relative=1)
person_module = object.person
organisation_module = object.organisation
cash_inventory_module = object.cash_inventory_module
currency_cash_module = object.currency_cash_module
# Modules below are not always required
# (it depends of the nature of objects you want to synchronize)
try: cash_inventory_module = object.cash_inventory_module
except: cash_inventory_module = None
try: currency_cash_module = object.currency_cash_module
except: currency_cash_module = None
subobject = None
......
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