Commit 2955922f authored by Rafael Monnerat's avatar Rafael Monnerat

Little fix for my last commit - r12495

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12496 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent be4a9f98
......@@ -74,7 +74,7 @@ packing_list = sci.object\n
delivery_tool = sci.getPortal().portal_deliveries\n
LOG("Task Report : %s"%packing_list.getPath())\n
\n
if sci.getPortal().getDefaultModule(\'Accounting Module\') is not None:\n
if hasattr(sci.getPortal(), \'accounting_module\'):\n
if hasattr(delivery_tool, \'task_invoice_builder\'):\n
delivery_tool.task_invoice_builder.activate(\n
after_method_id = [ \'expand\', \n
......@@ -132,7 +132,6 @@ if sci.getPortal().getDefaultModule(\'Accounting Module\') is not None:\n
<string>_getattr_</string>
<string>packing_list</string>
<string>delivery_tool</string>
<string>None</string>
<string>hasattr</string>
</tuple>
</value>
......
204
\ No newline at end of file
206
\ No newline at end of file
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