In Odoo Opportunity Report I would like to add field customer from res.partner.
I created addon (which installed, and does other things besides, so I am sure that addon works) in which I have inherited from https://github.com/odoo/odoo/blob/10.0/addons/crm/report/crm_opportunity_report.py .
And added a field
customer = fields.Boolean('Customer', related='partner_id.customer', readonly=True)
But field Customer doesn't appear in report when I click '+' in Reports->Pipeline.
What did I miss?
crm.opportunity.reportexactly? Can you provide the code? My first guess: you forgot to extend the postgres database view, odoo is using for those reporting feature. (in your example in theinit()) - CZoellnerbooleanfieldcustomerin model res_partner (and in table res_partner). :) - Developer Marius Žilėnas