Commit 60bd1770 authored by Yoshinori Okuji's avatar Yoshinori Okuji

2005-12-20 yo

* Add an optional parameter sql_catalog_id into ERP5Site_reindexAll, ERP5Site_updateTranslationTable, and InventoryModule_reindexMovementList, and pass sql_catalog_id to catalog methods.
* ERP5Site_updateTranslationTable does not use Translation_addMessage or Translation_delete any longer. Instead, use portal_catalog.
* Remove Translation_addMessage and Translation_delete.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4820 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 584884d8
...@@ -85,6 +85,9 @@ ...@@ -85,6 +85,9 @@
<permission> <permission>
<name>Add ERP5 Forms</name> <name>Add ERP5 Forms</name>
</permission> </permission>
<permission>
<name>Add ERP5 OOo Templates</name>
</permission>
<permission> <permission>
<name>Add ERP5 PDF Forms</name> <name>Add ERP5 PDF Forms</name>
</permission> </permission>
......
...@@ -131,6 +131,9 @@ ...@@ -131,6 +131,9 @@
<name>Add ERP5 Forms</name> <name>Add ERP5 Forms</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission>
<name>Add ERP5 OOo Templates</name>
</permission>
<permission> <permission>
<name>Add ERP5 PDF Forms</name> <name>Add ERP5 PDF Forms</name>
</permission> </permission>
......
...@@ -131,6 +131,9 @@ ...@@ -131,6 +131,9 @@
<name>Add ERP5 Forms</name> <name>Add ERP5 Forms</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission>
<name>Add ERP5 OOo Templates</name>
</permission>
<permission> <permission>
<name>Add ERP5 PDF Forms</name> <name>Add ERP5 PDF Forms</name>
</permission> </permission>
......
...@@ -257,6 +257,10 @@ ...@@ -257,6 +257,10 @@
<string>variation</string> <string>variation</string>
<string>variation</string> <string>variation</string>
</tuple> </tuple>
<tuple>
<string>sub_variation</string>
<string>sub_variation</string>
</tuple>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -108,9 +108,10 @@ ...@@ -108,9 +108,10 @@
<string>my_building_state</string> <string>my_building_state</string>
<string>my_installation_state</string> <string>my_installation_state</string>
<string>my_description</string> <string>my_description</string>
<string>my_change_log</string>
<string>my_dependency_list</string> <string>my_dependency_list</string>
<string>my_change_log</string>
<string>my_license</string> <string>my_license</string>
<string>my_copyright_list</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -123,7 +124,6 @@ ...@@ -123,7 +124,6 @@
<string>my_template_module_id_list</string> <string>my_template_module_id_list</string>
<string>my_template_base_category_list</string> <string>my_template_base_category_list</string>
<string>my_template_workflow_id_list</string> <string>my_template_workflow_id_list</string>
<string>my_copyright_list</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -67,56 +67,56 @@ ...@@ -67,56 +67,56 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>print "#### Indexing translations ####"\n <value> <string>print "#### Indexing translations ####"\n
context.ERP5Site_updateTranslationTable()\n context.ERP5Site_updateTranslationTable(sql_catalog_id=sql_catalog_id)\n
\n \n
print "#### Indexing categories ####"\n print "#### Indexing categories ####"\n
context.portal_categories.reindexObject(tag=\'module\')\n context.portal_categories.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(context.portal_categories.objectValues()):\n for o in list(context.portal_categories.objectValues()):\n
o.recursiveReindexObject(after_tag=\'module\',tag=\'category\')\n o.recursiveReindexObject(after_tag=\'module\',tag=\'category\', sql_catalog_id=sql_catalog_id)\n
\n \n
print "#### Indexing preferences ####"\n print "#### Indexing preferences ####"\n
context.portal_preferences.reindexObject(tag=\'module\')\n context.portal_preferences.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(context.portal_preferences.objectValues(tag=\'module\')):\n for o in list(context.portal_preferences.objectValues(tag=\'module\')):\n
o.recursiveReindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2)\n o.recursiveReindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id)\n
\n \n
# We index simulation first to make sure we can calculate tests (ie. related quantity)\n # We index simulation first to make sure we can calculate tests (ie. related quantity)\n
print "#### Indexing simulation ####"\n print "#### Indexing simulation ####"\n
context.portal_simulation.reindexObject(tag=\'module\')\n context.portal_simulation.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(context.portal_simulation.objectValues()):\n for o in list(context.portal_simulation.objectValues()):\n
o.recursiveReindexObject(after_tag=(\'module\',\'category\',\'document\'),tag=\'simulation\',priority=3)\n o.recursiveReindexObject(after_tag=(\'module\',\'category\',\'document\'),tag=\'simulation\',priority=3, sql_catalog_id=sql_catalog_id)\n
\n \n
# We index templates secondly\n # We index templates secondly\n
print "#### Indexing templates ####"\n print "#### Indexing templates ####"\n
context.portal_templates.reindexObject(tag=\'module\')\n context.portal_templates.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(context.portal_templates.objectValues()):\n for o in list(context.portal_templates.objectValues()):\n
o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2)\n o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id)\n
\n \n
# Next we index applied rules\n # Next we index applied rules\n
print "#### Indexing applied rules ####"\n print "#### Indexing applied rules ####"\n
context.portal_rules.reindexObject(tag=\'module\')\n context.portal_rules.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(context.portal_rules.objectValues()):\n for o in list(context.portal_rules.objectValues()):\n
o.recursiveReindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2)\n o.recursiveReindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id)\n
\n \n
# Next we index delivery builders\n # Next we index delivery builders\n
print "#### Indexing delivery builders ####"\n print "#### Indexing delivery builders ####"\n
context.portal_deliveries.reindexObject(tag=\'module\')\n context.portal_deliveries.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(context.portal_deliveries.objectValues()):\n for o in list(context.portal_deliveries.objectValues()):\n
o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2)\n o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id)\n
\n \n
# Next we index order builders\n # Next we index order builders\n
print "#### Indexing order builders ####"\n print "#### Indexing order builders ####"\n
context.portal_orders.reindexObject(tag=\'module\')\n context.portal_orders.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(context.portal_orders.objectValues()):\n for o in list(context.portal_orders.objectValues()):\n
o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2)\n o.reindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id)\n
\n \n
# Then we index everything except inventories\n # Then we index everything except inventories\n
for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",)):\n for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",)):\n
print "#### Indexing contents inside folder %s ####" % folder.id\n print "#### Indexing contents inside folder %s ####" % folder.id\n
if folder.getId() not in (\'inventory_module\',):\n if folder.getId() not in (\'inventory_module\',):\n
folder.reindexObject(tag=\'module\')\n folder.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(folder.objectValues()):\n for o in list(folder.objectValues()):\n
try:\n try:\n
o.recursiveReindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2)\n o.recursiveReindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id)\n
except:\n except:\n
#raise RuntimeError, o.getRelativeUrl()\n #raise RuntimeError, o.getRelativeUrl()\n
raise\n raise\n
...@@ -126,71 +126,74 @@ for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",) ...@@ -126,71 +126,74 @@ for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",)
for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",)):\n for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",)):\n
if folder.getId() in (\'inventory_module\',):\n if folder.getId() in (\'inventory_module\',):\n
print "#### Indexing contents inside folder %s ####" % folder.id\n print "#### Indexing contents inside folder %s ####" % folder.id\n
folder.reindexObject(tag=\'module\')\n folder.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id)\n
for o in list(folder.objectValues()):\n for o in list(folder.objectValues()):\n
o.recursiveReindexObject(after_tag=(\'module\',\'document\',\'category\'),tag=\'inventory\',priority=2)\n o.recursiveReindexObject(after_tag=(\'module\',\'document\',\'category\'),tag=\'inventory\',priority=2, sql_catalog_id=sql_catalog_id)\n
\n \n
# start activty from simulation because the erp5site is not an active object\n # start activty from simulation because the erp5site is not an active object\n
context.portal_simulation.activate(after_tag=(\'inventory\',\'simulation\'),priority=3).InventoryModule_reindexMovementList()\n context.portal_simulation.activate(after_tag=(\'inventory\',\'simulation\'),priority=3).InventoryModule_reindexMovementList(sql_catalog_id=sql_catalog_id)\n
\n \n
return printed\n return printed\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAoAAABfAAAAQwAA <value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGUAAGQBAIQBAFoBAGQAAFMoAgAAAE5jAQAAAAsAAABhAAAA
AHPuBQAAdAAAgwAAfQEAfAEABGQBAAJJSnQCAHQDAGQCAIMCAIMAAAF8AQAEZAMAAklKdAIAdAIA QwAAAHNmBgAAdAAAgwAAfQIAfAIABGQBAAJJSnQCAHQDAGQCAIMCAGQDAHwAAIMAAQF8AgAEZAQA
dAMAZAQAgwIAZAUAgwIAZAYAZAcAgwABAXhLAHQEAHQFAHQCAHQCAHQDAGQEAIMCAGQIAIMCAIMA AklKdAIAdAIAdAMAZAUAgwIAZAYAgwIAZAcAZAgAZAMAfAAAgwACAXhRAHQFAHQGAHQCAHQCAHQ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AAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxl aXRlX3JlaW5kZXhBbGwBAAAAc3IAAAAWARMCEAEfASgACQEjAhABHwEuAAkBLwMQAR8BKAAJATID
PgEAAABzAAAAAA==</string> </value> EAEfASgACQEvAxABHwEoAAkBLwMQAR8BKAAJAS8DEAEfASgACQEvAzQABgEXAR8BGQEfAAYBBgEy
AwMBOwM0AAYBHAEaARkBHwAJAUMDNAIoAgAAAHMEAAAATm9uZXMTAAAARVJQNVNpdGVfcmVpbmRl
eEFsbCgCAAAAcwQAAABOb25lcxMAAABFUlA1U2l0ZV9yZWluZGV4QWxsKAAAAAAoAAAAAHMPAAAA
U2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
...@@ -198,7 +201,7 @@ PgEAAABzAAAAAA==</string> </value> ...@@ -198,7 +201,7 @@ PgEAAABzAAAAAA==</string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string>sql_catalog_id=None</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -218,12 +221,13 @@ PgEAAABzAAAAAA==</string> </value> ...@@ -218,12 +221,13 @@ PgEAAABzAAAAAA==</string> </value>
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>sql_catalog_id</string>
<string>_print_</string> <string>_print_</string>
<string>_print</string> <string>_print</string>
<string>_getattr_</string> <string>_getattr_</string>
...@@ -245,7 +249,9 @@ PgEAAABzAAAAAA==</string> </value> ...@@ -245,7 +249,9 @@ PgEAAABzAAAAAA==</string> </value>
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<none/> <tuple>
<none/>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -66,13 +66,18 @@ ...@@ -66,13 +66,18 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>supported_languages = context.Localizer.get_supported_languages()\n <value> <string>from Products.ERP5Type.Document import newTempBase\n
\n
supported_languages = context.Localizer.get_supported_languages()\n
translated_keys = {} # This dict prevents entering the same key twice\n translated_keys = {} # This dict prevents entering the same key twice\n
\n \n
context.Translation_delete()\n context.portal_catalog.deleteTranslationList(sql_catalog_id=sql_catalog_id)\n
\n
i = 0\n
\n \n
# Translate every workflow state in the context of the state variable\n # Translate every workflow state in the context of the state variable\n
for wf in context.portal_workflow.objectValues():\n for wf in context.portal_workflow.objectValues():\n
object_list = []\n
state_var = wf.variables.getStateVar()\n state_var = wf.variables.getStateVar()\n
if wf.states:\n if wf.states:\n
for state_id, state in wf.states.items():\n for state_id, state in wf.states.items():\n
...@@ -80,9 +85,12 @@ for wf in context.portal_workflow.objectValues():\n ...@@ -80,9 +85,12 @@ for wf in context.portal_workflow.objectValues():\n
key = (lang, state_var, state_id)\n key = (lang, state_var, state_id)\n
if not translated_keys.has_key(key):\n if not translated_keys.has_key(key):\n
translated_keys[key] = None # mark as translated\n translated_keys[key] = None # mark as translated\n
context.Translation_addMessage(language=lang, message_context=state_var,\n obj = newTempBase(context, \'temp_translation_%d\' % i, \n
original_message = state_id,\n language=lang, message_context=state_var, original_message=state_id,\n
translated_message = context.translation_service.translate(\'ui\', state_id, target_language=lang).encode(\'utf-8\'))\n translated_message = context.translation_service.translate(\'ui\', state_id, target_language=lang).encode(\'utf-8\'))\n
obj.setUid(\'temp_%d\' % i)\n
i += 1\n
object_list.append(obj)\n
\n \n
# translate state title as well\n # translate state title as well\n
if state.title != \'\' :\n if state.title != \'\' :\n
...@@ -90,21 +98,36 @@ for wf in context.portal_workflow.objectValues():\n ...@@ -90,21 +98,36 @@ for wf in context.portal_workflow.objectValues():\n
translated_message = context.translation_service.translate(\'ui\', state.title, target_language=lang).encode(\'utf-8\')\n translated_message = context.translation_service.translate(\'ui\', state.title, target_language=lang).encode(\'utf-8\')\n
key = (lang, state_var_title, translated_message)\n key = (lang, state_var_title, translated_message)\n
if not translated_keys.has_key(key):\n if not translated_keys.has_key(key):\n
translated_keys[key] = None # mark as translated\n translated_keys[key] = None # mark as translated\n
context.Translation_addMessage(language=lang, message_context=state_var_title,\n obj = newTempBase(context, \'temp_translation_%d\' % i,\n
original_message = state_id, translated_message = translated_message )\n language=lang, message_context=state_var_title,\n
\n original_message = state_id, translated_message = translated_message )\n
obj.setUid(\'temp_%d\' % i)\n
i += 1\n
object_list.append(obj)\n
\n
if object_list:\n
context.portal_catalog.catalogTranslationList(object_list, sql_catalog_id=sql_catalog_id)\n
\n
# Translate every portal type in the context of the portal type \n # Translate every portal type in the context of the portal type \n
for ptype in context.portal_types.objectValues():\n for ptype in context.portal_types.objectValues():\n
title = ptype.title\n title = ptype.title\n
if not title: title = ptype.id\n if not title: title = ptype.id\n
object_list = []\n
for lang in supported_languages:\n for lang in supported_languages:\n
key = (lang, \'portal_type\', title)\n key = (lang, \'portal_type\', title)\n
if not translated_keys.has_key(key):\n if not translated_keys.has_key(key):\n
translated_keys[key] = None # mark as translated\n translated_keys[key] = None # mark as translated\n
context.Translation_addMessage(language=lang, message_context="portal_type",\n obj = newTempBase(context, \'temp_translation_%d\' % i,\n
original_message = title,\n language=lang, message_context="portal_type",\n
translated_message = context.translation_service.translate(\'ui\', title, target_language=lang).encode(\'utf-8\'))\n original_message = title,\n
translated_message = context.translation_service.translate(\'ui\', title, target_language=lang).encode(\'utf-8\'))\n
obj.setUid(\'temp_%d\' % i)\n
i += 1\n
object_list.append(obj)\n
\n
if object_list:\n
context.portal_catalog.catalogTranslationList(object_list, sql_catalog_id=sql_catalog_id)\n
\n \n
print \'Done\'\n print \'Done\'\n
return printed\n return printed\n
...@@ -112,44 +135,56 @@ return printed\n ...@@ -112,44 +135,56 @@ return printed\n
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAABMAAAAiAAAAQwAA <value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGUAAGQBAIQBAFoBAGQAAFMoAgAAAE5jAQAAABkAAAAkAAAA
AHNQAwAAdAAAgwAAfQEAdAIAdAIAdAMAZAEAgwIAZAIAgwIAgwAAfQQAaAAAfQUAdAIAdAMAZAMA QwAAAHN9BAAAdAAAgwAAfQIAZAEAawIAbAMAfQQAAXQEAHQEAHQFAGQCAIMCAGQDAIMCAIMAAH0H
gwIAgwAAAXj/AXQGAHQCAHQCAHQDAGQEAIMCAGQFAIMCAIMAAIMBAERd3AF9BwB0AgB0AgB8BwBk AGgAAH0IAHQEAHQEAHQFAGQEAIMCAGQFAIMCAGQGAHwAAIMAAQFkBwB9CQB4oAJ0CgB0BAB0BAB0
BgCDAgBkBwCDAgCDAAB9CAB0AgB8BwBkCACDAgBvqwEBeKgBdAYAdAIAdAIAfAcAZAgAgwIAZAkA BQBkCACDAgBkCQCDAgCDAACDAQBEXX0CfQsAZwAAfQwAdAQAdAQAfAsAZAoAgwIAZAsAgwIAgwAA
gwIAgwAAgwEARF2BAXQGAAKDAQBcAgB9CQB9CgB4awF0BgB8BACDAQBEXV0BfQsAfAsAfAgAfAkA fQ0AdAQAfAsAZAwAgwIAbxkCAXgWAnQKAHQEAHQEAHwLAGQMAIMCAGQNAIMCAIMAAIMBAERd7wF0
ZgMAfQwAdAIAfAUAZAoAgwIAfAwAgwEADG9sAAF0DQB0DgB8BQCDAQB8DAA8dAIAdAMAZAsAgwIA CgACgwEAXAIAfQ4AfQ8AeNkBdAoAfAcAgwEARF3LAX0QAHwQAHwNAHwOAGYDAH0R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wMAAABvYmpzDwAAAHN0YXRlX3Zhcl90aXRsZXMSAAAA
dHJhbnNsYXRlZF9tZXNzYWdlcwUAAABwdHlwZXMFAAAAdGl0bGUoAAAAACgAAAAAcw8AAABTY3Jp
cHQgKFB5dGhvbilzHwAAAEVSUDVTaXRlX3VwZGF0ZVRyYW5zbGF0aW9uVGFibGUBAAAAc3IAAAAW
AhsBDAIZAgYDIgAGAQYBHgENASIAEwENAAYBDwEXARABEAEbATMBFAENARQDFgEKAT8BDwEXARAB
EAEMARIBFAENASQCDQEkAyIABgEPARsBBgENAAYBDwEXARABEAEMAQ8BMwEUAQ0BGAINASQCCgEo
AgAAAHMEAAAATm9uZXMfAAAARVJQNVNpdGVfdXBkYXRlVHJhbnNsYXRpb25UYWJsZSgCAAAAcwQA
AABOb25lcx8AAABFUlA1U2l0ZV91cGRhdGVUcmFuc2xhdGlvblRhYmxlKAAAAAAoAAAAAHMPAAAA
U2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
...@@ -157,7 +192,7 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value> ...@@ -157,7 +192,7 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string>sql_catalog_id=None</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -177,20 +212,25 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value> ...@@ -177,20 +212,25 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>sql_catalog_id</string>
<string>_print_</string> <string>_print_</string>
<string>_print</string> <string>_print</string>
<string>Products.ERP5Type.Document</string>
<string>newTempBase</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>supported_languages</string> <string>supported_languages</string>
<string>translated_keys</string> <string>translated_keys</string>
<string>i</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>wf</string> <string>wf</string>
<string>object_list</string>
<string>state_var</string> <string>state_var</string>
<string>state_id</string> <string>state_id</string>
<string>state</string> <string>state</string>
...@@ -198,6 +238,7 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value> ...@@ -198,6 +238,7 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
<string>key</string> <string>key</string>
<string>None</string> <string>None</string>
<string>_write_</string> <string>_write_</string>
<string>obj</string>
<string>state_var_title</string> <string>state_var_title</string>
<string>translated_message</string> <string>translated_message</string>
<string>ptype</string> <string>ptype</string>
...@@ -213,7 +254,9 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value> ...@@ -213,7 +254,9 @@ AABTY3JpcHQgKFB5dGhvbilzCAAAADxtb2R1bGU+AQAAAHMAAAAA</string> </value>
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<none/> <tuple>
<none/>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -74,32 +74,36 @@ for o in [ x.getObject() for x in context.portal_catalog(\n ...@@ -74,32 +74,36 @@ for o in [ x.getObject() for x in context.portal_catalog(\n
portal_type = (\'Inventory Cell\',\'Inventory Line\')\n portal_type = (\'Inventory Cell\',\'Inventory Line\')\n
, limit = None\n , limit = None\n
, sort_on = [(\'movement.start_date\',\'ascending\')]\n , sort_on = [(\'movement.start_date\',\'ascending\')]\n
, sql_catalog_id = sql_catalog_id\n
)\n )\n
]:\n ]:\n
o.reindexObject( after_tag = \'inventory_%i\' % count\n o.reindexObject( after_tag = \'inventory_%i\' % count\n
, tag = \'inventory_%i\' % (count+1)\n , tag = \'inventory_%i\' % (count+1)\n
, sql_catalog_id = sql_catalog_id\n
)\n )\n
count += 1\n count += 1\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_code</string> </key> <key> <string>_code</string> </key>
<value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAAAAAAoAAAATAAAASwAA <value> <string encoding="base64">YwAAAAAAAAAAAgAAAEAAAABzEAAAAGUAAGQBAIQBAFoBAGQAAFMoAgAAAE5jAQAAAAsAAAAUAAAA
AHOzAAAAZAEAfQEAeKYAdAEAZwAABGkCAH0EAHQBAHQEAHQFAGQCAIMCAGQDAGQEAGQFAGYCAGQG SwAAAHO/AAAAZAEAfQIAeLIAdAEAZwAABGkCAH0FAHQBAHQEAHQFAGQCAIMCAGQDAGQEAGQFAGYC
AHQGAGQHAGQIAGQJAGYCAGcBAIMAA4MBAERdHAB9CAB8BAB0BAB8CABkCgCDAgCDAACDAQABcU0A AGQGAHQGAGQHAGQIAGQJAGYCAGcBAGQKAHwAAIMABIMBAERdHAB9CQB8BQB0BAB8CQBkCwCDAgCD
fgQAgwEARF04AH0JAHQEAHwJAGQLAIMCAGQMAGQNAHwBABZkDgBkDQB8AQBkAQAXFoMAAgF8AQBk AACDAQABcVMAfgUAgwEARF0+AH0KAHQEAHwKAGQMAIMCAGQNAGQOAHwCABZkDwBkDgB8AgBkAQAX
AQA3fQEAcXMAV2QAAFMoDwAAAE5pAQAAAHMOAAAAcG9ydGFsX2NhdGFsb2dzCwAAAHBvcnRhbF90 FmQK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WxvZ19pZHMCAAAAa3dzBQAAAGNvdW50cwkAAABfZ2V0aXRlcl9zBgAAAGFwcGVuZHMIAAAAJGFw
dCAoUHl0aG9uKXMjAAAASW52ZW50b3J5TW9kdWxlX3JlaW5kZXhNb3ZlbWVudExpc3QBAAAAcxAA cGVuZDBzCQAAAF9nZXRhdHRyX3MHAAAAY29udGV4dHMEAAAATm9uZXMBAAAAeHMBAAAAbygAAAAA
AAAAAQYDIgEMAQYBQgMZAQwCKAEAAABzIwAAAEludmVudG9yeU1vZHVsZV9yZWluZGV4TW92ZW1l KAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMjAAAASW52ZW50b3J5TW9kdWxlX3JlaW5kZXhNb3Zl
bnRMaXN0KAEAAABzIwAAAEludmVudG9yeU1vZHVsZV9yZWluZGV4TW92ZW1lbnRMaXN0KAAAAAAo bWVudExpc3QBAAAAcxQAAAAAAQYDIgEMAQYBDwE5AxkBCwEHAigCAAAAcwQAAABOb25lcyMAAABJ
AAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </value> bnZlbnRvcnlNb2R1bGVfcmVpbmRleE1vdmVtZW50TGlzdCgCAAAAcwQAAABOb25lcyMAAABJbnZl
bnRvcnlNb2R1bGVfcmVpbmRleE1vdmVtZW50TGlzdCgAAAAAKAAAAABzDwAAAFNjcmlwdCAoUHl0
aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
</item> </item>
<item> <item>
<key> <string>_filepath</string> </key> <key> <string>_filepath</string> </key>
...@@ -107,7 +111,7 @@ AAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </valu ...@@ -107,7 +111,7 @@ AAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </valu
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>**kw</string> </value> <value> <string>sql_catalog_id=None, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -127,19 +131,20 @@ AAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </valu ...@@ -127,19 +131,20 @@ AAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </valu
<dictionary> <dictionary>
<item> <item>
<key> <string>co_argcount</string> </key> <key> <string>co_argcount</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>co_varnames</string> </key> <key> <string>co_varnames</string> </key>
<value> <value>
<tuple> <tuple>
<string>sql_catalog_id</string>
<string>kw</string> <string>kw</string>
<string>count</string> <string>count</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>append</string> <string>append</string>
<string>$append0</string> <string>$append0</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>None</string> <string>None</string>
<string>x</string> <string>x</string>
<string>o</string> <string>o</string>
...@@ -154,7 +159,9 @@ AAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </valu ...@@ -154,7 +159,9 @@ AAAAAHMPAAAAU2NyaXB0IChQeXRob24pcwgAAAA8bW9kdWxlPgEAAABzAAAAAA==</string> </valu
<item> <item>
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<none/> <tuple>
<none/>
</tuple>
</value> </value>
</item> </item>
<item> <item>
......
...@@ -15,16 +15,7 @@ ...@@ -15,16 +15,7 @@
<item> <item>
<key> <string>__ac_local_roles__</string> </key> <key> <string>__ac_local_roles__</string> </key>
<value> <value>
<dictionary> <none/>
<item>
<key> <string>alex</string> </key>
<value>
<list>
<string>Owner</string>
</list>
</value>
</item>
</dictionary>
</value> </value>
</item> </item>
<item> <item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ZSQLMethods.SQL</string>
<string>SQL</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_arg</string> </key>
<value>
<object>
<klass>
<global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_data</string> </key>
<value>
<dictionary>
<item>
<key> <string>language</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>message_context</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>original_message</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>translated_message</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>_keys</string> </key>
<value>
<list>
<string>language</string>
<string>message_context</string>
<string>original_message</string>
<string>translated_message</string>
</list>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>language\r\n
message_context\r\n
original_message\r\n
translated_message</string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Translation_addMessage</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
INSERT INTO translation VALUES \n
(\n
<dtml-sqlvar "language" type="string">,\n
<dtml-sqlvar "message_context" type="string">,\n
<dtml-sqlvar "original_message" type="string">,\n
<dtml-sqlvar "translated_message" type="string">\n
)\n
]]></string> </value>
</item>
<item>
<key> <string>template</string> </key>
<value>
<object>
<klass>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</klass>
<none/>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string encoding="cdata"><![CDATA[
<string>
]]></string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>raw</string> </key>
<value> <string encoding="cdata"><![CDATA[
INSERT INTO translation VALUES \n
(\n
<dtml-sqlvar "language" type="string">,\n
<dtml-sqlvar "message_context" type="string">,\n
<dtml-sqlvar "original_message" type="string">,\n
<dtml-sqlvar "translated_message" type="string">\n
)\n
]]></string> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ZSQLMethods.SQL</string>
<string>SQL</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_arg</string> </key>
<value>
<object>
<klass>
<global name="Args" module="Shared.DC.ZRDB.Aqueduct"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_data</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>_keys</string> </key>
<value>
<list/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Translation_delete</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string>delete from translation</string> </value>
</item>
<item>
<key> <string>template</string> </key>
<value>
<object>
<klass>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</klass>
<none/>
<state>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string encoding="cdata"><![CDATA[
<string>
]]></string> </value>
</item>
<item>
<key> <string>_vars</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>globals</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>raw</string> </key>
<value> <string>delete from translation</string> </value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -104,7 +104,7 @@ cwYAAABvYmplY3RzCQAAAGdldFBvcnRhbGMBAAAAAwAAAAMAAAADAAAAcxoAAAB0AACIAABkAQCD ...@@ -104,7 +104,7 @@ cwYAAABvYmplY3RzCQAAAGdldFBvcnRhbGMBAAAAAwAAAAMAAAADAAAAcxoAAAB0AACIAABkAQCD
AgBkAgCIAAAWfAAAgwIAUygDAAAATnMDAAAAbG9nczAAAABQcmVmZXJlbmNlV29ya2Zsb3cuZGlz AgBkAgCIAAAWfAAAgwIAUygDAAAATnMDAAAAbG9nczAAAABQcmVmZXJlbmNlV29ya2Zsb3cuZGlz
YWJsZU90aGVyUHJlZmVyZW5jZXMgb24gJXMoAwAAAHMJAAAAX2dldGF0dHJfcwQAAABwcmVmcwMA YWJsZU90aGVyUHJlZmVyZW5jZXMgb24gJXMoAwAAAHMJAAAAX2dldGF0dHJfcwQAAABwcmVmcwMA
AABtc2coAwAAAHMDAAAAbXNncwkAAABfZ2V0YXR0cl9zBAAAAHByZWYoAQAAAHMEAAAAcHJlZigA AABtc2coAwAAAHMDAAAAbXNncwkAAABfZ2V0YXR0cl9zBAAAAHByZWYoAQAAAHMEAAAAcHJlZigA
AAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCgAAADxsYW1iZGEuNT4FAAAAcwAAAABzEgAAAHBvcnRh AAAAcw8AAABTY3JpcHQgKFB5dGhvbilzCgAAADxsYW1iZGEuMT4FAAAAcwAAAABzEgAAAHBvcnRh
bF9wcmVmZXJlbmNlc3MMAAAAc2VhcmNoRm9sZGVycwQAAABzcGVjcw8AAABFUlA1IFByZWZlcmVu bF9wcmVmZXJlbmNlc3MMAAAAc2VhcmNoRm9sZGVycwQAAABzcGVjcw8AAABFUlA1IFByZWZlcmVu
Y2VzCQAAAGdldE9iamVjdHMRAAAAcG9ydGFsX21lbWJlcnNoaXBzFgAAAGdldEF1dGhlbnRpY2F0 Y2VzCQAAAGdldE9iamVjdHMRAAAAcG9ydGFsX21lbWJlcnNoaXBzFgAAAGdldEF1dGhlbnRpY2F0
ZWRNZW1iZXJzBwAAAGFsbG93ZWRzBQAAAE93bmVycwgAAABBc3NpZ25vcnMSAAAAZ2V0UHJlZmVy ZWRNZW1iZXJzBwAAAGFsbG93ZWRzBQAAAE93bmVycwgAAABBc3NpZ25vcnMSAAAAZ2V0UHJlZmVy
......
2005-12-20 yo
* Add an optional parameter sql_catalog_id into ERP5Site_reindexAll, ERP5Site_updateTranslationTable, and InventoryModule_reindexMovementList, and pass sql_catalog_id to catalog methods.
* ERP5Site_updateTranslationTable does not use Translation_addMessage or Translation_delete any longer. Instead, use portal_catalog.
* Remove Translation_addMessage and Translation_delete.
2005-12-19 Seb 2005-12-19 Seb
* added sub_variation_text in Resource_zGetInventoryList * added sub_variation_text in Resource_zGetInventoryList
* added category type 'sub_variation' on * added category type 'sub_variation' on
aggregate BaseCategory_view
2005-12-19 Jerome 2005-12-19 Jerome
* fix omit_input / omit_output in Resource_zStatInventory. * fix omit_input / omit_output in Resource_zStatInventory.
......
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