Commit 0e55c500 authored by Vincent Pelletier's avatar Vincent Pelletier

z0_uncatalog_accounting_transaction: Drop filter expression

Unindexation happens in a transation after the corresponding document was
deleted. So there is no context available to check the type of the deleted
document. So these filter expressions are meaningless.
parent 99982a35
...@@ -40,19 +40,19 @@ ...@@ -40,19 +40,19 @@
</item> </item>
<item> <item>
<key> <string>expression</string> </key> <key> <string>expression</string> </key>
<value> <string>python: context.isAccountingTransactionType()</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>expression_cache_key</string> </key> <key> <string>expression_cache_key</string> </key>
<value> <value>
<tuple> <tuple/>
<string>portal_type</string>
</tuple>
</value> </value>
</item> </item>
<item> <item>
<key> <string>filtered</string> </key> <key> <string>filtered</string> </key>
<value> <int>1</int> </value> <value> <int>0</int> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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