[Erp5-report] r9279 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Aug 21 14:18:59 CEST 2006
Author: jerome
Date: Mon Aug 21 14:18:54 2006
New Revision: 9279
URL: http://svn.erp5.org?rev=9279&view=rev
Log:
do not translate in SQL for Resource_zGetMovementHistoryList
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml?rev=9279&r1=9278&r2=9279&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml Mon Aug 21 14:18:54 2006
@@ -563,6 +563,12 @@
</value>
</item>
<item>
+ <key> <string>_owner</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value>
<none/>
@@ -630,7 +636,6 @@
stock.quantity AS total_quantity,\n
stock.variation_text AS variation_text,\n
stock.simulation_state AS simulation_state,\n
- translation.translated_message as translated_simulation_state_title,\n
node.uid AS node_uid,\n
node.title AS node_title,\n
node.relative_url AS node_relative_url,\n
@@ -639,7 +644,7 @@
section.relative_url AS section_relative_url\n
\n
FROM\n
- translation, stock\n
+ stock\n
LEFT JOIN catalog AS section ON (section.uid = stock.section_uid)\n
<dtml-in prefix="table" expr="from_table_list"> \n
<dtml-if expr="table_key != \'stock\'">\n
@@ -658,10 +663,6 @@
\n
AND node.uid = stock.node_uid\n
AND resource.uid = stock.resource_uid\n
-\n
- AND translation.original_message = stock.simulation_state \n
- AND translation.message_context = \'simulation_state_title\'\n
- AND translation.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string">\n
\n
<dtml-if omit_input>\n
AND stock.quantity < 0\n
@@ -765,7 +766,6 @@
stock.quantity AS total_quantity,\n
stock.variation_text AS variation_text,\n
stock.simulation_state AS simulation_state,\n
- translation.translated_message as translated_simulation_state_title,\n
node.uid AS node_uid,\n
node.title AS node_title,\n
node.relative_url AS node_relative_url,\n
@@ -774,7 +774,7 @@
section.relative_url AS section_relative_url\n
\n
FROM\n
- translation, stock\n
+ stock\n
LEFT JOIN catalog AS section ON (section.uid = stock.section_uid)\n
<dtml-in prefix="table" expr="from_table_list"> \n
<dtml-if expr="table_key != \'stock\'">\n
@@ -793,10 +793,6 @@
\n
AND node.uid = stock.node_uid\n
AND resource.uid = stock.resource_uid\n
-\n
- AND translation.original_message = stock.simulation_state \n
- AND translation.message_context = \'simulation_state_title\'\n
- AND translation.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string">\n
\n
<dtml-if omit_input>\n
AND stock.quantity < 0\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=9279&r1=9278&r2=9279&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Mon Aug 21 14:18:54 2006
@@ -1,1 +1,1 @@
-40
+41
More information about the Erp5-report
mailing list