Add issue12560.diff

This commit is contained in:
Albert Cervera i Areny 2023-09-12 17:12:30 +02:00
parent 36a16f4d6d
commit 1c4262d4d4
2 changed files with 15 additions and 0 deletions

13
issue12560.diff Normal file
View File

@ -0,0 +1,13 @@
diff --git a/tryton/trytond/trytond/modules/analytic_account/account.py b/tryton/trytond/trytond/modules/analytic_account/account.py
index ef063970ec..b2fa817eb7 100644
--- a/tryton/trytond/trytond/modules/analytic_account/account.py
+++ b/tryton/trytond/trytond/modules/analytic_account/account.py
@@ -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 = [

2
series
View File

@ -23,3 +23,5 @@ statement_of_account.diff # [account] Cumulate balance of previous fiscal years
issue11731.diff # [currency] currency test don't pass when Currency Rates Source Not Ready (forex)
counterpart_party_payment_clearing.diff # [account_payment_clearing] Add the possiblity to have a party in the counterpart move when reconcile on a payment.
issue12560.diff # [analytic_account] check_move_domain() check in analytic_account, must use analytic_account.line instead of account.move.line