Community mailing list archives

community@mail.odoo.com

Re: Adding new measurement field in pivot table

by
Prihadi Ramadhany
- 08/28/2016 07:32:05
Hi,

I can't find where the 'store' property is.  If I query the data, the value I put on the new field is there and stored on the database (using Odoo opportunities and pgadmin , I can see the value stored on the new field).

I also added a many2one for that new field on crm.opportunity.report and have it pointing to crm.lead.

If I go to Sales-Pipeline - Pivot then I cant see the field, but when I go to Sales - Report - Pipeline , I can't see it (even if I manually change the measure to new field, the value shown is always 0).

Rgds,
Pri

On Sun, Aug 28, 2016 at 6:22 PM, zahid jalal <j.zahid@gmail.com> wrote:
did you set "store" property of your field to "true"


Odoo Integrator,
Data integration
BI and IT consulting.

j.zahid@auriumtechnologies.com
tél  0661360233 - 0636898882
fax 0528215738

On Sun, Aug 28, 2016 at 11:42 AM, Prihadi Ramadhany <prihadi.r@gmail.com> wrote:
Hi Community,

I added 1 field to crm lead using developer mode and I can use it without problem.  If I need to add that new field to sales-report-pipeline (pivot) as an option in measures, where should I add it? 

I did open the crm.opportunity.report.pivot models and .py , found the line that create the pivot. But can't find where the measures option listed.  I want to add the new added field to the drop down list of measure options. 

In addition, when I open the crm.opportunity.report model, it doesn't contained the new added field.  I can see and use the new added field on the form, but its not exist on crm.opportunity.report model.

Any info will be very appreciated. :D

--

Regards,

Prihadi R.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--

Regards,

Prihadi R.