Skip to content
Snippets Groups Projects
Commit 7163134b authored by paso-odoo's avatar paso-odoo
Browse files

[FIX] account: fix TypeError for currency in journal items


If applied, this commit will solve the issue of unsupported operand type in
journal item(s) when currency is not set.

Steps to produce:
- Accounting > Journal Entries > Create new entry.
- Add a line in Journal Items and remove the currency from that line.
- Save > Error will be generated.

Fix this issue by calling the compute of the currency when the currency is not
available.

sentry - 4069681536

closes odoo/odoo#122462

Signed-off-by: default avatarFlorian Gilbert (flg) <flg@odoo.com>
parent eaec9f7c
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment