Skip to content
Snippets Groups Projects
Commit 0d4097f3 authored by mky-odoo's avatar mky-odoo
Browse files

[FIX] account: prevent traceback while remove currency and company


Expected singleton: res.currency() when currency not provided
also when remove company in invoice.

Steps to Produce:-
- While go to invoice and click on `REGISTER PAYMENT`
- Remove currency from wizard

Traceback will be generated.

Applying this changes will resolve this issue.

sentry - 4149615534

closes odoo/odoo#121625

Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent d9fa0d15
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment