[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:
parent
fda1e7d290
commit
d91263d03e
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue