diff --git a/modules/purchase_trade/dashboard.py b/modules/purchase_trade/dashboard.py index 95911f1..2d01385 100755 --- a/modules/purchase_trade/dashboard.py +++ b/modules/purchase_trade/dashboard.py @@ -280,7 +280,7 @@ class Dashboard(ModelSQL, ModelView): invs = Invoice.search(['type','=','out']) inv_s = len(invs) AccountMove = Pool().get('account.move') - accs = AccountMove.search(['id','>',0]) + accs = AccountMove.search(['journal','=',3]) move_cash = len(accs) return (