Commit a97a8e41 authored by Jérome Perrin's avatar Jérome Perrin

do not translate in SQL for Resource_zGetMovementHistoryList


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9279 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aa15d9b4
No related merge requests found
...@@ -562,6 +562,12 @@ ...@@ -562,6 +562,12 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>allow_simple_one_argument_traversal</string> </key> <key> <string>allow_simple_one_argument_traversal</string> </key>
<value> <value>
...@@ -630,7 +636,6 @@ SELECT\n ...@@ -630,7 +636,6 @@ SELECT\n
stock.quantity AS total_quantity,\n stock.quantity AS total_quantity,\n
stock.variation_text AS variation_text,\n stock.variation_text AS variation_text,\n
stock.simulation_state AS simulation_state,\n stock.simulation_state AS simulation_state,\n
translation.translated_message as translated_simulation_state_title,\n
node.uid AS node_uid,\n node.uid AS node_uid,\n
node.title AS node_title,\n node.title AS node_title,\n
node.relative_url AS node_relative_url,\n node.relative_url AS node_relative_url,\n
...@@ -639,7 +644,7 @@ SELECT\n ...@@ -639,7 +644,7 @@ SELECT\n
section.relative_url AS section_relative_url\n section.relative_url AS section_relative_url\n
\n \n
FROM\n FROM\n
translation, stock\n stock\n
LEFT JOIN catalog AS section ON (section.uid = stock.section_uid)\n LEFT JOIN catalog AS section ON (section.uid = stock.section_uid)\n
<dtml-in prefix="table" expr="from_table_list"> \n <dtml-in prefix="table" expr="from_table_list"> \n
<dtml-if expr="table_key != \'stock\'">\n <dtml-if expr="table_key != \'stock\'">\n
...@@ -658,10 +663,6 @@ WHERE\n ...@@ -658,10 +663,6 @@ WHERE\n
\n \n
AND node.uid = stock.node_uid\n AND node.uid = stock.node_uid\n
AND resource.uid = stock.resource_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 \n
<dtml-if omit_input>\n <dtml-if omit_input>\n
AND stock.quantity < 0\n AND stock.quantity < 0\n
...@@ -765,7 +766,6 @@ SELECT\n ...@@ -765,7 +766,6 @@ SELECT\n
stock.quantity AS total_quantity,\n stock.quantity AS total_quantity,\n
stock.variation_text AS variation_text,\n stock.variation_text AS variation_text,\n
stock.simulation_state AS simulation_state,\n stock.simulation_state AS simulation_state,\n
translation.translated_message as translated_simulation_state_title,\n
node.uid AS node_uid,\n node.uid AS node_uid,\n
node.title AS node_title,\n node.title AS node_title,\n
node.relative_url AS node_relative_url,\n node.relative_url AS node_relative_url,\n
...@@ -774,7 +774,7 @@ SELECT\n ...@@ -774,7 +774,7 @@ SELECT\n
section.relative_url AS section_relative_url\n section.relative_url AS section_relative_url\n
\n \n
FROM\n FROM\n
translation, stock\n stock\n
LEFT JOIN catalog AS section ON (section.uid = stock.section_uid)\n LEFT JOIN catalog AS section ON (section.uid = stock.section_uid)\n
<dtml-in prefix="table" expr="from_table_list"> \n <dtml-in prefix="table" expr="from_table_list"> \n
<dtml-if expr="table_key != \'stock\'">\n <dtml-if expr="table_key != \'stock\'">\n
...@@ -793,10 +793,6 @@ WHERE\n ...@@ -793,10 +793,6 @@ WHERE\n
\n \n
AND node.uid = stock.node_uid\n AND node.uid = stock.node_uid\n
AND resource.uid = stock.resource_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 \n
<dtml-if omit_input>\n <dtml-if omit_input>\n
AND stock.quantity < 0\n AND stock.quantity < 0\n
......
40 41
\ 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