Commit 767bc178 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_acccounting: Fix comparation of indexation_timestamp and extend the limit to 10k

parent 0f2485d3
...@@ -10,6 +10,6 @@ WHERE ...@@ -10,6 +10,6 @@ WHERE
AND catalog.uid = open_sale_order_line_catalog.parent_uid AND catalog.uid = open_sale_order_line_catalog.parent_uid
AND catalog.validation_state IN ('draft', 'validated', 'archived') AND catalog.validation_state IN ('draft', 'validated', 'archived')
AND open_sale_order_line_catalog.portal_type = "Open Sale Order Line" AND open_sale_order_line_catalog.portal_type = "Open Sale Order Line"
AND open_sale_order_line_catalog.indexation_timestamp >= catalog.indexation_timestamp AND open_sale_order_line_catalog.indexation_timestamp > catalog.indexation_timestamp
group by group by
catalog.uid catalog.uid
...@@ -49,10 +49,32 @@ ...@@ -49,10 +49,32 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>arguments_src</string> </key> <key> <string>arguments_src</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>cache_time_</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>class_name_</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>connection_hook</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>connection_id</string> </key> <key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value> <value> <string>erp5_sql_connection</string> </value>
...@@ -61,6 +83,14 @@ ...@@ -61,6 +83,14 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>ERP5Site_zGetOpenOrderWithModifiedLineUid</string> </value> <value> <string>ERP5Site_zGetOpenOrderWithModifiedLineUid</string> </value>
</item> </item>
<item>
<key> <string>max_cache_</string> </key>
<value> <int>100</int> </value>
</item>
<item>
<key> <string>max_rows_</string> </key>
<value> <int>10000</int> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
......
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