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
Pipeline #25701 failed with stage
in 0 seconds
......@@ -40,19 +40,19 @@
</item>
<item>
<key> <string>expression</string> </key>
<value> <string>python: context.isAccountingTransactionType()</string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>expression_cache_key</string> </key>
<value>
<tuple>
<string>portal_type</string>
</tuple>
<tuple/>
</value>
</item>
<item>
<key> <string>filtered</string> </key>
<value> <int>1</int> </value>
<value> <int>0</int> </value>
</item>
<item>
<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