mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Add issue12560.diff
This commit is contained in:
parent
36a16f4d6d
commit
1c4262d4d4
2 changed files with 15 additions and 0 deletions
13
issue12560.diff
Normal file
13
issue12560.diff
Normal 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
2
series
|
@ -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)
|
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.
|
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
|
||||||
|
|
Loading…
Reference in a new issue