Files
odoo_source/addons
Guillaume (guva) 924ffcaa52 [FIX] account: adapt query for items to reconcile
Changing the bank account on the bank journal led
to a traceback (expected singleton on currency_id)
when trying to open the reconciliation widget.
This is because we are trying to open a blank line
as the origin line was linked to the origin Bank account,
therefore there is no currency_id.

It has been decided to filter the statement line that
match the bank account and to adapt the action button.

Steps to reproduce:

- Create a bank statement line
- In Bank journal, change the Bank Account
- From Accounting Dashboard, click on "Reconcile X items" or
  just open the Bank Journal
-> Traceback (expected singleton)

opw-3085670

closes odoo/odoo#107441

X-original-commit: c566a48c5bc528a140e6f29399ca1fbcede60490
Related: odoo/enterprise#34762
Signed-off-by: Quentin De Paoli <qdp@odoo.com>
Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
2022-12-08 09:44:56 +01:00
..
2022-10-19 16:09:55 +02:00
2022-12-07 18:29:04 +01:00
2022-11-04 09:52:54 +01:00
2022-12-07 18:29:39 +01:00
2022-12-07 19:56:17 +01:00
2022-12-02 16:41:50 +01:00
…
…
2022-12-08 08:48:46 +01:00
2022-12-02 16:41:50 +01:00