From b5a7bf7024756f8c9971b8f229e61dcdf0acc7d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 9 Oct 2015 09:31:06 +0200 Subject: [PATCH] accounting: fix a minor typo affecting account module stat columns under rare conditions When searching accounts by validation state, the stat of number of movements on an account could be wrong --- .../AccountModule_getAccountingTransactionCount.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml index e69e46e1a2..55a92de100 100644 --- a/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml +++ b/bt5/erp5_accounting/SkinTemplateItem/portal_skins/erp5_accounting/AccountModule_getAccountingTransactionCount.xml @@ -71,7 +71,7 @@ if kw.get(\'stat\'):\n elif \'title\' in selection_params or \\\n \'preferred_gap_id\' in selection_params or\\\n \'id\' in selection_params or \\\n - \'transalated_validation_state_title\' in selection_params:\n + \'translated_validation_state_title\' in selection_params:\n selection_params[\'ignore_unknown_columns\'] = True\n # if yes, apply the same filter here\n kwd[\'stock.node_uid\'] = [x.uid for x in\n -- 2.30.9