[FIX] point_of_sale: #1558 The partner was not correctly identified on the bank statement line, creating open balances on the partner account

This commit is contained in:
Frederic van der Essen 2014-08-11 18:01:49 +02:00
parent fda1e7d290
commit d91263d03e
1 changed files with 1 additions and 0 deletions

View File

@ -464,6 +464,7 @@ class pos_session(osv.osv):
'amount': st.difference,
'ref': record.name,
'name': name,
'partner_id': order.partner_id and order.partner_id.id or False,
}, context=context)
if st.journal_id.type == 'bank':