Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master crm expected revenue kme #18786

Merged
merged 1 commit into from Oct 18, 2017

Conversation

kme-odoo
Copy link
Contributor

Task : https://www.odoo.com/web#id=35750&view_type=form&model=project.task&action=327&menu_id=4720
Pad : https://pad.odoo.com/p/r.8823669765e97912331f5eff769409c6

Description of the issue/feature this PR addresses:

Current behavior before PR:

Desired behavior after PR is merged:

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@C3POdoo C3POdoo added the RD research & development, internal work label Aug 10, 2017
@kme-odoo kme-odoo force-pushed the master-crm_expected_revenue-kme branch from d5984ae to d42a3da Compare August 11, 2017 09:10
date_deadline = fields.Date('Expected Closing', help="Estimate of the date on which the opportunity will be won.")
color = fields.Integer('Color Index', default=0)
partner_address_name = fields.Char('Partner Contact Name', related='partner_id.name', readonly=True)
partner_address_email = fields.Char('Partner Contact Email', related='partner_id.email', readonly=True)
company_currency = fields.Many2one(string='Currency', related='company_id.currency_id', readonly=True, relation="res.currency")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A default value on a related field seems useless.

Is it intended ?

@tivisse tivisse force-pushed the master-crm_expected_revenue-kme branch from d42a3da to ddd8176 Compare October 18, 2017 13:48
Purpose
=======

Expected revenue field on pop up have no any indication of currency due to that people enter a dollar sign in the field. Eg: $1234

then an error appears when trying to save saying that the field is invalid but the user doesn’t know why. If the currency symbol was displayed it would solve the problem.

Specification
=============

'Expected Revenue' field on wizard should be monetary in order to display the currency symbol.
@tivisse tivisse force-pushed the master-crm_expected_revenue-kme branch from ddd8176 to 733306f Compare October 18, 2017 14:01
@tivisse tivisse merged commit 733306f into odoo:master Oct 18, 2017
@tivisse tivisse deleted the master-crm_expected_revenue-kme branch October 18, 2017 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants