Use analytic move line to check move domain

Closes #12560
This commit is contained in:
Cédric Krier committed 2023-09-12 18:39:15 +02:00
1 parent b0ea6003e9
commit 50171f58c8
1 file changed
+1 -1
+1 -1
View File
@@ -143,7 +143,7 @@ class Account(
@classmethod
def check_move_domain(cls, accounts, field_names):
pool = Pool()
Line = pool.get('account.move.line')
Line = pool.get('analytic_account.line')
if field_names and 'type' not in field_names:
return
accounts = [