Use -1 as fallback value for company in account domain of statement line
This commit is contained in:
@@ -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),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user