Hi, we have a probability field say 5% in opportunities, we then create a sales order, we would like that 5% probability field to pull into the sale order. This means I can then pull in a forecast for our sales team.
I'm using Odoo studio and the probability field is a float field, I just can't seem to find what dependancies the opportunities is i.e. crm_lead.probability. Please could someone help?
Are you asking for the name of the probability field? https://github.com/odoo/odoo/blob/10.0/addons/crm/models/crm_lead.py#L113 - see here for the Python file that defines the field.
Hi Ray,
Thank you for the response. I’m aware of what the field is called, I’m just trying to pull this field value directly into the quote.
I thought I would use odoo Studio and create a new field and use float as field type followed by add Related Field. I’ve successfully used this to pull in fields from sales orders into projects by using the following sales_line_id.fieldname
I thought I would be able to use something like crm_lead.probability but it doesn’t seem to work, not sure if you know what the first but should be?