Commit 597c6982 authored by Aurel's avatar Aurel

2005-12-29 aurel

 * reindex trash bins in ERP5Site_reindexAll


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4945 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a86436c4
......@@ -91,6 +91,12 @@ context.portal_templates.reindexObject(tag=\'module\', sql_catalog_id=sql_catalo
for o in list(context.portal_templates.objectValues()):\n
o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
\n
# Next we index trash bins\n
print "#### Indexing trash bins ####"\n
context.portal_trash.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
for o in list(context.portal_trash.objectValues()):\n
o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
\n
# Next we index applied rules\n
print "#### Indexing applied rules ####"\n
context.portal_rules.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n
......@@ -139,7 +145,7 @@ return printed\n
<item>
<key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAwAAAEAAAABzEwAAAGUAAGQBAGQCAIQCAFoBAGQAAFMoAwAAAE5pAQAAAGMCAAAA
DAAAAGwAAABDAAAAc9gGAAB0AACDAAB9AwB8AwAEZAEAAklKdAIAdAMAZAIAgwIAZAMAfAAAgwAB
DAAAAHYAAABDAAAAc3MHAAB0AACDAAB9AwB8AwAEZAEAAklKdAIAdAMAZAIAgwIAZAMAfAAAgwAB
AXwDAARkBAACSUp0AgB0AgB0AwBkBQCDAgBkBgCDAgBkBwBkCABkAwB8AABkCQB8AQCDAAMBeFcA
dAYAdAcAdAIAdAIAdAMAZAUAgwIAZAoAgwIAgwAAgwEAgwEARF0uAH0IAHQCAHwIAGQLAIMCAGQM
AGQIAGQHAGQNAGQDAHwAAGQJAHwBAIMABAFxhgBXfAMABGQOAAJJSn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0YXR0cl9zBwAAAGNvbnRleHRzDgAAAHNxbF9jYXRhbG9nX2lkcw4AAABwYXNzaXZl
X2NvbW1pdHMJAAAAX2dldGl0ZXJfcwQAAABsaXN0cwEAAABvcwYAAABmb2xkZXJzDAAAAFJ1bnRp
bWVFcnJvcnMEAAAAcmVwcigMAAAAcw4AAABzcWxfY2F0YWxvZ19pZHMOAAAAcGFzc2l2ZV9jb21t
aXRzBwAAAF9wcmludF9zBgAAAF9wcmludHMJAAAAX2dldGF0dHJfcwcAAABjb250ZXh0cwkAAABf
Z2V0aXRlcl9zBAAAAGxpc3RzAQAAAG9zBgAAAGZvbGRlcnMMAAAAUnVudGltZUVycm9ycwQAAABy
ZXByKAAAAAAoAAAAAHMPAAAAU2NyaXB0IChQeXRob24pcxMAAABFUlA1U2l0ZV9yZWluZGV4QWxs
AQAAAHN8AAAAFgETAhABJQEoAAkBKQIQASUBLgAJATUDEAElASgACQE4AxABJQEoAAkBNQMQASUB
KAAJATUDEAElASgACQE1AxABJQEoAAkBNQMQASUBKAAJATUDNAAGARcBHwEfAR8ABgEGATgDAwE7
AzQABgEcARoBHwEfAAkBSQM6AigCAAAAcwQAAABOb25lcxMAAABFUlA1U2l0ZV9yZWluZGV4QWxs
KAIAAABzBAAAAE5vbmVzEwAAAEVSUDVTaXRlX3JlaW5kZXhBbGwoAAAAACgAAAAAcw8AAABTY3Jp
cHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item>
<item>
<key> <string>_filepath</string> </key>
......
2005-12-29 aurel
* reindex trash bins in ERP5Site_reindexAll
2005-12-29 jerome
* update Resource_zGetInventory(List) to take into account changes in the stock table.
* bug fix: Organisation default currency is "price_currency". updated Organisation_viewDetails.
......
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