How to reproduce
- create two companies A and B
- create a partner P with no company_id
- create a non admin user U and sets its preferences to company A
- from now on, use user U, not admin
- create invoices and unreconciled payments for partner P on company A
- go to Manual Reconcile and view entries to reconcile for partner P
- now change the user preference to company B
- go to Manual Reconcile and view entries to reconcile: the partner P is proposed in the list of partners to reconcile but no entries are visible
This is due to the query in list_partners_to_reconcile() in account/account_move_line.py which is not multi-company aware.
How to reproduce
- create two companies A and B
- create a partner P with no company_id
- create a non admin user U and sets its preferences to company A
- from now on, use user U, not admin
- create invoices and unreconciled payments for partner P on company A
- go to Manual Reconcile and view entries to reconcile for partner P
- now change the user preference to company B
- go to Manual Reconcile and view entries to reconcile: the partner P is proposed in the list of partners to reconcile but no entries are visible
This is due to the query in list_partners_ to_reconcile( ) in account/ account_ move_line. py which is not multi-company aware.