diff --git a/modules/account_statement/statement.py b/modules/account_statement/statement.py index a47a5e4f70..f67a8b6160 100644 --- a/modules/account_statement/statement.py +++ b/modules/account_statement/statement.py @@ -671,7 +671,7 @@ def origin_mixin(_states): account = fields.Many2One( 'account.account', "Account", domain=[ - ('company', '=', Eval('company', 0)), + ('company', '=', Eval('company', -1)), ('type', '!=', None), ('closed', '!=', True), ],