mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] assignement
This commit is contained in:
@@ -187,7 +187,7 @@ class AccountStatementProfil(Model):
|
|||||||
{'profile_id': prof.id},
|
{'profile_id': prof.id},
|
||||||
context=context)
|
context=context)
|
||||||
if prof.receivable_account_id:
|
if prof.receivable_account_id:
|
||||||
account_receivable, account_payable = prof.receivable_account_id.id
|
account_receivable = account_payable = prof.receivable_account_id.id
|
||||||
else:
|
else:
|
||||||
account_receivable, account_payable = statement_obj.get_default_pay_receiv_accounts(
|
account_receivable, account_payable = statement_obj.get_default_pay_receiv_accounts(
|
||||||
cr, uid, context)
|
cr, uid, context)
|
||||||
|
|||||||
Reference in New Issue
Block a user