From 6c87bd07dddd495609c58e5410bd94648494c46d Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Tue, 28 Feb 2017 11:55:52 +0100 Subject: [PATCH] FIX search account_invoice_multisequence module when state is activated --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index 37ea220..9d4b537 100644 --- a/invoice.py +++ b/invoice.py @@ -83,7 +83,7 @@ class Invoice: account_invoice_sequence_module_installed = Module.search([ ('name', '=', 'account_invoice_multisequence'), - ('state', '=', 'installed'), + ('state', '=', 'activated'), ]) if account_invoice_sequence_module_installed: where &= (table.journal == invoice.journal.id)