Files
odoo_source/addons/account/models
Ricardo Gomes Rodrigues (rigr) 698e2bcfa8 [FIX] account_edi_ubl_cii: wrong journal selected when uploading an invoice in a company with multiple journals of the same type
Steps to reproduce:
- Create two sales journals
- Select the second journal
- Upload an invoice
- The invoice is in the first journal instead of the second

Fix:
We can simply use the context to retrieve the current selected journal
if it's given, otherwise we use the previous fallback (infering the
journal with the move type)

task-id 3258956

closes odoo/odoo#118258

X-original-commit: 12f22cd06a7b25fc4740a689aad63e0ebc357e4c
Signed-off-by: William André (wan) <wan@odoo.com>
2023-04-11 19:48:40 +02:00
..
2023-04-06 19:16:48 +02:00