[FIX] assignement

This commit is contained in:
unknown
2013-04-22 08:23:45 +02:00
parent 18e7ff815a
commit 7f56881f74

View File

@@ -187,7 +187,7 @@ class AccountStatementProfil(Model):
{'profile_id': prof.id},
context=context)
if prof.receivable_account_id:
account_receivable, account_payable = prof.receivable_account_id.id
account_receivable = account_payable = prof.receivable_account_id.id
else:
account_receivable, account_payable = statement_obj.get_default_pay_receiv_accounts(
cr, uid, context)