Commit 72f094fa authored by Yoshinori Okuji's avatar Yoshinori Okuji

2007-09-04 yo

* Fix the way of calling reindexObject in InventoryModule_reindexMovementList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16035 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 42954da7
...@@ -81,11 +81,12 @@ for o in [ x.getObject() for x in context.portal_catalog(\n ...@@ -81,11 +81,12 @@ for o in [ x.getObject() for x in context.portal_catalog(\n
, sql_catalog_id = sql_catalog_id\n , sql_catalog_id = sql_catalog_id\n
)\n )\n
]:\n ]:\n
o.reindexObject( after_tag = \'inventory_%i\' % count\n activate_kw = {\n
, tag = \'inventory_%i\' % (count+1)\n \'tag\': \'inventory_%i\' % (count+1),\n
, sql_catalog_id = sql_catalog_id\n \'after_tag\': \'inventory_%i\' % count,\n
, passive_commit=passive_commit\n \'passive_commit\': passive_commit,\n
)\n }\n
o.reindexObject(activate_kw=activate_kw, sql_catalog_id=sql_catalog_id)\n
count += 1\n count += 1\n
\n \n
if final_activity_tag is not None and count > 1:\n if final_activity_tag is not None and count > 1:\n
...@@ -108,6 +109,12 @@ if final_activity_tag is not None and count > 1:\n ...@@ -108,6 +109,12 @@ if final_activity_tag is not None and count > 1:\n
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>sql_catalog_id=None, passive_commit=1, final_activity_tag=None, **kw</string> </value> <value> <string>sql_catalog_id=None, passive_commit=1, final_activity_tag=None, **kw</string> </value>
...@@ -149,6 +156,7 @@ if final_activity_tag is not None and count > 1:\n ...@@ -149,6 +156,7 @@ if final_activity_tag is not None and count > 1:\n
<string>None</string> <string>None</string>
<string>x</string> <string>x</string>
<string>o</string> <string>o</string>
<string>activate_kw</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
2007-09-04 yo
* Fix the way of calling reindexObject in InventoryModule_reindexMovementList
2007-09-04 2007-09-04
*Add style in get_ODSStyleSheet *Add style in get_ODSStyleSheet
......
Copyright (c) 2001-2006 Nexedi SARL Copyright (c) 2001-2007 Nexedi SA
\ No newline at end of file \ No newline at end of file
423 424
\ No newline at end of file \ 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