Skip to content
Snippets Groups Projects
Commit 13a45447 authored by Aurélien Warnon's avatar Aurélien Warnon
Browse files

[FIX] website_crm_partner_assign: fix opportunities portal page without currency


When you remove the 'company_id' on a crm.lead, you also remove the computed
'company_currency'.
When trying to view this kind of leads in the website_crm_partner_assign portal
page, it would raise an error while trying to display the planned_revenue in
the missing currency.

Now, we display the number without any currency sign, which is a "best effort"
solution, just the same as on the crm.lead form view.
So it will look like "9000 at 47%" instead of "$9000 at 47%".

Task 2416841

closes odoo/odoo#63552

Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
parent 12bf6a56
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