[FIX] point_of_sale: generate bank statement with commerical partner
authorMartin Trigaux <mat@openerp.com>
Fri, 22 Aug 2014 13:29:23 +0000 (15:29 +0200)
committerMartin Trigaux <mat@openerp.com>
Fri, 22 Aug 2014 13:29:23 +0000 (15:29 +0200)
commit73546f70ca16ff9bcb51d62273ac3ec6b810e6c4
tree9c4d226b68bf685faa63ba2365ba01b5651779ab
parentb160f99e2d0e5eb2de176f3e3dbcd7f3aa843c22
[FIX] point_of_sale: generate bank statement with commerical partner

When a pos session is closed & confirmed, the account.move were generated with the commercial partner except for the bank statement which prevented automatic reconciliation.
This patch uses the commercial partner also for bank statement.
Fixes #1558, #1764
addons/point_of_sale/point_of_sale.py