From 3436eabdff9c95bba346a41246f34feeb5e93376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 24 Mar 2019 18:00:01 +0100 Subject: [PATCH] Merge account kind and account type issue4990 review68401002 --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index cf4d2bef21..792cf1574f 100644 --- a/account.py +++ b/account.py @@ -285,7 +285,7 @@ class StatementRuleLine(sequence_ordered(), ModelSQL, ModelView): 'account.account', "Account", domain=[ ('company', '=', Eval('company')), - ('kind', '!=', 'view'), + ('type', '!=', None), ], states={ 'readonly': ~Eval('company'),