Commit 17c8cdee authored by Kevin Deldycke's avatar Kevin Deldycke

Remove suffix "transaction_" of query parameters to prepare the full migration...

Remove suffix "transaction_" of query parameters to prepare the full migration of accouting stuff to getInventory API.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6417 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e6895ad2
......@@ -106,37 +106,31 @@
</value>
</item>
<item>
<key> <string>selection</string> </key>
<key> <string>section_category</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>selection_domain</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>selection_report</string> </key>
<key> <string>selection</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>to_date</string> </key>
<key> <string>selection_domain</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>transaction_section_category</string> </key>
<key> <string>selection_report</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>transaction_simulation_state</string> </key>
<key> <string>simulation_state</string> </key>
<value>
<dictionary>
<item>
......@@ -146,6 +140,12 @@
</dictionary>
</value>
</item>
<item>
<key> <string>to_date</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>where_expression</string> </key>
<value>
......@@ -170,8 +170,8 @@
<string>from_date</string>
<string>to_date</string>
<string>at_date</string>
<string>transaction_simulation_state</string>
<string>transaction_section_category</string>
<string>simulation_state</string>
<string>section_category</string>
<string>payment_uid</string>
<string>no_payment_uid</string>
<string>mirror_section_uid</string>
......@@ -215,8 +215,8 @@ resource_uid:list\r\n
from_date\r\n
to_date\r\n
at_date\r\n
transaction_simulation_state:list\r\n
transaction_section_category\r\n
simulation_state:list\r\n
section_category\r\n
payment_uid\r\n
no_payment_uid\r\n
mirror_section_uid\r\n
......@@ -332,9 +332,9 @@ WHERE stock.node_uid = <dtml-var getUid>\n
<dtml-if no_mirror_section_uid>\n
AND stock.mirror_section_uid IS NULL\n
</dtml-if>\n
<dtml-if transaction_simulation_state>\n
<dtml-if simulation_state>\n
AND (\n
<dtml-in transaction_simulation_state>\n
<dtml-in simulation_state>\n
transaction.simulation_state = <dtml-sqlvar sequence-item type="string">\n
<dtml-if sequence-end><dtml-else> OR </dtml-if>\n
</dtml-in>\n
......@@ -344,9 +344,9 @@ WHERE stock.node_uid = <dtml-var getUid>\n
AND transaction.simulation_state != \'draft\' \n
</dtml-if>\n
AND section.uid = stock.section_uid\n
<dtml-if transaction_section_category>\n
<dtml-if section_category>\n
AND section_c.relative_url = <dtml-sqlvar\n
transaction_section_category type="string">\n
section_category type="string">\n
</dtml-if>\n
AND section_membership.category_uid = section_c.uid\n
AND section_membership.base_category_uid = section_bc.uid\n
......@@ -475,9 +475,9 @@ WHERE stock.node_uid = <dtml-var getUid>\n
<dtml-if no_mirror_section_uid>\n
AND stock.mirror_section_uid IS NULL\n
</dtml-if>\n
<dtml-if transaction_simulation_state>\n
<dtml-if simulation_state>\n
AND (\n
<dtml-in transaction_simulation_state>\n
<dtml-in simulation_state>\n
transaction.simulation_state = <dtml-sqlvar sequence-item type="string">\n
<dtml-if sequence-end><dtml-else> OR </dtml-if>\n
</dtml-in>\n
......@@ -487,9 +487,9 @@ WHERE stock.node_uid = <dtml-var getUid>\n
AND transaction.simulation_state != \'draft\' \n
</dtml-if>\n
AND section.uid = stock.section_uid\n
<dtml-if transaction_section_category>\n
<dtml-if section_category>\n
AND section_c.relative_url = <dtml-sqlvar\n
transaction_section_category type="string">\n
section_category type="string">\n
</dtml-if>\n
AND section_membership.category_uid = section_c.uid\n
AND section_membership.base_category_uid = section_bc.uid\n
......
......@@ -105,26 +105,26 @@
</value>
</item>
<item>
<key> <string>stat</string> </key>
<key> <string>simulation_state</string> </key>
<value>
<dictionary/>
<dictionary>
<item>
<key> <string>type</string> </key>
<value> <string>list</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>to_date</string> </key>
<key> <string>stat</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>transaction_simulation_state</string> </key>
<key> <string>to_date</string> </key>
<value>
<dictionary>
<item>
<key> <string>type</string> </key>
<value> <string>list</string> </value>
</item>
</dictionary>
<dictionary/>
</value>
</item>
</dictionary>
......@@ -143,7 +143,7 @@
<string>from_date</string>
<string>at_date</string>
<string>to_date</string>
<string>transaction_simulation_state</string>
<string>simulation_state</string>
<string>node_uid</string>
<string>stat</string>
</list>
......@@ -177,7 +177,7 @@ resource_uid:list\r\n
from_date\r\n
at_date\r\n
to_date\r\n
transaction_simulation_state:list\r\n
simulation_state:list\r\n
node_uid:list\r\n
stat</string> </value>
</item>
......@@ -291,9 +291,9 @@ WHERE stock.section_uid = <dtml-var getParentUid>\n
<dtml-if omit_output>\n
AND stock.quantity < 0\n
</dtml-if>\n
<dtml-if transaction_simulation_state>\n
<dtml-if simulation_state>\n
AND (\n
<dtml-in transaction_simulation_state>\n
<dtml-in simulation_state>\n
catalog.simulation_state = <dtml-sqlvar sequence-item type="string">\n
<dtml-unless sequence-end> OR </dtml-unless>\n
</dtml-in>\n
......@@ -418,9 +418,9 @@ WHERE stock.section_uid = <dtml-var getParentUid>\n
<dtml-if omit_output>\n
AND stock.quantity < 0\n
</dtml-if>\n
<dtml-if transaction_simulation_state>\n
<dtml-if simulation_state>\n
AND (\n
<dtml-in transaction_simulation_state>\n
<dtml-in simulation_state>\n
catalog.simulation_state = <dtml-sqlvar sequence-item type="string">\n
<dtml-unless sequence-end> OR </dtml-unless>\n
</dtml-in>\n
......
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