From 307317dc2df6741269d0497757fbaa01ca5e080f Mon Sep 17 00:00:00 2001 From: Richard Mathot Date: Mon, 26 Jun 2017 16:48:52 +0200 Subject: [PATCH] [FIX] l10n_fr_certification: right domain on an integer field --- addons/l10n_fr_certification/models/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/l10n_fr_certification/models/account.py b/addons/l10n_fr_certification/models/account.py index ecb0f5aff8b..bef0880d7ca 100644 --- a/addons/l10n_fr_certification/models/account.py +++ b/addons/l10n_fr_certification/models/account.py @@ -102,7 +102,7 @@ class AccountMove(models.Model): """ moves = self.search([('state', '=', 'posted'), ('company_id', '=', company_id), - ('l10n_fr_secure_sequence_number', '!=', False)], + ('l10n_fr_secure_sequence_number', '!=', 0)], order="l10n_fr_secure_sequence_number ASC") if not moves: